Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, 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.001015/0.001016, 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.408/1.408, allocations: 222.9 MB / 242.2 MB, free: 15.21 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.2401/0.2401, allocations: 44.18 MB / 336.6 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 65.19 kB / 408.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1314, allocations: 60.83 MB / 469.3 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.004195/0.1356, allocations: 1.789 MB / 471 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002628/0.1383, allocations: 1.561 MB / 472.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001874/0.1385, allocations: 3.938 kB / 472.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003457/0.1388, allocations: 47.7 kB / 472.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003661/0.1392, allocations: 87.53 kB / 472.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005222/0.1398, allocations: 178.9 kB / 472.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003073/0.1401, allocations: 183.5 kB / 473.1 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.95e-05/0.1402, allocations: 5.562 kB / 473.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001439/0.1403, allocations: 79.58 kB / 473.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002233/0.1405, allocations: 75.61 kB / 473.3 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3e-05/0.1406, allocations: 8 kB / 473.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001768/0.1408, allocations: 63.92 kB / 473.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.363e-05/0.1408, allocations: 31.89 kB / 473.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.145e-05/0.1409, allocations: 63.59 kB / 473.4 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003244/0.1413, allocations: 167.8 kB / 473.6 MB, free: 10 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1413, allocations: 0 / 473.6 MB, free: 10 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1413, allocations: 0 / 473.6 MB, free: 10 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.128e-05/0.1413, allocations: 0 / 473.6 MB, free: 10 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007091/0.142, allocations: 462.6 kB / 474 MB, free: 9.504 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.1421, allocations: 12.03 kB / 474 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.679e-05/0.1422, allocations: 16.75 kB / 474.1 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003442/0.1425, allocations: 243.8 kB / 474.3 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.1425, allocations: 8.375 kB / 474.3 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.042e-05/0.1426, allocations: 8.125 kB / 474.3 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002311/0.1428, allocations: 101 kB / 474.4 MB, free: 9.066 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.1428, allocations: 0 / 474.4 MB, free: 9.066 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.1428, allocations: 0 / 474.4 MB, free: 9.066 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.1428, allocations: 0 / 474.4 MB, free: 9.066 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/0.143, allocations: 27.98 kB / 474.4 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000243/0.1432, allocations: 226.4 kB / 474.7 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002659/0.1435, allocations: 101.2 kB / 474.8 MB, free: 8.648 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.42e-05/0.1436, allocations: 45.64 kB / 474.8 MB, free: 8.598 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/0.1436, allocations: 0 / 474.8 MB, free: 8.598 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002892/0.1439, allocations: 109 kB / 474.9 MB, free: 8.473 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.362e-06/0.1439, allocations: 0 / 474.9 MB, free: 8.473 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004517/0.1444, allocations: 165.4 kB / 475.1 MB, free: 8.305 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.065e-05/0.1445, allocations: 136.5 kB / 475.2 MB, free: 8.141 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000235/0.1447, allocations: 215.8 kB / 475.4 MB, free: 7.922 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.1447, allocations: 29.64 kB / 475.4 MB, free: 7.887 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.176e-05/0.1448, allocations: 108.1 kB / 475.6 MB, free: 7.777 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.394e-05/0.1449, allocations: 27.7 kB / 475.6 MB, free: 7.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.375e-05/0.1449, allocations: 29.7 kB / 475.6 MB, free: 7.715 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.145, allocations: 326.8 kB / 475.9 MB, free: 7.387 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.141e-05/0.1451, allocations: 31.98 kB / 476 MB, free: 7.355 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001162/0.1453, allocations: 79.81 kB / 476 MB, free: 7.262 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001815/0.1454, allocations: 91.8 kB / 476.1 MB, free: 7.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.1455, allocations: 8.031 kB / 476.1 MB, free: 7.152 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002699/0.1457, allocations: 141.2 kB / 476.3 MB, free: 7.008 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.1458, allocations: 4 kB / 476.3 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.1458, allocations: 4 kB / 476.3 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.1458, allocations: 0 / 476.3 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.1459, allocations: 23.98 kB / 476.3 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.1459, allocations: 7.938 kB / 476.3 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.544e-05/0.146, allocations: 7.938 kB / 476.3 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.146, allocations: 8.062 kB / 476.3 MB, free: 6.953 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_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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.0001137/0.1461, allocations: 133.8 kB / 476.5 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.52e-05/0.1462, allocations: 15.81 kB / 476.5 MB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.396e-05/0.1463, allocations: 24.97 kB / 476.5 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.1463, allocations: 4 kB / 476.5 MB, free: 6.766 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1463, allocations: 0 / 476.5 MB, free: 6.766 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.1463, allocations: 0 / 476.5 MB, free: 6.766 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002102/0.1465, allocations: 217.4 kB / 476.7 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1465, allocations: 0 / 476.7 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.527e-05/0.1465, allocations: 15.98 kB / 476.7 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.1466, allocations: 3.938 kB / 476.7 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.1466, allocations: 4 kB / 476.7 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.1466, allocations: 0 / 476.7 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1466, allocations: 0 / 476.7 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002921/0.1469, allocations: 165.6 kB / 476.9 MB, free: 6.297 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.364e-05/0.1469, allocations: 96.94 kB / 477 MB, free: 6.184 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.565e-05/0.147, allocations: 8 kB / 477 MB, free: 6.176 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.158e-05/0.1471, allocations: 4.125 kB / 477 MB, free: 6.172 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.781e-05/0.1471, allocations: 11.98 kB / 477 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.929e-05/0.1471, allocations: 8 kB / 477 MB, free: 6.152 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000162/0.1473, allocations: 160.1 kB / 477.2 MB, free: 5.996 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1473, allocations: 0 / 477.2 MB, free: 5.996 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000251/0.1476, allocations: 32 kB / 477.2 MB, free: 5.965 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.001065/0.1486, allocations: 457.2 kB / 477.7 MB, free: 5.688 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003788/0.149, allocations: 87.84 kB / 477.7 MB, free: 5.602 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.149, allocations: 4 kB / 477.8 MB, free: 5.598 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001014/0.1492, allocations: 32.11 kB / 477.8 MB, free: 5.566 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003561/0.1495, allocations: 73.61 kB / 477.9 MB, free: 5.504 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006094/0.1501, allocations: 267.7 kB / 478.1 MB, free: 5.215 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.1505, allocations: 0.7124 MB / 478.8 MB, free: 4.477 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001068/0.1506, allocations: 33.52 kB / 478.9 MB, free: 4.445 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.311e-05/0.1506, allocations: 27.44 kB / 478.9 MB, free: 4.422 MB / 350.1 MB Notification: Performance of SimCode: time 2.144e-06/0.1506, allocations: 0 / 478.9 MB, free: 4.422 MB / 350.1 MB Notification: Performance of Templates: time 0.006524/0.1572, allocations: 2.647 MB / 481.5 MB, free: 1.801 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches