Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001239/0.001239, 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.001311/0.001311, 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.425/1.425, allocations: 222.9 MB / 242.3 MB, free: 15.2 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.2348/0.2348, allocations: 44.18 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001115/0.001115, allocations: 65.05 kB / 408.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1412, allocations: 60.82 MB / 469.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.00346/0.1447, allocations: 1.896 MB / 471.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001557/0.1463, allocations: 0.9197 MB / 472.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.1464, allocations: 0 / 472.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003344/0.1468, allocations: 43.72 kB / 472.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002443/0.1471, allocations: 63.62 kB / 472.2 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003073/0.1474, allocations: 131.6 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002225/0.1476, allocations: 131.6 kB / 472.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.1477, allocations: 37.45 kB / 472.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.947e-05/0.1478, allocations: 51.73 kB / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.846e-05/0.1479, allocations: 47.72 kB / 472.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.154e-05/0.148, allocations: 4 kB / 472.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/0.1481, allocations: 51.97 kB / 472.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.464e-05/0.1482, allocations: 19.92 kB / 472.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.236e-05/0.1482, allocations: 55.61 kB / 472.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002281/0.1485, allocations: 147.7 kB / 472.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1485, allocations: 3.938 kB / 472.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1485, allocations: 0 / 472.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.1485, allocations: 0 / 472.9 MB, free: 10.75 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006953/0.1492, allocations: 480.5 kB / 473.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.1493, allocations: 8.031 kB / 473.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.213e-05/0.1493, allocations: 16.75 kB / 473.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002644/0.1496, allocations: 227.9 kB / 473.6 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.1496, allocations: 4.375 kB / 473.6 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.679e-05/0.1497, allocations: 12.12 kB / 473.6 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002461/0.1499, allocations: 108.2 kB / 473.7 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.1499, allocations: 0 / 473.7 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.415e-05/0.15, allocations: 0 / 473.7 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.15, allocations: 4 kB / 473.7 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001499/0.1501, allocations: 47.91 kB / 473.7 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005413/0.1507, allocations: 0.5126 MB / 474.3 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003136/0.151, allocations: 82.66 kB / 474.3 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.549e-05/0.1511, allocations: 44.83 kB / 474.4 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.1511, allocations: 3.984 kB / 474.4 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002389/0.1514, allocations: 91.25 kB / 474.5 MB, free: 8.938 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.292e-06/0.1514, allocations: 0 / 474.5 MB, free: 8.938 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003648/0.1518, allocations: 141.4 kB / 474.6 MB, free: 8.793 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.423e-05/0.1518, allocations: 63.34 kB / 474.7 MB, free: 8.719 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/0.152, allocations: 183.5 kB / 474.8 MB, free: 8.527 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.152, allocations: 29.7 kB / 474.9 MB, free: 8.492 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.293e-05/0.1521, allocations: 112 kB / 475 MB, free: 8.379 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.563e-05/0.1521, allocations: 27.61 kB / 475 MB, free: 8.352 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.503e-05/0.1522, allocations: 29.72 kB / 475 MB, free: 8.316 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.1523, allocations: 326.8 kB / 475.4 MB, free: 7.988 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.635e-05/0.1524, allocations: 32.34 kB / 475.4 MB, free: 7.957 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.1525, allocations: 64.22 kB / 475.5 MB, free: 7.879 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001787/0.1527, allocations: 104.1 kB / 475.6 MB, free: 7.762 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1527, allocations: 0 / 475.6 MB, free: 7.762 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002611/0.1529, allocations: 133.3 kB / 475.7 MB, free: 7.625 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.153, allocations: 8 kB / 475.7 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.153, allocations: 0 / 475.7 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.153, allocations: 0 / 475.7 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.734e-05/0.1531, allocations: 31.92 kB / 475.7 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.1531, allocations: 4.062 kB / 475.7 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.338e-05/0.1532, allocations: 15.94 kB / 475.7 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.1532, allocations: 11.98 kB / 475.8 MB, free: 7.555 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.000111/0.1533, allocations: 124.5 kB / 475.9 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.74e-05/0.1533, allocations: 15.81 kB / 475.9 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.7e-05/0.1534, allocations: 21.39 kB / 475.9 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.1534, allocations: 3.938 kB / 475.9 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.1534, allocations: 3.984 kB / 475.9 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1534, allocations: 0 / 475.9 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/0.1536, allocations: 209.6 kB / 476.1 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1536, allocations: 0 / 476.1 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.478e-05/0.1537, allocations: 15.94 kB / 476.1 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.1537, allocations: 3.984 kB / 476.1 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.1537, allocations: 4 kB / 476.2 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.1537, allocations: 3.938 kB / 476.2 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1537, allocations: 4 kB / 476.2 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003908/0.1541, allocations: 184.9 kB / 476.3 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.028e-05/0.1542, allocations: 92.8 kB / 476.4 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.512e-05/0.1542, allocations: 8.016 kB / 476.4 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.866e-05/0.1543, allocations: 11.94 kB / 476.5 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.005e-05/0.1544, allocations: 7.984 kB / 476.5 MB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.1544, allocations: 0 / 476.5 MB, free: 6.762 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00011/0.1545, allocations: 141.2 kB / 476.6 MB, free: 6.625 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1545, allocations: 0 / 476.6 MB, free: 6.625 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000227/0.1547, allocations: 24 kB / 476.6 MB, free: 6.602 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.0009789/0.1557, allocations: 413.3 kB / 477 MB, free: 6.348 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002549/0.156, allocations: 87.83 kB / 477.1 MB, free: 6.262 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.156, allocations: 0 / 477.1 MB, free: 6.262 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.381e-05/0.1561, allocations: 39.92 kB / 477.1 MB, free: 6.223 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.1564, allocations: 32.22 kB / 477.2 MB, free: 6.191 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004954/0.1569, allocations: 267.9 kB / 477.4 MB, free: 5.902 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002592/0.1572, allocations: 0.7162 MB / 478.2 MB, free: 5.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.31e-05/0.1572, allocations: 13.42 kB / 478.2 MB, free: 5.145 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.199e-05/0.1573, allocations: 15.44 kB / 478.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of SimCode: time 2.134e-06/0.1573, allocations: 0 / 478.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of Templates: time 0.004612/0.1619, allocations: 1.899 MB / 480.1 MB, free: 3.254 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches