Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,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.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,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.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 95.91 kB / 16.98 MB, free: 5.941 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.0009532/0.0009535, allocations: 189 kB / 17.88 MB, free: 5.59 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.409/1.409, allocations: 223.2 MB / 241.8 MB, free: 396 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2109/0.2109, allocations: 44.23 MB / 337.1 MB, free: 2.914 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000357/0.000357, allocations: 12 kB / 409.5 MB, free: 27.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1444, allocations: 61.92 MB / 471.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.002357/0.1468, allocations: 1.39 MB / 472.8 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001252/0.1481, allocations: 0.792 MB / 473.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.545e-05/0.1482, allocations: 0 / 473.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003474/0.1485, allocations: 39.77 kB / 473.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001848/0.1487, allocations: 43.88 kB / 473.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002887/0.149, allocations: 83.72 kB / 473.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001436/0.1492, allocations: 71.84 kB / 473.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.911e-05/0.1493, allocations: 4.234 kB / 473.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.762e-05/0.1494, allocations: 35.84 kB / 473.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.445e-05/0.1494, allocations: 27.84 kB / 473.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.151e-05/0.1495, allocations: 0 / 473.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.284e-05/0.1495, allocations: 24 kB / 474 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.267e-05/0.1496, allocations: 23.91 kB / 474 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.476e-05/0.1496, allocations: 37.64 kB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001408/0.1498, allocations: 84.09 kB / 474.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1498, allocations: 4 kB / 474.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1498, allocations: 3.938 kB / 474.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.1498, allocations: 4 kB / 474.1 MB, free: 11.09 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.0005216/0.1504, allocations: 391 kB / 474.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.1504, allocations: 8.031 kB / 474.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.876e-05/0.1504, allocations: 11.84 kB / 474.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002531/0.1507, allocations: 210.7 kB / 474.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.1507, allocations: 0 / 474.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.607e-05/0.1508, allocations: 8 kB / 474.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.1509, allocations: 57.62 kB / 474.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.1509, allocations: 0 / 474.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.151, allocations: 0 / 474.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.151, allocations: 0 / 474.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.574e-05/0.151, allocations: 23.98 kB / 474.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00042/0.1515, allocations: 284.9 kB / 475.1 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.1517, allocations: 62.61 kB / 475.2 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.616e-05/0.1517, allocations: 0 / 475.2 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001911/0.1519, allocations: 67.52 kB / 475.2 MB, free: 9.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.1519, allocations: 0 / 475.2 MB, free: 9.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006227/0.1525, allocations: 169.2 kB / 475.4 MB, free: 9.648 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.928e-05/0.1526, allocations: 59.41 kB / 475.4 MB, free: 9.578 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/0.1528, allocations: 182.2 kB / 475.6 MB, free: 9.391 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.1528, allocations: 33.64 kB / 475.7 MB, free: 9.352 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.312e-05/0.1529, allocations: 100.1 kB / 475.7 MB, free: 9.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/0.153, allocations: 27.64 kB / 475.8 MB, free: 9.223 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.433e-06/0.1531, allocations: 4 kB / 475.8 MB, free: 9.219 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001858/0.1532, allocations: 322.8 kB / 476.1 MB, free: 8.895 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.697e-05/0.1533, allocations: 23.92 kB / 476.1 MB, free: 8.871 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.738e-05/0.1534, allocations: 33.72 kB / 476.2 MB, free: 8.832 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.704e-05/0.1535, allocations: 31.94 kB / 476.2 MB, free: 8.801 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.1535, allocations: 0 / 476.2 MB, free: 8.801 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002702/0.1538, allocations: 101.4 kB / 476.3 MB, free: 8.695 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.1538, allocations: 6.188 kB / 476.3 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.1538, allocations: 0 / 476.3 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.1539, allocations: 0 / 476.3 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.154, allocations: 19.98 kB / 476.3 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.154, allocations: 8.172 kB / 476.3 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.988e-05/0.154, allocations: 4 kB / 476.3 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.437e-06/0.1541, allocations: 4 kB / 476.3 MB, free: 8.656 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001211/0.1542, allocations: 130.3 kB / 476.5 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.415e-05/0.1543, allocations: 7.906 kB / 476.5 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.8e-05/0.1543, allocations: 20.83 kB / 476.5 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.1543, allocations: 3.984 kB / 476.5 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.1544, allocations: 7.938 kB / 476.5 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.1544, allocations: 4 kB / 476.5 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005235/0.1549, allocations: 391.3 kB / 476.9 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.1549, allocations: 0 / 476.9 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.163e-05/0.1549, allocations: 8 kB / 476.9 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.1549, allocations: 0 / 476.9 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.155, allocations: 4 kB / 476.9 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.155, allocations: 0 / 476.9 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.155, allocations: 3.984 kB / 476.9 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002369/0.1552, allocations: 222.3 kB / 477.1 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.989e-05/0.1553, allocations: 89.02 kB / 477.2 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.551e-05/0.1553, allocations: 0 / 477.2 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.389e-05/0.1554, allocations: 11.98 kB / 477.2 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.186e-05/0.1555, allocations: 11.94 kB / 477.2 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.955e-05/0.1555, allocations: 8 kB / 477.2 MB, free: 7.637 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001351/0.1556, allocations: 147.1 kB / 477.4 MB, free: 7.492 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1556, allocations: 0 / 477.4 MB, free: 7.492 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002609/0.1559, allocations: 27.95 kB / 477.4 MB, free: 7.465 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001242/0.1572, allocations: 463.5 kB / 477.9 MB, free: 7.191 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002162/0.1574, allocations: 59.91 kB / 477.9 MB, free: 7.133 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.1574, allocations: 0 / 477.9 MB, free: 7.133 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000226/0.1576, allocations: 27.98 kB / 477.9 MB, free: 7.105 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000342/0.158, allocations: 23.98 kB / 478 MB, free: 7.082 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005102/0.1585, allocations: 246.3 kB / 478.2 MB, free: 6.805 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.1588, allocations: 0.7004 MB / 478.9 MB, free: 6.078 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.506e-05/0.1589, allocations: 21.17 kB / 478.9 MB, free: 6.059 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.67e-05/0.159, allocations: 15.44 kB / 478.9 MB, free: 6.043 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.159, allocations: 0 / 478.9 MB, free: 6.043 MB / 350.1 MB Notification: Performance of Templates: time 0.004579/0.1635, allocations: 1.586 MB / 480.5 MB, free: 4.469 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches