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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001604/0.001604, allocations: 113.8 kB / 19.69 MB, free: 2.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001696/0.001696, allocations: 191.3 kB / 22.98 MB, free: 5.078 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.755/1.755, allocations: 207.6 MB / 233.7 MB, free: 10.01 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.2411/0.2411, allocations: 44.24 MB / 330.2 MB, free: 9.562 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.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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12") [Timeout 660] "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.002346/0.002346, allocations: 67.89 kB / 468 MB, free: 3.996 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1333, allocations: 61.02 MB / 0.5166 GB, free: 6.828 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003733/0.137, allocations: 1.949 MB / 0.5185 GB, free: 4.867 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001714/0.1387, allocations: 0.8623 MB / 0.5194 GB, free: 3.996 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.1389, allocations: 3.938 kB / 0.5194 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003388/0.1392, allocations: 47.69 kB / 0.5194 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002635/0.1395, allocations: 59.7 kB / 0.5195 GB, free: 3.887 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003546/0.1398, allocations: 103.7 kB / 0.5196 GB, free: 3.785 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000264/0.1401, allocations: 143.5 kB / 0.5197 GB, free: 3.645 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.1402, allocations: 25.66 kB / 0.5197 GB, free: 3.613 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.1403, allocations: 59.72 kB / 0.5198 GB, free: 3.555 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/0.1405, allocations: 59.64 kB / 0.5199 GB, free: 3.496 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.649e-05/0.1405, allocations: 7.938 kB / 0.5199 GB, free: 3.488 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/0.1406, allocations: 43.98 kB / 0.5199 GB, free: 3.445 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.163e-05/0.1407, allocations: 27.92 kB / 0.5199 GB, free: 3.418 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.424e-05/0.1407, allocations: 55.59 kB / 0.52 GB, free: 3.363 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000283/0.141, allocations: 139.4 kB / 0.5201 GB, free: 3.227 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.141, allocations: 3.938 kB / 0.5201 GB, free: 3.223 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.141, allocations: 0 / 0.5201 GB, free: 3.223 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.768e-06/0.141, allocations: 0 / 0.5201 GB, free: 3.223 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.0006752/0.1417, allocations: 415.1 kB / 0.5205 GB, free: 2.781 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.1418, allocations: 8.031 kB / 0.5205 GB, free: 2.773 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.35e-05/0.1418, allocations: 16.84 kB / 0.5205 GB, free: 2.758 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003332/0.1421, allocations: 163.3 kB / 0.5207 GB, free: 2.574 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.1422, allocations: 8.312 kB / 0.5207 GB, free: 2.566 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.143e-05/0.1422, allocations: 16.08 kB / 0.5207 GB, free: 2.551 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002626/0.1425, allocations: 108.2 kB / 0.5208 GB, free: 2.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.1425, allocations: 0 / 0.5208 GB, free: 2.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.805e-05/0.1425, allocations: 4 kB / 0.5208 GB, free: 2.426 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.1425, allocations: 4 kB / 0.5208 GB, free: 2.422 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001549/0.1426, allocations: 43.91 kB / 0.5209 GB, free: 2.379 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000698/0.1433, allocations: 488.1 kB / 0.5213 GB, free: 1.852 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004952/0.1438, allocations: 86.62 kB / 0.5214 GB, free: 1.758 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.1439, allocations: 36.84 kB / 0.5215 GB, free: 1.719 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.144, allocations: 4 kB / 0.5215 GB, free: 1.715 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002251/0.1442, allocations: 83.31 kB / 0.5215 GB, free: 1.621 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.734e-06/0.1442, allocations: 0 / 0.5215 GB, free: 1.621 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004629/0.1447, allocations: 141.5 kB / 0.5217 GB, free: 1.477 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.268e-05/0.1447, allocations: 59.34 kB / 0.5217 GB, free: 1.406 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002217/0.1449, allocations: 195.5 kB / 0.5219 GB, free: 1.203 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.145, allocations: 30.08 kB / 0.5219 GB, free: 1.168 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.915e-05/0.145, allocations: 112.1 kB / 0.522 GB, free: 1.055 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.342e-05/0.1451, allocations: 27.75 kB / 0.5221 GB, free: 1.027 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.302e-05/0.1451, allocations: 29.7 kB / 0.5221 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.1453, allocations: 330.8 kB / 0.5224 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/0.1454, allocations: 27.98 kB / 0.5224 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.1455, allocations: 68.27 kB / 0.5225 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002125/0.1457, allocations: 100.2 kB / 0.5226 GB, free: 448 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1457, allocations: 0 / 0.5226 GB, free: 448 kB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003143/0.146, allocations: 145.4 kB / 0.5227 GB, free: 296 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.1461, allocations: 4 kB / 0.5227 GB, free: 292 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.1461, allocations: 7.938 kB / 0.5228 GB, free: 284 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.1461, allocations: 0 / 0.5228 GB, free: 284 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.1462, allocations: 27.92 kB / 0.5228 GB, free: 256 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.1462, allocations: 0 / 0.5228 GB, free: 256 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.465e-05/0.1463, allocations: 15.89 kB / 0.5228 GB, free: 240 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.1463, allocations: 8.125 kB / 0.5228 GB, free: 232 kB / 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.0001399/0.1464, allocations: 133.8 kB / 0.5229 GB, free: 88 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.127e-05/0.1465, allocations: 11.91 kB / 0.5229 GB, free: 76 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003508/0.1468, allocations: 127 kB / 0.5231 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.1468, allocations: 3.938 kB / 0.5231 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.1468, allocations: 0 / 0.5231 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1468, allocations: 0 / 0.5231 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002157/0.147, allocations: 180.7 kB / 0.5232 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.147, allocations: 8.188 kB / 0.5233 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.841e-05/0.1471, allocations: 8 kB / 0.5233 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1471, allocations: 3.938 kB / 0.5233 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.1471, allocations: 3.984 kB / 0.5233 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.6e-06/0.1471, allocations: 7.938 kB / 0.5233 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1471, allocations: 0 / 0.5233 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004142/0.1476, allocations: 180.9 kB / 0.5234 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.863e-05/0.1476, allocations: 11.94 kB / 0.5235 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.921e-05/0.1476, allocations: 4 kB / 0.5235 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7e-05/0.1477, allocations: 11.92 kB / 0.5235 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.208e-05/0.1478, allocations: 7.984 kB / 0.5235 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/0.1478, allocations: 11.94 kB / 0.5235 GB, free: 15.45 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001401/0.1479, allocations: 141.2 kB / 0.5236 GB, free: 15.31 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1479, allocations: 0 / 0.5236 GB, free: 15.31 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002475/0.1482, allocations: 27.94 kB / 0.5237 GB, free: 15.28 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.001615/0.1498, allocations: 412.1 kB / 0.524 GB, free: 14.93 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002819/0.1501, allocations: 75.89 kB / 0.5241 GB, free: 14.85 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1501, allocations: 0 / 0.5241 GB, free: 14.85 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001164/0.1502, allocations: 35.92 kB / 0.5242 GB, free: 14.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003476/0.1505, allocations: 43.75 kB / 0.5242 GB, free: 14.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006395/0.1512, allocations: 272.2 kB / 0.5245 GB, free: 14.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003957/0.1516, allocations: 0.7123 MB / 0.5251 GB, free: 13.74 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.631e-05/0.1516, allocations: 13.42 kB / 0.5252 GB, free: 13.73 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.644e-05/0.1517, allocations: 31.42 kB / 0.5252 GB, free: 13.7 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.1517, allocations: 0 / 0.5252 GB, free: 13.7 MB / 414.1 MB Notification: Performance of Templates: time 0.005957/0.1576, allocations: 1.946 MB / 0.5271 GB, free: 11.76 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.makefile [Timeout 660] (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 & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins/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: 5.64026942756027]