Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001084/0.001084, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.39/1.39, allocations: 222.9 MB / 242.2 MB, free: 15.21 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.2071/0.2071, allocations: 44.18 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 58.25 kB / 408.4 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1421, allocations: 60.83 MB / 469.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.003185/0.1453, allocations: 1.695 MB / 471 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001441/0.1468, allocations: 0.8769 MB / 471.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.505e-05/0.1469, allocations: 3.938 kB / 471.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003038/0.1472, allocations: 43.77 kB / 471.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002318/0.1475, allocations: 51.75 kB / 471.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003089/0.1478, allocations: 118.8 kB / 472 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001902/0.148, allocations: 95.7 kB / 472.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.1481, allocations: 16.2 kB / 472.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.476e-05/0.1482, allocations: 39.8 kB / 472.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.636e-05/0.1483, allocations: 31.8 kB / 472.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.1483, allocations: 4 kB / 472.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.1484, allocations: 39.97 kB / 472.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.627e-05/0.1485, allocations: 19.92 kB / 472.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.367e-05/0.1486, allocations: 35.75 kB / 472.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001845/0.1488, allocations: 115.9 kB / 472.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.1488, allocations: 0 / 472.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1488, allocations: 0 / 472.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.1488, allocations: 0 / 472.4 MB, free: 11.16 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.0005375/0.1493, allocations: 411 kB / 472.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.1494, allocations: 11.97 kB / 472.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.311e-05/0.1494, allocations: 8.844 kB / 472.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000224/0.1497, allocations: 212 kB / 473.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.398e-06/0.1497, allocations: 4.375 kB / 473.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.458e-05/0.1497, allocations: 12.12 kB / 473.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.1499, allocations: 49.67 kB / 473.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.1499, allocations: 0 / 473.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.1499, allocations: 4 kB / 473.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.1499, allocations: 0 / 473.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.2e-05/0.15, allocations: 19.98 kB / 473.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003428/0.1503, allocations: 284.8 kB / 473.4 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001577/0.1505, allocations: 58.67 kB / 473.5 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.133e-05/0.1506, allocations: 20.86 kB / 473.5 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.1506, allocations: 4 kB / 473.5 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002085/0.1508, allocations: 71.27 kB / 473.6 MB, free: 9.852 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.1508, allocations: 4 kB / 473.6 MB, free: 9.848 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005144/0.1514, allocations: 169.2 kB / 473.7 MB, free: 9.676 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.1514, allocations: 51.41 kB / 473.8 MB, free: 9.613 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.1516, allocations: 190.2 kB / 474 MB, free: 9.418 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.1516, allocations: 25.7 kB / 474 MB, free: 9.387 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.118e-05/0.1517, allocations: 104.1 kB / 474.1 MB, free: 9.281 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.712e-05/0.1517, allocations: 23.66 kB / 474.1 MB, free: 9.258 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.361e-05/0.1517, allocations: 29.7 kB / 474.2 MB, free: 9.223 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.1519, allocations: 330.8 kB / 474.5 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.487e-05/0.1519, allocations: 16 kB / 474.5 MB, free: 8.875 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.051e-05/0.152, allocations: 37.64 kB / 474.5 MB, free: 8.832 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001095/0.1521, allocations: 61.64 kB / 474.6 MB, free: 8.766 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1521, allocations: 384 / 474.6 MB, free: 8.766 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002044/0.1523, allocations: 109.6 kB / 474.7 MB, free: 8.652 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.1524, allocations: 7.984 kB / 474.7 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.1524, allocations: 0 / 474.7 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.1524, allocations: 4 kB / 474.7 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.762e-05/0.1525, allocations: 19.94 kB / 474.7 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.1525, allocations: 0 / 474.7 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.592e-05/0.1525, allocations: 7.938 kB / 474.7 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.1526, allocations: 3.984 kB / 474.8 MB, free: 8.609 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.733e-05/0.1527, allocations: 125.8 kB / 474.9 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.345e-05/0.1527, allocations: 11.91 kB / 474.9 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.075e-05/0.1527, allocations: 16.7 kB / 474.9 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.1527, allocations: 0 / 474.9 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.1528, allocations: 7.984 kB / 474.9 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.329e-06/0.1528, allocations: 3.938 kB / 474.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00041/0.1532, allocations: 387.3 kB / 475.3 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1532, allocations: 0 / 475.3 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.149e-05/0.1532, allocations: 8 kB / 475.3 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.1532, allocations: 4.031 kB / 475.3 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.1533, allocations: 11.92 kB / 475.3 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1533, allocations: 3.938 kB / 475.3 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1533, allocations: 0 / 475.3 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000223/0.1535, allocations: 204.2 kB / 475.5 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.209e-05/0.1536, allocations: 88.95 kB / 475.6 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.375e-05/0.1536, allocations: 3.938 kB / 475.6 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.988e-05/0.1537, allocations: 11.98 kB / 475.6 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.138e-05/0.1537, allocations: 8 kB / 475.6 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.1537, allocations: 4 kB / 475.6 MB, free: 7.617 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001165/0.1539, allocations: 143.2 kB / 475.8 MB, free: 7.477 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1539, allocations: 0 / 475.8 MB, free: 7.477 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002556/0.1541, allocations: 20 kB / 475.8 MB, free: 7.457 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.001059/0.1552, allocations: 469.5 kB / 476.2 MB, free: 7.176 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001947/0.1554, allocations: 63.92 kB / 476.3 MB, free: 7.113 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.1554, allocations: 0 / 476.3 MB, free: 7.113 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.355e-05/0.1555, allocations: 27.98 kB / 476.3 MB, free: 7.086 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.1558, allocations: 28.42 kB / 476.4 MB, free: 7.059 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004903/0.1563, allocations: 235.1 kB / 476.6 MB, free: 6.797 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003065/0.1567, allocations: 0.7079 MB / 477.3 MB, free: 6.062 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.131e-05/0.1567, allocations: 12.88 kB / 477.3 MB, free: 6.051 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.512e-05/0.1568, allocations: 15.44 kB / 477.3 MB, free: 6.035 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1568, allocations: 0 / 477.3 MB, free: 6.035 MB / 350.1 MB Notification: Performance of Templates: time 0.004594/0.1614, allocations: 1.704 MB / 479 MB, free: 4.355 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches