Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 104.1 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.001/0.001, allocations: 190 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.546/1.546, allocations: 222.9 MB / 241.8 MB, free: 15.48 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.2195/0.2195, allocations: 44.17 MB / 336.1 MB, free: 3.004 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 65.16 kB / 407.7 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1434, allocations: 60.82 MB / 468.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.005025/0.1485, allocations: 1.78 MB / 470.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001823/0.1503, allocations: 0.8615 MB / 471.2 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.62e-05/0.1505, allocations: 3.938 kB / 471.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000389/0.1509, allocations: 51.81 kB / 471.2 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002621/0.1512, allocations: 47.83 kB / 471.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003241/0.1515, allocations: 99.52 kB / 471.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002099/0.1517, allocations: 115.7 kB / 471.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.1519, allocations: 15.98 kB / 471.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001197/0.152, allocations: 47.77 kB / 471.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001242/0.1521, allocations: 51.78 kB / 471.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.27e-05/0.1522, allocations: 0 / 471.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001345/0.1523, allocations: 59.91 kB / 471.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.228e-05/0.1524, allocations: 31.91 kB / 471.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.397e-05/0.1525, allocations: 35.73 kB / 471.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002259/0.1527, allocations: 143.8 kB / 471.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1527, allocations: 0 / 471.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1527, allocations: 0 / 471.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.1527, allocations: 0 / 471.8 MB, free: 11.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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006309/0.1534, allocations: 427 kB / 472.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.1534, allocations: 8.031 kB / 472.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.655e-05/0.1535, allocations: 16.83 kB / 472.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002837/0.1538, allocations: 224.6 kB / 472.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.1538, allocations: 8.375 kB / 472.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.012e-05/0.1538, allocations: 12.03 kB / 472.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001995/0.154, allocations: 73.64 kB / 472.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.1541, allocations: 0 / 472.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.1541, allocations: 0 / 472.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.1541, allocations: 7.938 kB / 472.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.1542, allocations: 43.97 kB / 472.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005148/0.1547, allocations: 312.8 kB / 473 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002998/0.1551, allocations: 90.56 kB / 473 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.468e-05/0.1551, allocations: 28.84 kB / 473.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.1552, allocations: 8 kB / 473.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002537/0.1554, allocations: 75.38 kB / 473.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.1554, allocations: 0 / 473.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009413/0.1564, allocations: 300.9 kB / 473.4 MB, free: 9.723 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.119e-05/0.1565, allocations: 55.34 kB / 473.5 MB, free: 9.656 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/0.1567, allocations: 183.3 kB / 473.7 MB, free: 9.461 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.1567, allocations: 33.7 kB / 473.7 MB, free: 9.422 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.376e-05/0.1568, allocations: 108.4 kB / 473.8 MB, free: 9.312 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.59e-05/0.1568, allocations: 43.38 kB / 473.9 MB, free: 9.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.876e-05/0.1569, allocations: 29.72 kB / 473.9 MB, free: 9.234 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.157, allocations: 330.8 kB / 474.2 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.591e-05/0.1571, allocations: 39.98 kB / 474.3 MB, free: 8.863 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/0.1572, allocations: 56.8 kB / 474.3 MB, free: 8.805 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001699/0.1574, allocations: 101.6 kB / 474.4 MB, free: 8.699 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1574, allocations: 0 / 474.4 MB, free: 8.699 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003369/0.1578, allocations: 149.5 kB / 474.6 MB, free: 8.547 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.1578, allocations: 6.188 kB / 474.6 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1578, allocations: 0 / 474.6 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.1578, allocations: 4 kB / 474.6 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.35e-05/0.1579, allocations: 31.92 kB / 474.6 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.1579, allocations: 3.938 kB / 474.6 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.536e-05/0.158, allocations: 8.031 kB / 474.6 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.158, allocations: 4 kB / 474.6 MB, free: 8.492 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 (15): * Single equations (assignments): 15 * 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.0001211/0.1581, allocations: 130.3 kB / 474.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.055e-05/0.1582, allocations: 15.81 kB / 474.8 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.106e-05/0.1582, allocations: 21.52 kB / 474.8 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.1582, allocations: 4 kB / 474.8 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/0.1583, allocations: 3.938 kB / 474.8 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.1583, allocations: 4.828 kB / 474.8 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000617/0.1589, allocations: 491.9 kB / 475.3 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1589, allocations: 0 / 475.3 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.591e-05/0.159, allocations: 19.94 kB / 475.3 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.159, allocations: 0 / 475.3 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.814e-05/0.159, allocations: 11.98 kB / 475.3 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.159, allocations: 0 / 475.3 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.159, allocations: 0 / 475.3 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003871/0.1594, allocations: 259.5 kB / 475.6 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.115e-05/0.1595, allocations: 96.86 kB / 475.6 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.096e-05/0.1595, allocations: 4 kB / 475.7 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.903e-05/0.1596, allocations: 7.984 kB / 475.7 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.448e-05/0.1596, allocations: 11.94 kB / 475.7 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.936e-05/0.1597, allocations: 11.98 kB / 475.7 MB, free: 7.312 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000118/0.1598, allocations: 136.9 kB / 475.8 MB, free: 7.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1598, allocations: 0 / 475.8 MB, free: 7.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002815/0.1601, allocations: 35.98 kB / 475.9 MB, free: 7.145 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 11 * 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.001229/0.1613, allocations: 0.4993 MB / 476.4 MB, free: 6.844 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002843/0.1616, allocations: 107.3 kB / 476.5 MB, free: 6.742 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1616, allocations: 4.062 kB / 476.5 MB, free: 6.738 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001018/0.1617, allocations: 47.92 kB / 476.5 MB, free: 6.691 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003752/0.1621, allocations: 41.67 kB / 476.5 MB, free: 6.652 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005539/0.1627, allocations: 298.4 kB / 476.8 MB, free: 6.332 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003465/0.163, allocations: 0.7087 MB / 477.5 MB, free: 5.598 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.926e-05/0.1631, allocations: 29.41 kB / 477.6 MB, free: 5.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.159e-05/0.1632, allocations: 27.42 kB / 477.6 MB, free: 5.543 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1632, allocations: 0 / 477.6 MB, free: 5.543 MB / 350.1 MB Notification: Performance of Templates: time 0.005227/0.1684, allocations: 2.047 MB / 479.7 MB, free: 3.512 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches