Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008718/0.0008717, allocations: 88.19 kB / 15.7 MB, free: 460 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.001353/0.001353, allocations: 171.7 kB / 16.58 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 2.098/2.098, allocations: 205.4 MB / 222.8 MB, free: 5.648 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.4736/0.4736, allocations: 43.57 MB / 314.6 MB, free: 8.773 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.0005465/0.0005465, allocations: 22.97 kB / 384 MB, free: 7.973 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1252, allocations: 58.87 MB / 442.8 MB, free: 13 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.002008/0.1273, allocations: 1.387 MB / 444.2 MB, free: 11.6 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001173/0.1285, allocations: 0.7461 MB / 445 MB, free: 10.85 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.885e-05/0.1286, allocations: 4 kB / 445 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004383/0.129, allocations: 71.77 kB / 445 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002061/0.1293, allocations: 67.8 kB / 445.1 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002315/0.1295, allocations: 71.84 kB / 445.2 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001784/0.1297, allocations: 91.73 kB / 445.3 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.1298, allocations: 16.2 kB / 445.3 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.532e-05/0.1299, allocations: 43.78 kB / 445.3 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.696e-05/0.13, allocations: 51.81 kB / 445.4 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.13, allocations: 0 / 445.4 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.374e-05/0.1301, allocations: 35.94 kB / 445.4 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.812e-05/0.1302, allocations: 23.91 kB / 445.4 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.153e-05/0.1302, allocations: 41.62 kB / 445.5 MB, free: 10.33 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.1304, allocations: 88.05 kB / 445.6 MB, free: 10.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.1304, allocations: 0 / 445.6 MB, free: 10.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1304, allocations: 8 kB / 445.6 MB, free: 10.24 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.207e-06/0.1304, allocations: 0 / 445.6 MB, free: 10.24 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005461/0.131, allocations: 402.8 kB / 446 MB, free: 9.797 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.131, allocations: 12.03 kB / 446 MB, free: 9.785 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.358e-05/0.1311, allocations: 11.81 kB / 446 MB, free: 9.773 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002349/0.1313, allocations: 203.6 kB / 446.2 MB, free: 9.535 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.1314, allocations: 7.984 kB / 446.2 MB, free: 9.527 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.436e-05/0.1314, allocations: 4 kB / 446.2 MB, free: 9.523 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.1315, allocations: 61.61 kB / 446.3 MB, free: 9.457 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.1316, allocations: 0 / 446.3 MB, free: 9.457 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.1316, allocations: 0 / 446.3 MB, free: 9.457 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.1316, allocations: 3.953 kB / 446.3 MB, free: 9.453 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.15e-05/0.1317, allocations: 19.98 kB / 446.3 MB, free: 9.434 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004317/0.1321, allocations: 281 kB / 446.6 MB, free: 9.109 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001641/0.1323, allocations: 62.61 kB / 446.6 MB, free: 9.039 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.259e-05/0.1323, allocations: 16.86 kB / 446.6 MB, free: 9.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.1324, allocations: 4 kB / 446.6 MB, free: 9.016 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002129/0.1326, allocations: 71.34 kB / 446.7 MB, free: 8.934 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 4.678e-06/0.1326, allocations: 3.984 kB / 446.7 MB, free: 8.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005879/0.1332, allocations: 185 kB / 446.9 MB, free: 8.742 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.927e-05/0.1333, allocations: 59.41 kB / 446.9 MB, free: 8.672 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002071/0.1335, allocations: 214.3 kB / 447.2 MB, free: 8.453 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.1335, allocations: 25.7 kB / 447.2 MB, free: 8.422 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.324e-05/0.1336, allocations: 104.1 kB / 447.3 MB, free: 8.316 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.435e-05/0.1336, allocations: 27.59 kB / 447.3 MB, free: 8.289 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.369e-06/0.1336, allocations: 0 / 447.3 MB, free: 8.289 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.1338, allocations: 322.8 kB / 447.6 MB, free: 7.965 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.467e-05/0.1338, allocations: 23.98 kB / 447.6 MB, free: 7.941 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.936e-05/0.1339, allocations: 41.64 kB / 447.7 MB, free: 7.895 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.528e-05/0.134, allocations: 20 kB / 447.7 MB, free: 7.875 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.134, allocations: 0 / 447.7 MB, free: 7.875 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001771/0.1342, allocations: 105.5 kB / 447.8 MB, free: 7.766 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.1342, allocations: 4 kB / 447.8 MB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.1342, allocations: 0 / 447.8 MB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.1342, allocations: 4 kB / 447.8 MB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.706e-05/0.1343, allocations: 19.97 kB / 447.8 MB, free: 7.738 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.1343, allocations: 0 / 447.8 MB, free: 7.738 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.027e-05/0.1344, allocations: 11.89 kB / 447.9 MB, free: 7.727 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.1344, allocations: 0 / 447.9 MB, free: 7.727 MB / 382.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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001082/0.1345, allocations: 133.8 kB / 448 MB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.999e-05/0.1345, allocations: 15.86 kB / 448 MB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.283e-05/0.1346, allocations: 13.41 kB / 448 MB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1346, allocations: 0 / 448 MB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.1346, allocations: 4 kB / 448 MB, free: 7.555 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.1346, allocations: 4 kB / 448 MB, free: 7.551 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004145/0.135, allocations: 399.3 kB / 448.4 MB, free: 7.102 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.135, allocations: 0 / 448.4 MB, free: 7.102 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.06e-05/0.1351, allocations: 11.94 kB / 448.4 MB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1351, allocations: 0 / 448.4 MB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.1351, allocations: 4 kB / 448.4 MB, free: 7.086 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.1351, allocations: 4 kB / 448.4 MB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1351, allocations: 240 / 448.4 MB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002127/0.1353, allocations: 212.2 kB / 448.6 MB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.988e-05/0.1354, allocations: 92.97 kB / 448.7 MB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.237e-05/0.1354, allocations: 0 / 448.7 MB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.477e-05/0.1355, allocations: 7.938 kB / 448.7 MB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.845e-05/0.1356, allocations: 7.984 kB / 448.7 MB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.726e-05/0.1356, allocations: 4.375 kB / 448.7 MB, free: 6.727 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001262/0.1357, allocations: 160.2 kB / 448.9 MB, free: 6.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1357, allocations: 0 / 448.9 MB, free: 6.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002478/0.136, allocations: 32.17 kB / 448.9 MB, free: 6.539 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001087/0.1371, allocations: 464.7 kB / 449.4 MB, free: 6.121 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001734/0.1373, allocations: 59.97 kB / 449.4 MB, free: 6.062 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1373, allocations: 0 / 449.4 MB, free: 6.062 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.232e-05/0.1373, allocations: 23.94 kB / 449.5 MB, free: 6.039 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003222/0.1377, allocations: 35.81 kB / 449.5 MB, free: 6.004 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004548/0.1381, allocations: 258.2 kB / 449.8 MB, free: 5.723 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003093/0.1384, allocations: 0.7083 MB / 450.5 MB, free: 4.988 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.606e-05/0.1385, allocations: 21.17 kB / 450.5 MB, free: 4.961 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.827e-05/0.1386, allocations: 19.38 kB / 450.5 MB, free: 4.941 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1386, allocations: 0 / 450.5 MB, free: 4.941 MB / 382.1 MB Notification: Performance of Templates: time 0.004229/0.1428, allocations: 1.591 MB / 452.1 MB, free: 3.352 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches