Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001422/0.00143, 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.001483/0.001483, 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.645/1.645, allocations: 222.9 MB / 243 MB, free: 15.15 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.4212/0.4212, allocations: 44.17 MB / 337.4 MB, free: 2.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 66.69 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1408, allocations: 60.82 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003633/0.1445, allocations: 1.703 MB / 472.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002322/0.1468, allocations: 1.479 MB / 473.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.242e-05/0.1469, allocations: 3.938 kB / 473.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003116/0.1472, allocations: 43.77 kB / 473.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002439/0.1475, allocations: 59.69 kB / 474 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000309/0.1478, allocations: 107.6 kB / 474.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001872/0.148, allocations: 107.8 kB / 474.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.1482, allocations: 8.219 kB / 474.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.121e-05/0.1483, allocations: 43.78 kB / 474.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001725/0.1484, allocations: 47.08 kB / 474.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.1485, allocations: 7.938 kB / 474.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000133/0.1486, allocations: 63.97 kB / 474.4 MB, free: 9.961 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.896e-05/0.1487, allocations: 15.98 kB / 474.4 MB, free: 9.945 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.616e-05/0.1487, allocations: 39.67 kB / 474.4 MB, free: 9.906 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002566/0.149, allocations: 127.6 kB / 474.6 MB, free: 9.781 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.149, allocations: 4 kB / 474.6 MB, free: 9.777 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.149, allocations: 0 / 474.6 MB, free: 9.777 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.149, allocations: 0 / 474.6 MB, free: 9.777 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007124/0.1498, allocations: 415 kB / 475 MB, free: 9.324 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.1498, allocations: 8.031 kB / 475 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.064e-05/0.1499, allocations: 8.844 kB / 475 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004811/0.1504, allocations: 212.7 kB / 475.2 MB, free: 9.062 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.1504, allocations: 7.938 kB / 475.2 MB, free: 9.055 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.624e-05/0.1504, allocations: 11.94 kB / 475.2 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.1506, allocations: 67.39 kB / 475.3 MB, free: 8.965 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.1506, allocations: 7.938 kB / 475.3 MB, free: 8.957 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.1507, allocations: 3.984 kB / 475.3 MB, free: 8.953 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.1507, allocations: 0 / 475.3 MB, free: 8.953 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.516e-05/0.1508, allocations: 27.98 kB / 475.3 MB, free: 8.926 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004498/0.1512, allocations: 300.7 kB / 475.6 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002469/0.1515, allocations: 70.61 kB / 475.7 MB, free: 8.504 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.45e-05/0.1516, allocations: 24.86 kB / 475.7 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.1516, allocations: 0 / 475.7 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001576/0.1518, allocations: 83.38 kB / 475.8 MB, free: 8.383 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.1518, allocations: 4 kB / 475.8 MB, free: 8.379 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006048/0.1524, allocations: 193.5 kB / 476 MB, free: 8.184 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.325e-05/0.1525, allocations: 81.05 kB / 476.1 MB, free: 8.086 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.1526, allocations: 159.7 kB / 476.2 MB, free: 7.918 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.1526, allocations: 25.7 kB / 476.2 MB, free: 7.887 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.824e-05/0.1527, allocations: 100.1 kB / 476.3 MB, free: 7.785 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.508e-05/0.1528, allocations: 27.66 kB / 476.4 MB, free: 7.758 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.331e-05/0.1528, allocations: 25.7 kB / 476.4 MB, free: 7.727 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.1529, allocations: 322.8 kB / 476.7 MB, free: 7.402 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.435e-05/0.153, allocations: 27.98 kB / 476.7 MB, free: 7.375 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.319e-05/0.1531, allocations: 46.56 kB / 476.8 MB, free: 7.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.1532, allocations: 69.64 kB / 476.8 MB, free: 7.246 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.1532, allocations: 0 / 476.8 MB, free: 7.246 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001939/0.1534, allocations: 113.6 kB / 477 MB, free: 7.129 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.1535, allocations: 4 kB / 477 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1535, allocations: 80 / 477 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.1535, allocations: 3.938 kB / 477 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.359e-05/0.1536, allocations: 19.98 kB / 477 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.1536, allocations: 7.984 kB / 477 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.798e-05/0.1537, allocations: 8 kB / 477 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.1537, allocations: 7.938 kB / 477 MB, free: 7.078 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 (11): * Single equations (assignments): 11 * 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.0001093/0.1538, allocations: 133.2 kB / 477.1 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.452e-05/0.1538, allocations: 11.81 kB / 477.1 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.506e-05/0.1539, allocations: 28.58 kB / 477.2 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1539, allocations: 0 / 477.2 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.1539, allocations: 0 / 477.2 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1539, allocations: 0 / 477.2 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000493/0.1544, allocations: 411.2 kB / 477.6 MB, free: 6.438 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.1544, allocations: 0 / 477.6 MB, free: 6.438 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.887e-05/0.1545, allocations: 11.98 kB / 477.6 MB, free: 6.426 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.1545, allocations: 8.031 kB / 477.6 MB, free: 6.418 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.1545, allocations: 0 / 477.6 MB, free: 6.418 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1545, allocations: 0 / 477.6 MB, free: 6.418 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.1545, allocations: 4 kB / 477.6 MB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002812/0.1548, allocations: 212.2 kB / 477.8 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.677e-05/0.1548, allocations: 85.02 kB / 477.9 MB, free: 6.086 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.701e-05/0.1549, allocations: 7.984 kB / 477.9 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.902e-05/0.155, allocations: 4 kB / 477.9 MB, free: 6.074 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.119e-05/0.155, allocations: 11.98 kB / 477.9 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.155, allocations: 4 kB / 477.9 MB, free: 6.059 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.592e-05/0.1551, allocations: 121.7 kB / 478 MB, free: 5.941 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1551, allocations: 0 / 478 MB, free: 5.941 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002738/0.1554, allocations: 28 kB / 478.1 MB, free: 5.914 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 (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.001464/0.1569, allocations: 0.5137 MB / 478.6 MB, free: 5.594 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002543/0.1571, allocations: 75.84 kB / 478.7 MB, free: 5.52 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.1572, allocations: 0 / 478.7 MB, free: 5.52 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.32e-05/0.1573, allocations: 31.98 kB / 478.7 MB, free: 5.488 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003953/0.1577, allocations: 28.12 kB / 478.7 MB, free: 5.461 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007057/0.1584, allocations: 210.7 kB / 478.9 MB, free: 5.223 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000638/0.159, allocations: 0.7079 MB / 479.6 MB, free: 4.488 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.865e-05/0.1591, allocations: 16.64 kB / 479.6 MB, free: 4.473 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.707e-05/0.1592, allocations: 27.42 kB / 479.7 MB, free: 4.445 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1592, allocations: 0 / 479.7 MB, free: 4.445 MB / 350.1 MB Notification: Performance of Templates: time 0.005872/0.1651, allocations: 2.042 MB / 481.7 MB, free: 2.426 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches