Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 107.6 kB / 17.21 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 194 kB / 18.12 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 222.9 MB / 241.8 MB, free: 15.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2159/0.2159, allocations: 44.17 MB / 336.1 MB, free: 2.898 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001374, allocations: 64.62 kB / 407.7 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1355, allocations: 60.82 MB / 468.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.0034/0.1389, allocations: 1.761 MB / 470.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001463/0.1404, allocations: 0.8653 MB / 471.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.287e-05/0.1405, allocations: 0 / 471.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003189/0.1408, allocations: 31.91 kB / 471.2 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002324/0.1411, allocations: 47.83 kB / 471.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003796/0.1415, allocations: 103.7 kB / 471.3 MB, free: 12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001911/0.1417, allocations: 87.7 kB / 471.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.1418, allocations: 12.22 kB / 471.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.81e-05/0.1419, allocations: 39.78 kB / 471.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.443e-05/0.142, allocations: 35.78 kB / 471.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.1421, allocations: 0 / 471.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001205/0.1422, allocations: 43.98 kB / 471.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.948e-05/0.1423, allocations: 23.91 kB / 471.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.569e-05/0.1423, allocations: 27.75 kB / 471.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002108/0.1425, allocations: 111.9 kB / 471.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1425, allocations: 0 / 471.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.61e-07/0.1426, allocations: 0 / 471.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.229e-06/0.1426, allocations: 0 / 471.7 MB, free: 11.62 MB / 350.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.0006553/0.1432, allocations: 411 kB / 472.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.1433, allocations: 12.03 kB / 472.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.964e-05/0.1433, allocations: 8.844 kB / 472.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002997/0.1436, allocations: 212.1 kB / 472.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.1437, allocations: 384 / 472.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.626e-05/0.1437, allocations: 8.125 kB / 472.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.1439, allocations: 53.67 kB / 472.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.1439, allocations: 3.906 kB / 472.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.1439, allocations: 0 / 472.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.1439, allocations: 0 / 472.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.505e-05/0.144, allocations: 23.92 kB / 472.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004377/0.1445, allocations: 292.9 kB / 472.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001913/0.1447, allocations: 58.67 kB / 472.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.547e-05/0.1447, allocations: 16.86 kB / 472.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.686e-05/0.1448, allocations: 3.984 kB / 472.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002397/0.145, allocations: 79.33 kB / 472.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.145, allocations: 3.938 kB / 472.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006291/0.1457, allocations: 165.2 kB / 473 MB, free: 10.13 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.1457, allocations: 55.39 kB / 473.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001612/0.1459, allocations: 186.2 kB / 473.3 MB, free: 9.871 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.1459, allocations: 29.7 kB / 473.3 MB, free: 9.836 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.329e-05/0.146, allocations: 100.1 kB / 473.4 MB, free: 9.734 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.098e-05/0.146, allocations: 27.64 kB / 473.4 MB, free: 9.707 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.669e-05/0.1461, allocations: 25.72 kB / 473.4 MB, free: 9.676 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.1462, allocations: 326.8 kB / 473.8 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.623e-05/0.1462, allocations: 23.92 kB / 473.8 MB, free: 9.324 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.407e-05/0.1463, allocations: 37.7 kB / 473.8 MB, free: 9.281 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001189/0.1464, allocations: 61.72 kB / 473.9 MB, free: 9.215 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.1464, allocations: 4 kB / 473.9 MB, free: 9.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001702/0.1466, allocations: 101.6 kB / 474 MB, free: 9.105 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.1466, allocations: 4 kB / 474 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1467, allocations: 0 / 474 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.1467, allocations: 0 / 474 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.945e-05/0.1468, allocations: 19.94 kB / 474 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.1468, allocations: 3.984 kB / 474 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.519e-05/0.1468, allocations: 7.938 kB / 474 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.1468, allocations: 4 kB / 474 MB, free: 9.066 MB / 350.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 9.762e-05/0.1469, allocations: 124.5 kB / 474.1 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.761e-05/0.147, allocations: 19.8 kB / 474.2 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.15e-05/0.147, allocations: 12.72 kB / 474.2 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.147, allocations: 0 / 474.2 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.147, allocations: 0 / 474.2 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.1471, allocations: 3.938 kB / 474.2 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004266/0.1475, allocations: 395.3 kB / 474.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.1475, allocations: 4.031 kB / 474.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.213e-05/0.1475, allocations: 11.98 kB / 474.6 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.277e-06/0.1475, allocations: 0 / 474.6 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.1476, allocations: 11.88 kB / 474.6 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.1476, allocations: 0 / 474.6 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1476, allocations: 0 / 474.6 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002139/0.1478, allocations: 200.2 kB / 474.8 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.342e-05/0.1478, allocations: 89.39 kB / 474.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.679e-05/0.1479, allocations: 15.86 kB / 474.9 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.799e-05/0.148, allocations: 8 kB / 474.9 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.484e-05/0.148, allocations: 4 kB / 474.9 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.53e-05/0.148, allocations: 7.984 kB / 474.9 MB, free: 8.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001006/0.1481, allocations: 139.2 kB / 475 MB, free: 7.934 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1481, allocations: 0 / 475 MB, free: 7.934 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002461/0.1484, allocations: 27.98 kB / 475.1 MB, free: 7.906 MB / 350.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.001065/0.1495, allocations: 468.8 kB / 475.5 MB, free: 7.625 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001871/0.1497, allocations: 51.97 kB / 475.6 MB, free: 7.574 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1497, allocations: 0 / 475.6 MB, free: 7.574 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.586e-05/0.1497, allocations: 39.98 kB / 475.6 MB, free: 7.535 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/0.1501, allocations: 37.8 kB / 475.7 MB, free: 7.504 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004267/0.1505, allocations: 249 kB / 475.9 MB, free: 7.227 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/0.1508, allocations: 0.7004 MB / 476.6 MB, free: 6.5 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.724e-05/0.1509, allocations: 12.88 kB / 476.6 MB, free: 6.488 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.493e-05/0.1509, allocations: 15.44 kB / 476.6 MB, free: 6.473 MB / 350.1 MB Notification: Performance of SimCode: time 1.573e-06/0.1509, allocations: 0 / 476.6 MB, free: 6.473 MB / 350.1 MB Notification: Performance of Templates: time 0.004341/0.1552, allocations: 1.63 MB / 478.3 MB, free: 4.859 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches