Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.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.001465/0.001465, allocations: 109 kB / 20.45 MB, free: 1.52 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.00159/0.00159, allocations: 215.3 kB / 23.76 MB, free: 4.746 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.359/1.359, allocations: 207.6 MB / 234.5 MB, free: 9.996 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.2036/0.2036, allocations: 44.22 MB / 331 MB, free: 9.547 MB / 270.1 MB " [Timeout remaining time 180] 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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22") [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.002394/0.002394, allocations: 75.88 kB / 468.8 MB, free: 3.957 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1251, allocations: 61.04 MB / 0.5174 GB, free: 6.773 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.003763/0.1289, allocations: 1.718 MB / 0.5191 GB, free: 5.047 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001549/0.1304, allocations: 0.8234 MB / 0.5199 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.649e-05/0.1305, allocations: 7.938 kB / 0.5199 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003298/0.1308, allocations: 39.81 kB / 0.52 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002468/0.1311, allocations: 59.7 kB / 0.52 GB, free: 4.109 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003114/0.1314, allocations: 91.75 kB / 0.5201 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001979/0.1316, allocations: 91.7 kB / 0.5202 GB, free: 3.93 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.867e-05/0.1317, allocations: 8.219 kB / 0.5202 GB, free: 3.922 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/0.1318, allocations: 47.77 kB / 0.5202 GB, free: 3.875 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.425e-05/0.1319, allocations: 35.8 kB / 0.5203 GB, free: 3.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.053e-05/0.1319, allocations: 4 kB / 0.5203 GB, free: 3.836 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.132, allocations: 39.97 kB / 0.5203 GB, free: 3.797 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.94e-05/0.1321, allocations: 19.92 kB / 0.5203 GB, free: 3.777 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.957e-05/0.1322, allocations: 39.73 kB / 0.5204 GB, free: 3.738 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002342/0.1324, allocations: 107.6 kB / 0.5205 GB, free: 3.633 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1324, allocations: 0 / 0.5205 GB, free: 3.633 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1324, allocations: 0 / 0.5205 GB, free: 3.633 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.1324, allocations: 0 / 0.5205 GB, free: 3.633 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005496/0.1329, allocations: 341.6 kB / 0.5208 GB, free: 3.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.133, allocations: 8.031 kB / 0.5208 GB, free: 3.262 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.238e-05/0.133, allocations: 12.84 kB / 0.5208 GB, free: 3.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002926/0.1333, allocations: 154.3 kB / 0.521 GB, free: 3.074 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.1334, allocations: 4.375 kB / 0.521 GB, free: 3.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.023e-05/0.1334, allocations: 12.11 kB / 0.521 GB, free: 3.059 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.1335, allocations: 57.67 kB / 0.521 GB, free: 2.996 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.1336, allocations: 0 / 0.521 GB, free: 2.996 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.1336, allocations: 0 / 0.521 GB, free: 2.996 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.1336, allocations: 0 / 0.521 GB, free: 2.996 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.488e-05/0.1337, allocations: 27.91 kB / 0.5211 GB, free: 2.969 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003835/0.134, allocations: 255.9 kB / 0.5213 GB, free: 2.676 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001759/0.1342, allocations: 58.69 kB / 0.5214 GB, free: 2.609 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.103e-05/0.1343, allocations: 20.84 kB / 0.5214 GB, free: 2.586 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.1343, allocations: 3.938 kB / 0.5214 GB, free: 2.582 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001526/0.1344, allocations: 75.28 kB / 0.5215 GB, free: 2.496 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.133e-06/0.1344, allocations: 4 kB / 0.5215 GB, free: 2.492 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005459/0.135, allocations: 169.4 kB / 0.5216 GB, free: 2.32 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.135, allocations: 51.41 kB / 0.5217 GB, free: 2.258 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001886/0.1352, allocations: 190.1 kB / 0.5219 GB, free: 2.062 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.1352, allocations: 29.7 kB / 0.5219 GB, free: 2.027 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.888e-05/0.1353, allocations: 96.14 kB / 0.522 GB, free: 1.93 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.695e-05/0.1353, allocations: 31.77 kB / 0.522 GB, free: 1.898 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.134e-05/0.1354, allocations: 21.72 kB / 0.522 GB, free: 1.871 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.1355, allocations: 330.8 kB / 0.5223 GB, free: 1.539 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.99e-05/0.1356, allocations: 23.98 kB / 0.5224 GB, free: 1.516 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.669e-05/0.1356, allocations: 37.7 kB / 0.5224 GB, free: 1.473 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001167/0.1358, allocations: 57.64 kB / 0.5225 GB, free: 1.41 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1358, allocations: 0 / 0.5225 GB, free: 1.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001958/0.136, allocations: 105.5 kB / 0.5226 GB, free: 1.301 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.136, allocations: 8 kB / 0.5226 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.136, allocations: 0 / 0.5226 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.136, allocations: 0 / 0.5226 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.982e-05/0.1361, allocations: 15.98 kB / 0.5226 GB, free: 1.277 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.1361, allocations: 4 kB / 0.5226 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.727e-05/0.1361, allocations: 3.938 kB / 0.5226 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.1361, allocations: 4 kB / 0.5226 GB, free: 1.266 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001119/0.1363, allocations: 125.8 kB / 0.5227 GB, free: 1.133 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.278e-05/0.1363, allocations: 15.92 kB / 0.5227 GB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002404/0.1365, allocations: 118.3 kB / 0.5228 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.1365, allocations: 0 / 0.5228 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.1365, allocations: 384 / 0.5228 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.1365, allocations: 3.938 kB / 0.5228 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005069/0.137, allocations: 366.6 kB / 0.5232 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.137, allocations: 4 kB / 0.5232 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.759e-05/0.1371, allocations: 8 kB / 0.5232 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.1371, allocations: 4.031 kB / 0.5232 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.1371, allocations: 7.938 kB / 0.5232 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.1371, allocations: 4 kB / 0.5232 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.1371, allocations: 3.984 kB / 0.5232 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003116/0.1374, allocations: 200.3 kB / 0.5234 GB, free: 340 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.048e-05/0.1374, allocations: 12.09 kB / 0.5234 GB, free: 328 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.436e-05/0.1375, allocations: 11.94 kB / 0.5234 GB, free: 316 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.506e-05/0.1375, allocations: 7.938 kB / 0.5234 GB, free: 308 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.498e-05/0.1376, allocations: 3.984 kB / 0.5235 GB, free: 304 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.1376, allocations: 4 kB / 0.5235 GB, free: 300 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001289/0.1377, allocations: 147.2 kB / 0.5236 GB, free: 152 kB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1377, allocations: 0 / 0.5236 GB, free: 152 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002625/0.138, allocations: 23.94 kB / 0.5236 GB, free: 128 kB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * 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 (8): * Single equations (assignments): 6 * 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.001717/0.1397, allocations: 456.7 kB / 0.5241 GB, free: 15.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001928/0.1399, allocations: 55.91 kB / 0.5241 GB, free: 15.67 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1399, allocations: 0 / 0.5241 GB, free: 15.67 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.502e-05/0.14, allocations: 31.92 kB / 0.5241 GB, free: 15.64 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003423/0.1403, allocations: 31.91 kB / 0.5242 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005572/0.1409, allocations: 256.8 kB / 0.5244 GB, free: 15.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003827/0.1412, allocations: 0.7041 MB / 0.5251 GB, free: 14.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.301e-05/0.1413, allocations: 15.44 kB / 0.5251 GB, free: 14.57 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1413, allocations: 0 / 0.5251 GB, free: 14.57 MB / 414.1 MB Notification: Performance of Templates: time 0.004748/0.146, allocations: 1.909 MB / 0.527 GB, free: 12.67 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.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: 7.075918999966234]