Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 108.9 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.001164/0.001164, 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.419/1.419, allocations: 222.9 MB / 241.8 MB, free: 13.86 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.2295/0.2295, allocations: 44.18 MB / 336.1 MB, free: 2.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 71.61 kB / 407.7 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1344, allocations: 60.82 MB / 468.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003856/0.1383, allocations: 1.943 MB / 470.5 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001704/0.14, allocations: 0.9745 MB / 471.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.608e-05/0.1401, allocations: 0 / 471.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004436/0.1406, allocations: 147.7 kB / 471.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003038/0.1409, allocations: 127.6 kB / 471.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004321/0.1413, allocations: 163.1 kB / 471.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002836/0.1416, allocations: 215.3 kB / 472.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.1418, allocations: 25.69 kB / 472.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001437/0.1419, allocations: 103.5 kB / 472.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001715/0.1421, allocations: 123.5 kB / 472.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.859e-05/0.1421, allocations: 7.938 kB / 472.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001279/0.1423, allocations: 63.98 kB / 472.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.859e-05/0.1424, allocations: 47.81 kB / 472.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.431e-05/0.1425, allocations: 79.36 kB / 472.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002685/0.1427, allocations: 207.5 kB / 472.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1428, allocations: 0 / 472.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1428, allocations: 3.984 kB / 472.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.391e-06/0.1428, allocations: 0 / 472.7 MB, free: 10.6 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007388/0.1435, allocations: 0.5177 MB / 473.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.1436, allocations: 12.03 kB / 473.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.5e-05/0.1436, allocations: 28.66 kB / 473.3 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003132/0.144, allocations: 271.5 kB / 473.5 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.144, allocations: 4.375 kB / 473.6 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.017e-05/0.144, allocations: 12.12 kB / 473.6 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00025/0.1443, allocations: 111.3 kB / 473.7 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.1443, allocations: 0 / 473.7 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.1443, allocations: 0 / 473.7 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.1443, allocations: 4 kB / 473.7 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001391/0.1445, allocations: 55.89 kB / 473.7 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006786/0.1452, allocations: 460.7 kB / 474.2 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004305/0.1456, allocations: 125.2 kB / 474.3 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.1457, allocations: 45.83 kB / 474.3 MB, free: 8.805 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.895e-05/0.1458, allocations: 4 kB / 474.4 MB, free: 8.801 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003354/0.1461, allocations: 129.1 kB / 474.5 MB, free: 8.656 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.423e-06/0.1461, allocations: 0 / 474.5 MB, free: 8.656 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001396/0.1475, allocations: 488.1 kB / 475 MB, free: 8.172 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.768e-05/0.1476, allocations: 77.11 kB / 475 MB, free: 8.078 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003608/0.148, allocations: 362.9 kB / 475.4 MB, free: 7.711 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.753e-05/0.148, allocations: 29.7 kB / 475.4 MB, free: 7.676 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.1481, allocations: 144.5 kB / 475.6 MB, free: 7.531 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.324e-05/0.1482, allocations: 67.09 kB / 475.6 MB, free: 7.465 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.287e-05/0.1483, allocations: 45.7 kB / 475.7 MB, free: 7.414 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.1484, allocations: 338.8 kB / 476 MB, free: 7.074 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.1486, allocations: 55.97 kB / 476.1 MB, free: 7.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001493/0.1487, allocations: 91.34 kB / 476.1 MB, free: 6.918 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002642/0.149, allocations: 163.3 kB / 476.3 MB, free: 6.746 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.149, allocations: 0 / 476.3 MB, free: 6.746 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003973/0.1494, allocations: 229.5 kB / 476.5 MB, free: 6.516 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/0.1494, allocations: 9.969 kB / 476.5 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.1494, allocations: 0 / 476.5 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.1495, allocations: 8.062 kB / 476.5 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.1496, allocations: 43.91 kB / 476.6 MB, free: 6.457 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/0.1497, allocations: 7.938 kB / 476.6 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.04e-05/0.1497, allocations: 8 kB / 476.6 MB, free: 6.441 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/0.1498, allocations: 8 kB / 476.6 MB, free: 6.434 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001583/0.1499, allocations: 162.3 kB / 476.8 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.636e-05/0.15, allocations: 31.56 kB / 476.8 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.373e-05/0.1501, allocations: 33.73 kB / 476.8 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.1501, allocations: 4 kB / 476.8 MB, free: 6.195 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.1501, allocations: 4 kB / 476.8 MB, free: 6.191 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.1501, allocations: 3.984 kB / 476.8 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000925/0.151, allocations: 0.7233 MB / 477.6 MB, free: 5.395 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.1511, allocations: 4 kB / 477.6 MB, free: 5.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.403e-05/0.1511, allocations: 31.92 kB / 477.6 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.1512, allocations: 0 / 477.6 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/0.1512, allocations: 15.98 kB / 477.6 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.1512, allocations: 0 / 477.6 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.1512, allocations: 4 kB / 477.6 MB, free: 5.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005067/0.1517, allocations: 415.5 kB / 478 MB, free: 4.906 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.262e-05/0.1518, allocations: 100.8 kB / 478.1 MB, free: 4.789 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.123e-05/0.1518, allocations: 8 kB / 478.1 MB, free: 4.781 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/0.152, allocations: 15.94 kB / 478.1 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.527e-05/0.1521, allocations: 23.91 kB / 478.2 MB, free: 4.742 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.558e-05/0.1521, allocations: 12 kB / 478.2 MB, free: 4.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002496/0.1523, allocations: 261.9 kB / 478.4 MB, free: 4.477 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1524, allocations: 0 / 478.4 MB, free: 4.477 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003553/0.1527, allocations: 55.89 kB / 478.5 MB, free: 4.422 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001308/0.154, allocations: 0.5145 MB / 479 MB, free: 4.113 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003617/0.1544, allocations: 167.8 kB / 479.2 MB, free: 3.949 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1544, allocations: 0 / 479.2 MB, free: 3.949 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001624/0.1546, allocations: 79.78 kB / 479.2 MB, free: 3.871 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005657/0.1552, allocations: 64.44 kB / 479.3 MB, free: 3.812 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008637/0.156, allocations: 0.5418 MB / 479.9 MB, free: 3.227 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004221/0.1565, allocations: 0.7599 MB / 480.6 MB, free: 2.438 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001136/0.1566, allocations: 33.92 kB / 480.6 MB, free: 2.402 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.485e-05/0.1567, allocations: 31.42 kB / 480.7 MB, free: 2.371 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1567, allocations: 0 / 480.7 MB, free: 2.371 MB / 350.1 MB Notification: Performance of Templates: time 0.006863/0.1635, allocations: 2.945 MB / 483.6 MB, free: 15.45 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches