Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 104.3 kB / 18.4 MB, free: 4.57 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.00123/0.00123, allocations: 187 kB / 19.34 MB, free: 3.641 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.573/1.573, allocations: 222.9 MB / 243 MB, free: 15.07 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.2532/0.2532, allocations: 44.18 MB / 337.4 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002654/0.002654, allocations: 61.34 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1423, allocations: 60.83 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003698/0.146, allocations: 1.655 MB / 472.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001459/0.1475, allocations: 0.8613 MB / 473.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.847e-05/0.1476, allocations: 0 / 473.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004844/0.1481, allocations: 67.72 kB / 473.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005923/0.1488, allocations: 59.75 kB / 473.4 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007211/0.1496, allocations: 110.7 kB / 473.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003403/0.15, allocations: 91.75 kB / 473.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.922e-05/0.1501, allocations: 23.91 kB / 473.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.1502, allocations: 47.72 kB / 473.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.1e-05/0.1503, allocations: 43.83 kB / 473.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.1503, allocations: 4 kB / 473.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.586e-05/0.1504, allocations: 31.98 kB / 473.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.373e-05/0.1505, allocations: 15.94 kB / 473.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.016e-05/0.1506, allocations: 35.78 kB / 473.8 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002119/0.1508, allocations: 95.66 kB / 473.9 MB, free: 10.51 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1508, allocations: 0 / 473.9 MB, free: 10.51 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1508, allocations: 4 kB / 473.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.1508, allocations: 0 / 473.9 MB, free: 10.5 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006069/0.1514, allocations: 407 kB / 474.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.1515, allocations: 8.031 kB / 474.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.945e-05/0.1515, allocations: 8.844 kB / 474.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003459/0.1519, allocations: 204.1 kB / 474.5 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.1519, allocations: 8.359 kB / 474.5 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.439e-05/0.1519, allocations: 8.125 kB / 474.5 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.1521, allocations: 45.69 kB / 474.5 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.1521, allocations: 0 / 474.5 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.1521, allocations: 0 / 474.5 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.1521, allocations: 7.984 kB / 474.5 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.823e-05/0.1522, allocations: 15.94 kB / 474.6 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001934/0.1524, allocations: 185.5 kB / 474.7 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001498/0.1526, allocations: 50.61 kB / 474.8 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.007e-05/0.1526, allocations: 24.8 kB / 474.8 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.1526, allocations: 3.984 kB / 474.8 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001654/0.1528, allocations: 67.33 kB / 474.9 MB, free: 9.316 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.373e-06/0.1528, allocations: 4 kB / 474.9 MB, free: 9.312 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000257/0.1531, allocations: 89.58 kB / 475 MB, free: 9.219 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.01e-05/0.1531, allocations: 51.41 kB / 475 MB, free: 9.156 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001856/0.1533, allocations: 198.1 kB / 475.2 MB, free: 8.953 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.1534, allocations: 25.7 kB / 475.2 MB, free: 8.922 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.08e-05/0.1535, allocations: 96.14 kB / 475.3 MB, free: 8.824 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.26e-05/0.1535, allocations: 15.8 kB / 475.3 MB, free: 8.809 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-05/0.1535, allocations: 17.72 kB / 475.4 MB, free: 8.785 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.1537, allocations: 326.8 kB / 475.7 MB, free: 8.457 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.891e-05/0.1538, allocations: 8 kB / 475.7 MB, free: 8.449 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.135e-05/0.1538, allocations: 37.64 kB / 475.7 MB, free: 8.406 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.774e-05/0.1539, allocations: 41.7 kB / 475.8 MB, free: 8.359 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1539, allocations: 0 / 475.8 MB, free: 8.359 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001514/0.1541, allocations: 89.72 kB / 475.9 MB, free: 8.266 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.1541, allocations: 4 kB / 475.9 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.1541, allocations: 3.938 kB / 475.9 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.1542, allocations: 4 kB / 475.9 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.74e-05/0.1542, allocations: 16.02 kB / 475.9 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.81e-06/0.1542, allocations: 0 / 475.9 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.63e-05/0.1543, allocations: 4 kB / 475.9 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.086e-06/0.1543, allocations: 4 kB / 475.9 MB, free: 8.23 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 (7): * Single equations (assignments): 7 * 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.0001055/0.1544, allocations: 125.8 kB / 476 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.368e-05/0.1545, allocations: 15.84 kB / 476 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.618e-05/0.1545, allocations: 12.31 kB / 476 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.1545, allocations: 3.984 kB / 476 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.1545, allocations: 0 / 476 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.1545, allocations: 4 kB / 476 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002322/0.1548, allocations: 201.4 kB / 476.2 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.1548, allocations: 0 / 476.2 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.224e-05/0.1548, allocations: 4 kB / 476.2 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.1548, allocations: 0 / 476.2 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.465e-06/0.1548, allocations: 0 / 476.2 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1548, allocations: 0 / 476.2 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1548, allocations: 0 / 476.2 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002278/0.1551, allocations: 105 kB / 476.4 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.42e-05/0.1551, allocations: 92.95 kB / 476.4 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.2e-05/0.1551, allocations: 4 kB / 476.4 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.696e-05/0.1552, allocations: 7.984 kB / 476.5 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.632e-05/0.1552, allocations: 0 / 476.5 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.1552, allocations: 4 kB / 476.5 MB, free: 7.562 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001125/0.1554, allocations: 139.2 kB / 476.6 MB, free: 7.426 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1554, allocations: 0 / 476.6 MB, free: 7.426 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002215/0.1556, allocations: 16 kB / 476.6 MB, free: 7.41 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0009394/0.1565, allocations: 416.5 kB / 477 MB, free: 7.152 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001586/0.1567, allocations: 39.98 kB / 477.1 MB, free: 7.113 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1567, allocations: 0 / 477.1 MB, free: 7.113 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.062e-05/0.1568, allocations: 23.92 kB / 477.1 MB, free: 7.09 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002546/0.157, allocations: 23.92 kB / 477.1 MB, free: 7.066 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003994/0.1575, allocations: 198.2 kB / 477.3 MB, free: 6.848 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004733/0.1579, allocations: 0.7041 MB / 478 MB, free: 6.117 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.401e-05/0.158, allocations: 20.78 kB / 478 MB, free: 6.098 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.599e-05/0.158, allocations: 15.44 kB / 478 MB, free: 6.082 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1581, allocations: 0 / 478 MB, free: 6.082 MB / 350.1 MB Notification: Performance of Templates: time 0.004588/0.1626, allocations: 1.467 MB / 479.5 MB, free: 4.629 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches