Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,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.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,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.Test51") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 108.7 kB / 17.21 MB, free: 6.27 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.001425/0.001425, allocations: 194 kB / 18.12 MB, free: 5.363 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.393/1.393, allocations: 222.9 MB / 241.8 MB, free: 15.55 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.2458/0.2458, allocations: 44.18 MB / 336.1 MB, free: 3.02 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 64.97 kB / 407.7 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1401, allocations: 60.83 MB / 468.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003328/0.1434, allocations: 1.752 MB / 470.3 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001453/0.1449, allocations: 0.8692 MB / 471.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.893e-05/0.145, allocations: 3.938 kB / 471.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003247/0.1453, allocations: 43.88 kB / 471.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001681/0.1455, allocations: 47.83 kB / 471.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002757/0.1458, allocations: 95.77 kB / 471.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001648/0.146, allocations: 99.67 kB / 471.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.1461, allocations: 16.22 kB / 471.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.162e-05/0.1462, allocations: 35.8 kB / 471.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.573e-05/0.1463, allocations: 35.83 kB / 471.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.1463, allocations: 4 kB / 471.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.1464, allocations: 39.98 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.905e-05/0.1465, allocations: 23.86 kB / 471.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.398e-05/0.1465, allocations: 35.69 kB / 471.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000199/0.1467, allocations: 119.9 kB / 471.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.1468, allocations: 0 / 471.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1468, allocations: 0 / 471.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.551e-06/0.1468, allocations: 4 kB / 471.7 MB, free: 11.61 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.0005863/0.1474, allocations: 426.9 kB / 472.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.1474, allocations: 8.031 kB / 472.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.888e-05/0.1475, allocations: 16.75 kB / 472.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002487/0.1477, allocations: 212.6 kB / 472.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.1478, allocations: 4.312 kB / 472.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.237e-05/0.1478, allocations: 8.125 kB / 472.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/0.148, allocations: 53.67 kB / 472.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.148, allocations: 7.938 kB / 472.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.148, allocations: 0 / 472.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.148, allocations: 0 / 472.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.853e-05/0.1481, allocations: 19.98 kB / 472.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003733/0.1485, allocations: 300.7 kB / 472.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001878/0.1487, allocations: 62.61 kB / 472.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.377e-05/0.1487, allocations: 16.86 kB / 472.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.198e-05/0.1488, allocations: 0 / 472.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002094/0.149, allocations: 75.38 kB / 472.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.149, allocations: 0 / 472.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005694/0.1496, allocations: 173.2 kB / 473.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.1496, allocations: 55.41 kB / 473.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002121/0.1498, allocations: 226.7 kB / 473.4 MB, free: 9.781 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.1499, allocations: 25.7 kB / 473.4 MB, free: 9.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.848e-05/0.1499, allocations: 108 kB / 473.5 MB, free: 9.641 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.512e-05/0.15, allocations: 27.64 kB / 473.5 MB, free: 9.613 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.065e-05/0.15, allocations: 25.72 kB / 473.6 MB, free: 9.582 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.1501, allocations: 326.8 kB / 473.9 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.904e-05/0.1502, allocations: 27.92 kB / 473.9 MB, free: 9.227 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.59e-05/0.1503, allocations: 37.7 kB / 473.9 MB, free: 9.184 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001086/0.1504, allocations: 57.7 kB / 474 MB, free: 9.121 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1504, allocations: 0 / 474 MB, free: 9.121 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001775/0.1506, allocations: 101.5 kB / 474.1 MB, free: 9.016 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.1506, allocations: 11.94 kB / 474.1 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.1506, allocations: 0 / 474.1 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.1506, allocations: 0 / 474.1 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.75e-05/0.1507, allocations: 20.02 kB / 474.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.1508, allocations: 4 kB / 474.1 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.686e-05/0.1508, allocations: 3.938 kB / 474.1 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.1508, allocations: 4 kB / 474.1 MB, free: 8.973 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 0.0001016/0.1509, allocations: 136.9 kB / 474.3 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.262e-05/0.151, allocations: 11.81 kB / 474.3 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.435e-05/0.151, allocations: 21.39 kB / 474.3 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.151, allocations: 0 / 474.3 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.151, allocations: 4 kB / 474.3 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.151, allocations: 3.938 kB / 474.3 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004279/0.1515, allocations: 399.5 kB / 474.7 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.1515, allocations: 3.984 kB / 474.7 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.457e-05/0.1515, allocations: 15.92 kB / 474.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1515, allocations: 0 / 474.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.1516, allocations: 3.938 kB / 474.7 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1516, allocations: 4.375 kB / 474.7 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1516, allocations: 4.031 kB / 474.7 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002332/0.1518, allocations: 204.1 kB / 474.9 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.057e-05/0.1519, allocations: 85.02 kB / 475 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.595e-05/0.1519, allocations: 7.938 kB / 475 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.173e-05/0.152, allocations: 7.984 kB / 475 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.667e-05/0.152, allocations: 8 kB / 475 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.1521, allocations: 8 kB / 475 MB, free: 7.961 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001403/0.1522, allocations: 172.3 kB / 475.2 MB, free: 7.793 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1522, allocations: 0 / 475.2 MB, free: 7.793 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002534/0.1525, allocations: 20 kB / 475.2 MB, free: 7.773 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.001048/0.1535, allocations: 473.8 kB / 475.7 MB, free: 7.484 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000178/0.1537, allocations: 59.92 kB / 475.8 MB, free: 7.426 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1537, allocations: 0 / 475.8 MB, free: 7.426 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.974e-05/0.1538, allocations: 27.92 kB / 475.8 MB, free: 7.398 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/0.1541, allocations: 27.64 kB / 475.8 MB, free: 7.375 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004764/0.1546, allocations: 292.9 kB / 476.1 MB, free: 7.059 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002945/0.1549, allocations: 0.716 MB / 476.8 MB, free: 6.316 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.967e-05/0.155, allocations: 12.88 kB / 476.8 MB, free: 6.305 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.752e-05/0.155, allocations: 15.44 kB / 476.8 MB, free: 6.289 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.155, allocations: 3.938 kB / 476.8 MB, free: 6.285 MB / 350.1 MB Notification: Performance of Templates: time 0.004533/0.1596, allocations: 1.65 MB / 478.5 MB, free: 4.648 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches