Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,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.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,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.Test43") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 93.88 kB / 17.35 MB, free: 6.371 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.001442/0.001442, allocations: 171.8 kB / 18.25 MB, free: 5.527 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.553/1.553, allocations: 223.3 MB / 242.3 MB, free: 236 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.2281/0.2281, allocations: 44.25 MB / 337.7 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004218/0.0004217, allocations: 14.72 kB / 410.3 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1441, allocations: 61.92 MB / 472.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.002476/0.1467, allocations: 1.421 MB / 473.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001433/0.1482, allocations: 0.846 MB / 474.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.335e-05/0.1483, allocations: 0 / 474.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003241/0.1486, allocations: 39.88 kB / 474.6 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002136/0.1488, allocations: 47.83 kB / 474.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003573/0.1492, allocations: 99.33 kB / 474.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001876/0.1494, allocations: 91.7 kB / 474.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.1495, allocations: 12.23 kB / 474.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.1496, allocations: 47.77 kB / 474.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.378e-05/0.1497, allocations: 19.86 kB / 474.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.801e-05/0.1497, allocations: 4 kB / 474.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001224/0.1499, allocations: 43.92 kB / 474.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.211e-05/0.1499, allocations: 23.91 kB / 474.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.164e-05/0.15, allocations: 57.45 kB / 475 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002069/0.1502, allocations: 111.9 kB / 475.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1502, allocations: 0 / 475.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1502, allocations: 0 / 475.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.1503, allocations: 7.938 kB / 475.1 MB, free: 10.46 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.0005184/0.1508, allocations: 395.2 kB / 475.5 MB, free: 10.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.1508, allocations: 15.97 kB / 475.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.305e-05/0.1509, allocations: 12.75 kB / 475.5 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002278/0.1511, allocations: 212.7 kB / 475.7 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.1511, allocations: 4.359 kB / 475.7 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.1512, allocations: 12.12 kB / 475.8 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.1513, allocations: 53.67 kB / 475.8 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.1513, allocations: 0 / 475.8 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.1513, allocations: 4 kB / 475.8 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.1514, allocations: 0 / 475.8 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.595e-05/0.1514, allocations: 19.98 kB / 475.8 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005632/0.152, allocations: 288.8 kB / 476.1 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001944/0.1522, allocations: 58.69 kB / 476.2 MB, free: 9.262 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.391e-05/0.1523, allocations: 20.84 kB / 476.2 MB, free: 9.238 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.966e-05/0.1523, allocations: 4 kB / 476.2 MB, free: 9.234 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002556/0.1526, allocations: 71.3 kB / 476.3 MB, free: 9.152 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 3.948e-06/0.1526, allocations: 0 / 476.3 MB, free: 9.152 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000694/0.1533, allocations: 173.1 kB / 476.4 MB, free: 8.977 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.045e-05/0.1534, allocations: 59.41 kB / 476.5 MB, free: 8.906 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002271/0.1536, allocations: 199.3 kB / 476.7 MB, free: 8.695 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.1536, allocations: 25.7 kB / 476.7 MB, free: 8.664 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.412e-05/0.1537, allocations: 104.1 kB / 476.8 MB, free: 8.559 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.523e-05/0.1538, allocations: 23.69 kB / 476.8 MB, free: 8.535 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.455e-05/0.1538, allocations: 17.72 kB / 476.9 MB, free: 8.512 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.1539, allocations: 326.8 kB / 477.2 MB, free: 8.184 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.658e-05/0.154, allocations: 23.98 kB / 477.2 MB, free: 8.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.107e-05/0.1541, allocations: 33.72 kB / 477.2 MB, free: 8.121 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001174/0.1542, allocations: 57.7 kB / 477.3 MB, free: 8.059 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1542, allocations: 4 kB / 477.3 MB, free: 8.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001909/0.1544, allocations: 97.52 kB / 477.4 MB, free: 7.953 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.1544, allocations: 4 kB / 477.4 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.1545, allocations: 4 kB / 477.4 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.1545, allocations: 32 / 477.4 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.706e-05/0.1546, allocations: 19.94 kB / 477.4 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.1546, allocations: 160 / 477.4 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.995e-05/0.1547, allocations: 20.05 kB / 477.4 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.1547, allocations: 7.984 kB / 477.4 MB, free: 7.898 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.0001112/0.1548, allocations: 121.8 kB / 477.6 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.976e-05/0.1548, allocations: 23.78 kB / 477.6 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.943e-05/0.1549, allocations: 17.41 kB / 477.6 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.1549, allocations: 0 / 477.6 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.1549, allocations: 4 kB / 477.6 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.1549, allocations: 3.938 kB / 477.6 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004732/0.1554, allocations: 387.3 kB / 478 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1554, allocations: 0 / 478 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.759e-05/0.1555, allocations: 15.98 kB / 478 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.1555, allocations: 4 kB / 478 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.1555, allocations: 3.938 kB / 478 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1555, allocations: 0 / 478 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.1555, allocations: 4.406 kB / 478 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002523/0.1558, allocations: 204.1 kB / 478.2 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.466e-05/0.1558, allocations: 89 kB / 478.3 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.533e-05/0.1559, allocations: 7.938 kB / 478.3 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.425e-05/0.156, allocations: 4 kB / 478.3 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.269e-05/0.156, allocations: 11.98 kB / 478.3 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/0.156, allocations: 8 kB / 478.3 MB, free: 6.902 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001275/0.1562, allocations: 152.9 kB / 478.5 MB, free: 6.754 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1562, allocations: 0 / 478.5 MB, free: 6.754 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002608/0.1564, allocations: 24 kB / 478.5 MB, free: 6.73 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.001133/0.1576, allocations: 466.3 kB / 479 MB, free: 6.453 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002058/0.1578, allocations: 59.89 kB / 479 MB, free: 6.395 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1578, allocations: 0 / 479 MB, free: 6.395 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.053e-05/0.1579, allocations: 35.92 kB / 479.1 MB, free: 6.359 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003916/0.1583, allocations: 31.86 kB / 479.1 MB, free: 6.328 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005632/0.1589, allocations: 258.4 kB / 479.3 MB, free: 6.047 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005174/0.1594, allocations: 0.7004 MB / 480 MB, free: 5.32 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.346e-05/0.1595, allocations: 25.17 kB / 480.1 MB, free: 5.297 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.708e-05/0.1595, allocations: 19.44 kB / 480.1 MB, free: 5.277 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1595, allocations: 0 / 480.1 MB, free: 5.277 MB / 350.1 MB Notification: Performance of Templates: time 0.005278/0.1648, allocations: 1.608 MB / 481.7 MB, free: 3.68 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches