Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 99.09 kB / 17.01 MB, free: 6.391 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.001826/0.001826, allocations: 182.2 kB / 17.89 MB, free: 5.922 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.508/1.508, allocations: 223.3 MB / 241.9 MB, free: 252 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.223/0.223, allocations: 44.25 MB / 337.3 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004486/0.0004491, allocations: 12.62 kB / 409.7 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.131, allocations: 61.93 MB / 471.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.002114/0.1332, allocations: 1.39 MB / 473 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001981/0.1352, allocations: 1.382 MB / 474.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.039e-05/0.1353, allocations: 0 / 474.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002749/0.1356, allocations: 31.84 kB / 474.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001948/0.1358, allocations: 47.83 kB / 474.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003093/0.1361, allocations: 95.75 kB / 474.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001653/0.1363, allocations: 91.69 kB / 474.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.1364, allocations: 12.23 kB / 474.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.578e-05/0.1365, allocations: 39.78 kB / 474.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001529/0.1367, allocations: 34.72 kB / 474.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.1367, allocations: 4 kB / 474.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001532/0.1369, allocations: 55.95 kB / 474.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.447e-05/0.1369, allocations: 15.92 kB / 474.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.351e-05/0.137, allocations: 41.64 kB / 474.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002889/0.1373, allocations: 92.08 kB / 474.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.1373, allocations: 0 / 474.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1374, allocations: 3.938 kB / 474.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.952e-06/0.1374, allocations: 7.938 kB / 474.9 MB, free: 10.32 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008324/0.1382, allocations: 395 kB / 475.3 MB, free: 9.887 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.643e-05/0.1383, allocations: 16.55 kB / 475.3 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.105e-05/0.1384, allocations: 7.906 kB / 475.3 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003582/0.1387, allocations: 207.4 kB / 475.6 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.327e-05/0.1388, allocations: 0 / 475.6 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.66e-05/0.1388, allocations: 8 kB / 475.6 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002403/0.139, allocations: 79.33 kB / 475.6 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.051e-05/0.1391, allocations: 0 / 475.6 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.686e-05/0.1391, allocations: 0 / 475.6 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.1391, allocations: 4 kB / 475.6 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001145/0.1392, allocations: 23.98 kB / 475.7 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005806/0.1398, allocations: 304.6 kB / 476 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001973/0.14, allocations: 70.67 kB / 476 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.674e-05/0.1401, allocations: 28.84 kB / 476.1 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.911e-05/0.1402, allocations: 0 / 476.1 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003309/0.1405, allocations: 67.39 kB / 476.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.813e-06/0.1405, allocations: 0 / 476.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007311/0.1412, allocations: 201.4 kB / 476.3 MB, free: 8.758 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.794e-05/0.1413, allocations: 81.11 kB / 476.4 MB, free: 8.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001815/0.1415, allocations: 156.5 kB / 476.6 MB, free: 8.496 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.1415, allocations: 25.7 kB / 476.6 MB, free: 8.465 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.839e-05/0.1416, allocations: 100.1 kB / 476.7 MB, free: 8.363 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.016e-05/0.1417, allocations: 31.64 kB / 476.7 MB, free: 8.332 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.02e-06/0.1417, allocations: 0 / 476.7 MB, free: 8.332 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.1418, allocations: 322.8 kB / 477 MB, free: 8.008 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.896e-05/0.1419, allocations: 28 kB / 477.1 MB, free: 7.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.899e-05/0.142, allocations: 50.55 kB / 477.1 MB, free: 7.922 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.535e-05/0.1421, allocations: 24 kB / 477.1 MB, free: 7.898 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.1421, allocations: 0 / 477.1 MB, free: 7.898 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002258/0.1423, allocations: 125.4 kB / 477.2 MB, free: 7.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.1423, allocations: 4 kB / 477.2 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.1424, allocations: 240 / 477.2 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.1424, allocations: 4.062 kB / 477.3 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.1425, allocations: 16 kB / 477.3 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.1425, allocations: 3.984 kB / 477.3 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.516e-05/0.1426, allocations: 11.98 kB / 477.3 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.1426, allocations: 4 kB / 477.3 MB, free: 7.727 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 (11): * Single equations (assignments): 11 * 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 9.606e-05/0.1427, allocations: 124.5 kB / 477.4 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.701e-05/0.1427, allocations: 7.906 kB / 477.4 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.318e-05/0.1428, allocations: 20.64 kB / 477.4 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/0.1428, allocations: 4 kB / 477.4 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1428, allocations: 3.938 kB / 477.4 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.1428, allocations: 3.984 kB / 477.4 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004674/0.1433, allocations: 419.3 kB / 477.9 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.1433, allocations: 0 / 477.9 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.915e-05/0.1433, allocations: 11.98 kB / 477.9 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.1433, allocations: 4 kB / 477.9 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.1434, allocations: 0 / 477.9 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.1434, allocations: 4.031 kB / 477.9 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1434, allocations: 0 / 477.9 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002577/0.1436, allocations: 224.1 kB / 478.1 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.131e-05/0.1437, allocations: 85.02 kB / 478.2 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.437e-05/0.1437, allocations: 0 / 478.2 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.027e-05/0.1438, allocations: 11.98 kB / 478.2 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.893e-05/0.1439, allocations: 8 kB / 478.2 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.1439, allocations: 4 kB / 478.2 MB, free: 6.703 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001298/0.144, allocations: 122.1 kB / 478.3 MB, free: 6.586 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.144, allocations: 0 / 478.3 MB, free: 6.586 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002934/0.1443, allocations: 35.98 kB / 478.4 MB, free: 6.551 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 (9): * Single equations (assignments): 7 * 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.001365/0.1457, allocations: 0.5011 MB / 478.9 MB, free: 6.242 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002274/0.1459, allocations: 67.97 kB / 478.9 MB, free: 6.176 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.1459, allocations: 64 / 478.9 MB, free: 6.176 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.177e-05/0.146, allocations: 39.92 kB / 479 MB, free: 6.137 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003802/0.1464, allocations: 36.2 kB / 479 MB, free: 6.102 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005423/0.147, allocations: 222 kB / 479.2 MB, free: 5.852 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003915/0.1474, allocations: 0.6965 MB / 479.9 MB, free: 5.129 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.504e-05/0.1475, allocations: 24.58 kB / 479.9 MB, free: 5.105 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.586e-05/0.1475, allocations: 27.42 kB / 480 MB, free: 5.078 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1475, allocations: 0 / 480 MB, free: 5.078 MB / 350.1 MB Notification: Performance of Templates: time 0.005319/0.1529, allocations: 1.928 MB / 481.9 MB, free: 3.172 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches