Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 109 kB / 20.48 MB, free: 1.492 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 211.9 kB / 23.79 MB, free: 4.707 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.776/1.776, allocations: 207.6 MB / 234.5 MB, free: 10.02 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2525/0.2525, allocations: 44.24 MB / 331.1 MB, free: 9.621 MB / 270.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002623/0.002623, allocations: 71.84 kB / 468.3 MB, free: 4.484 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1394, allocations: 61.05 MB / 0.517 GB, free: 7.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.004093/0.1435, allocations: 1.938 MB / 0.5189 GB, free: 5.348 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001742/0.1452, allocations: 0.8662 MB / 0.5197 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000141/0.1454, allocations: 7.938 kB / 0.5197 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003393/0.1457, allocations: 43.7 kB / 0.5198 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002463/0.146, allocations: 59.69 kB / 0.5198 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003476/0.1463, allocations: 103.7 kB / 0.5199 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002312/0.1465, allocations: 139.6 kB / 0.52 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.1467, allocations: 25.59 kB / 0.5201 GB, free: 4.094 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.1468, allocations: 63.72 kB / 0.5201 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.1469, allocations: 51.64 kB / 0.5202 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.626e-05/0.1469, allocations: 12 kB / 0.5202 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.1471, allocations: 47.98 kB / 0.5202 GB, free: 3.922 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.364e-05/0.1471, allocations: 19.92 kB / 0.5203 GB, free: 3.902 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.553e-05/0.1472, allocations: 59.59 kB / 0.5203 GB, free: 3.844 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002962/0.1475, allocations: 143.3 kB / 0.5204 GB, free: 3.703 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1475, allocations: 0 / 0.5204 GB, free: 3.703 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1475, allocations: 0 / 0.5204 GB, free: 3.703 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.1475, allocations: 0 / 0.5204 GB, free: 3.703 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007358/0.1482, allocations: 415.1 kB / 0.5208 GB, free: 3.262 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.1483, allocations: 8.031 kB / 0.5209 GB, free: 3.254 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.672e-05/0.1483, allocations: 192 / 0.5209 GB, free: 3.254 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.777e-05/0.1484, allocations: 42.73 kB / 0.5209 GB, free: 3.203 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.74e-05/0.1484, allocations: 16.84 kB / 0.5209 GB, free: 3.188 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004154/0.1488, allocations: 167.2 kB / 0.5211 GB, free: 3 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/0.1489, allocations: 8.125 kB / 0.5211 GB, free: 2.992 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.285e-05/0.1489, allocations: 11.95 kB / 0.5211 GB, free: 2.98 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002857/0.1492, allocations: 104.2 kB / 0.5212 GB, free: 2.863 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.1492, allocations: 4 kB / 0.5212 GB, free: 2.859 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.731e-05/0.1492, allocations: 4 kB / 0.5212 GB, free: 2.855 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.1492, allocations: 0 / 0.5212 GB, free: 2.855 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001642/0.1494, allocations: 47.91 kB / 0.5212 GB, free: 2.809 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007069/0.1501, allocations: 492 kB / 0.5217 GB, free: 2.277 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003712/0.1505, allocations: 82.66 kB / 0.5218 GB, free: 2.188 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.1506, allocations: 32.84 kB / 0.5218 GB, free: 2.152 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.805e-05/0.1506, allocations: 8 kB / 0.5218 GB, free: 2.145 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002175/0.1508, allocations: 83.31 kB / 0.5219 GB, free: 2.051 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.442e-06/0.1508, allocations: 0 / 0.5219 GB, free: 2.051 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004472/0.1513, allocations: 149.7 kB / 0.5221 GB, free: 1.898 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/0.1513, allocations: 51.5 kB / 0.5221 GB, free: 1.836 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002041/0.1515, allocations: 195.6 kB / 0.5223 GB, free: 1.633 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.347e-05/0.1515, allocations: 25.7 kB / 0.5223 GB, free: 1.602 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.711e-05/0.1516, allocations: 112.1 kB / 0.5224 GB, free: 1.488 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.532e-05/0.1517, allocations: 31.73 kB / 0.5224 GB, free: 1.457 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.351e-05/0.1517, allocations: 25.72 kB / 0.5225 GB, free: 1.426 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.1519, allocations: 326.8 kB / 0.5228 GB, free: 1.098 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.044e-05/0.152, allocations: 27.97 kB / 0.5228 GB, free: 1.07 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.1521, allocations: 72.22 kB / 0.5229 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001977/0.1523, allocations: 92.2 kB / 0.523 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1523, allocations: 4 kB / 0.523 GB, free: 0.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002872/0.1526, allocations: 145.4 kB / 0.5231 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.1526, allocations: 4 kB / 0.5231 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.1526, allocations: 0 / 0.5231 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.1526, allocations: 7.938 kB / 0.5231 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.966e-05/0.1527, allocations: 19.98 kB / 0.5231 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/0.1527, allocations: 11.94 kB / 0.5232 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.627e-05/0.1528, allocations: 20.02 kB / 0.5232 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.1528, allocations: 4 kB / 0.5232 GB, free: 0.6602 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001287/0.153, allocations: 127.2 kB / 0.5233 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.84e-05/0.153, allocations: 15.91 kB / 0.5233 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003131/0.1533, allocations: 131 kB / 0.5234 GB, free: 384 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.1533, allocations: 4.078 kB / 0.5234 GB, free: 380 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1533, allocations: 3.938 kB / 0.5234 GB, free: 376 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.1533, allocations: 0 / 0.5234 GB, free: 376 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001956/0.1535, allocations: 184.7 kB / 0.5236 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.1535, allocations: 0 / 0.5236 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.742e-05/0.1536, allocations: 15.98 kB / 0.5236 GB, free: 132 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1536, allocations: 0 / 0.5236 GB, free: 132 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.1536, allocations: 3.938 kB / 0.5236 GB, free: 128 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/0.1536, allocations: 7.922 kB / 0.5236 GB, free: 120 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1536, allocations: 0 / 0.5236 GB, free: 120 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004072/0.154, allocations: 180.9 kB / 0.5238 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.367e-05/0.154, allocations: 19.92 kB / 0.5238 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.183e-05/0.1541, allocations: 11.94 kB / 0.5238 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.986e-05/0.1541, allocations: 4 kB / 0.5239 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.365e-05/0.1542, allocations: 3.984 kB / 0.5239 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/0.1542, allocations: 8 kB / 0.5239 GB, free: 15.88 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001436/0.1543, allocations: 145.1 kB / 0.524 GB, free: 15.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1543, allocations: 0 / 0.524 GB, free: 15.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002458/0.1546, allocations: 27.94 kB / 0.524 GB, free: 15.71 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002301/0.1569, allocations: 1.017 MB / 0.525 GB, free: 14.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000329/0.1572, allocations: 83.89 kB / 0.5251 GB, free: 14.63 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.1572, allocations: 0 / 0.5251 GB, free: 14.63 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.1573, allocations: 31.98 kB / 0.5251 GB, free: 14.6 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/0.1577, allocations: 36.28 kB / 0.5252 GB, free: 14.56 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002732/0.1604, allocations: 1.74 MB / 0.5269 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004641/0.1609, allocations: 0.7162 MB / 0.5276 GB, free: 11.97 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001044/0.161, allocations: 13.42 kB / 0.5276 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.1611, allocations: 47.41 kB / 0.5276 GB, free: 11.91 MB / 414.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1611, allocations: 0 / 0.5276 GB, free: 11.91 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02735/0.1884, allocations: 3.996 MB / 0.5315 GB, free: 7.824 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.34, allocations: 23.88 kB / 0.5316 GB, free: 7.801 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test12_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test12.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.224826617981307]