Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test27,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test27,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test27",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 204.9 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.343/1.343, allocations: 205.1 MB / 222.6 MB, free: 4.969 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3156/0.3156, allocations: 43.48 MB / 313.5 MB, free: 8.617 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 67.91 kB / 382.1 MB, free: 8.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1064, allocations: 57.78 MB / 439.9 MB, free: 15.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.002737/0.1091, allocations: 1.614 MB / 441.5 MB, free: 13.42 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005443/0.1097, allocations: 319.5 kB / 441.8 MB, free: 13.11 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.393e-05/0.1097, allocations: 0 / 441.8 MB, free: 13.11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002657/0.11, allocations: 115.8 kB / 442 MB, free: 12.99 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001525/0.1102, allocations: 87.81 kB / 442 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001931/0.1104, allocations: 67.88 kB / 442.1 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001291/0.1105, allocations: 75.86 kB / 442.2 MB, free: 12.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.862e-05/0.1106, allocations: 16.25 kB / 442.2 MB, free: 12.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.145e-05/0.1107, allocations: 39.84 kB / 442.2 MB, free: 12.71 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.1108, allocations: 79.78 kB / 442.3 MB, free: 12.63 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.1108, allocations: 0 / 442.3 MB, free: 12.63 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.835e-05/0.1109, allocations: 28 kB / 442.3 MB, free: 12.61 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.83e-05/0.111, allocations: 35.83 kB / 442.4 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.018e-05/0.111, allocations: 27.75 kB / 442.4 MB, free: 12.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001499/0.1112, allocations: 103.6 kB / 442.5 MB, free: 12.44 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1112, allocations: 0 / 442.5 MB, free: 12.44 MB / 382.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.1112, allocations: 0 / 442.5 MB, free: 12.44 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.1112, allocations: 0 / 442.5 MB, free: 12.44 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005574/0.1118, allocations: 426.8 kB / 442.9 MB, free: 11.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.1118, allocations: 8.031 kB / 442.9 MB, free: 11.97 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.562e-05/0.1118, allocations: 34.75 kB / 443 MB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.412e-05/0.1119, allocations: 16.75 kB / 443 MB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001693/0.1121, allocations: 211.7 kB / 443.2 MB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.335e-06/0.1121, allocations: 384 / 443.2 MB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/0.1121, allocations: 384 / 443.2 MB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.1122, allocations: 49.62 kB / 443.2 MB, free: 11.61 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.1122, allocations: 7.938 kB / 443.2 MB, free: 11.6 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.1123, allocations: 4 kB / 443.2 MB, free: 11.6 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.1123, allocations: 3.984 kB / 443.2 MB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.614e-05/0.1124, allocations: 23.97 kB / 443.3 MB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003222/0.1127, allocations: 292.8 kB / 443.6 MB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.1129, allocations: 42.56 kB / 443.6 MB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.953e-05/0.113, allocations: 16.94 kB / 443.6 MB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.113, allocations: 0 / 443.6 MB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.113, allocations: 34.56 kB / 443.6 MB, free: 11.12 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.113, allocations: 0 / 443.6 MB, free: 11.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005282/0.1135, allocations: 157 kB / 443.8 MB, free: 10.96 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/0.1136, allocations: 51.41 kB / 443.9 MB, free: 10.9 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002331/0.1138, allocations: 263.3 kB / 444.1 MB, free: 10.63 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.1139, allocations: 25.7 kB / 444.1 MB, free: 10.6 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.544e-05/0.1139, allocations: 112.1 kB / 444.2 MB, free: 10.49 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.898e-05/0.114, allocations: 19.66 kB / 444.3 MB, free: 10.47 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-05/0.114, allocations: 17.7 kB / 444.3 MB, free: 10.45 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.1141, allocations: 334.7 kB / 444.6 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.064e-05/0.1142, allocations: 28.05 kB / 444.6 MB, free: 10.08 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.533e-05/0.1143, allocations: 15.98 kB / 444.6 MB, free: 10.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001175/0.1144, allocations: 44.83 kB / 444.7 MB, free: 10.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1144, allocations: 0 / 444.7 MB, free: 10.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001718/0.1146, allocations: 81.58 kB / 444.8 MB, free: 9.934 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.1146, allocations: 4 kB / 444.8 MB, free: 9.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.1146, allocations: 4 kB / 444.8 MB, free: 9.926 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.1146, allocations: 0 / 444.8 MB, free: 9.926 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.103e-05/0.1147, allocations: 19.92 kB / 444.8 MB, free: 9.906 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.1147, allocations: 3.984 kB / 444.8 MB, free: 9.902 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.716e-05/0.1148, allocations: 4 kB / 444.8 MB, free: 9.898 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-06/0.1148, allocations: 3.938 kB / 444.8 MB, free: 9.895 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001084/0.1149, allocations: 137.8 kB / 444.9 MB, free: 9.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.177e-05/0.1149, allocations: 11.81 kB / 445 MB, free: 9.738 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000224/0.1152, allocations: 102.6 kB / 445.1 MB, free: 9.625 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.1152, allocations: 0 / 445.1 MB, free: 9.625 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.1152, allocations: 3.938 kB / 445.1 MB, free: 9.621 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.1152, allocations: 3.938 kB / 445.1 MB, free: 9.617 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003899/0.1156, allocations: 358.8 kB / 445.4 MB, free: 9.211 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.1156, allocations: 8 kB / 445.4 MB, free: 9.203 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.072e-05/0.1157, allocations: 16 kB / 445.4 MB, free: 9.188 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.1157, allocations: 3.984 kB / 445.4 MB, free: 9.184 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.1157, allocations: 0 / 445.4 MB, free: 9.184 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.1157, allocations: 3.938 kB / 445.4 MB, free: 9.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1157, allocations: 0 / 445.4 MB, free: 9.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002091/0.1159, allocations: 183.3 kB / 445.6 MB, free: 8.984 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.155e-05/0.116, allocations: 85.02 kB / 445.7 MB, free: 8.883 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.116, allocations: 4 kB / 445.7 MB, free: 8.879 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.687e-05/0.1161, allocations: 11.92 kB / 445.7 MB, free: 8.867 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.243e-05/0.1161, allocations: 0 / 445.7 MB, free: 8.867 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.1161, allocations: 4 kB / 445.7 MB, free: 8.863 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000158/0.1163, allocations: 207.4 kB / 445.9 MB, free: 8.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1163, allocations: 0 / 445.9 MB, free: 8.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002332/0.1165, allocations: 16 kB / 445.9 MB, free: 8.645 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00135/0.1179, allocations: 1.009 MB / 447 MB, free: 7.648 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001801/0.1181, allocations: 51.89 kB / 447 MB, free: 7.598 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1181, allocations: 0 / 447 MB, free: 7.598 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.505e-05/0.1182, allocations: 27.98 kB / 447 MB, free: 7.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004081/0.1186, allocations: 23.78 kB / 447.1 MB, free: 7.547 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001972/0.1205, allocations: 1.695 MB / 448.8 MB, free: 5.777 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003555/0.1209, allocations: 0.7199 MB / 449.5 MB, free: 5.031 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.913e-05/0.121, allocations: 4 kB / 449.5 MB, free: 5.027 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.505e-05/0.1211, allocations: 35.42 kB / 449.5 MB, free: 4.996 MB / 382.1 MB Notification: Performance of SimCode: time 7.51e-07/0.1211, allocations: 4 kB / 449.5 MB, free: 4.992 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01292/0.134, allocations: 2.773 MB / 452.3 MB, free: 2.195 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002163/0.1342, allocations: 245.7 kB / 452.5 MB, free: 1.93 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.678/1.812, allocations: 0 / 452.5 MB, free: 1.93 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test27_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test27.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches