Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.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.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 104.4 kB / 17.2 MB, free: 6.266 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.001187/0.001187, allocations: 194 kB / 18.12 MB, free: 5.367 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.448/1.448, allocations: 222.9 MB / 241.8 MB, free: 15.42 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.2517/0.2517, allocations: 44.18 MB / 336.1 MB, free: 2.977 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 64.53 kB / 407.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.133, allocations: 60.84 MB / 468.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.003408/0.1365, allocations: 1.667 MB / 470.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007875/0.1373, allocations: 427.1 kB / 470.6 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.929e-05/0.1374, allocations: 0 / 470.6 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002365/0.1376, allocations: 23.91 kB / 470.6 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001415/0.1378, allocations: 35.84 kB / 470.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002343/0.138, allocations: 83.84 kB / 470.7 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000146/0.1382, allocations: 71.83 kB / 470.8 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.1383, allocations: 23.98 kB / 470.8 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.504e-05/0.1384, allocations: 27.91 kB / 470.9 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.845e-05/0.1385, allocations: 39.72 kB / 470.9 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.1385, allocations: 0 / 470.9 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.453e-05/0.1386, allocations: 40 kB / 470.9 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.931e-05/0.1387, allocations: 19.97 kB / 471 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.344e-05/0.1387, allocations: 31.73 kB / 471 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001624/0.1389, allocations: 103.9 kB / 471.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1389, allocations: 0 / 471.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.1389, allocations: 3.984 kB / 471.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.616e-06/0.1389, allocations: 0 / 471.1 MB, free: 12.25 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005041/0.1394, allocations: 391.2 kB / 471.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.1395, allocations: 8.031 kB / 471.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.343e-05/0.1395, allocations: 8.844 kB / 471.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002067/0.1397, allocations: 200 kB / 471.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.1397, allocations: 8.375 kB / 471.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/0.1398, allocations: 8.375 kB / 471.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.14, allocations: 73.73 kB / 471.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.14, allocations: 0 / 471.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.14, allocations: 3.938 kB / 471.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.14, allocations: 4 kB / 471.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001458/0.1402, allocations: 43.89 kB / 471.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004437/0.1406, allocations: 324.6 kB / 472.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.1408, allocations: 62.55 kB / 472.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.814e-05/0.1408, allocations: 16.86 kB / 472.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.025e-05/0.1409, allocations: 11.92 kB / 472.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.1409, allocations: 30.56 kB / 472.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.1409, allocations: 0 / 472.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009963/0.1419, allocations: 297.1 kB / 472.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.142, allocations: 51.41 kB / 472.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.1421, allocations: 156.8 kB / 472.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.1421, allocations: 29.7 kB / 472.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.122e-05/0.1422, allocations: 104 kB / 472.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.85e-05/0.1422, allocations: 43.45 kB / 472.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.352e-05/0.1423, allocations: 25.7 kB / 473 MB, free: 10.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.1424, allocations: 322.8 kB / 473.3 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.078e-05/0.1425, allocations: 31.98 kB / 473.3 MB, free: 9.824 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.1426, allocations: 43.91 kB / 473.4 MB, free: 9.781 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001795/0.1428, allocations: 92.08 kB / 473.4 MB, free: 9.691 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.1428, allocations: 112 / 473.4 MB, free: 9.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002499/0.1431, allocations: 141.4 kB / 473.6 MB, free: 9.547 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.1431, allocations: 4 kB / 473.6 MB, free: 9.543 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1431, allocations: 0 / 473.6 MB, free: 9.543 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.1431, allocations: 3.938 kB / 473.6 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.1433, allocations: 31.92 kB / 473.6 MB, free: 9.508 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.1433, allocations: 0.7031 kB / 473.6 MB, free: 9.508 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.181e-05/0.1433, allocations: 11.98 kB / 473.6 MB, free: 9.496 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.457e-06/0.1433, allocations: 4 kB / 473.6 MB, free: 9.492 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 8.595e-05/0.1434, allocations: 117.8 kB / 473.7 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.252e-05/0.1435, allocations: 7.906 kB / 473.8 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003286/0.1438, allocations: 170.3 kB / 473.9 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.1438, allocations: 4 kB / 473.9 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.1438, allocations: 0 / 473.9 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1438, allocations: 0 / 473.9 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005808/0.1444, allocations: 463.1 kB / 474.4 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.798e-06/0.1444, allocations: 0 / 474.4 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.885e-05/0.1445, allocations: 31.95 kB / 474.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.1446, allocations: 4 kB / 474.4 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.1446, allocations: 4 kB / 474.4 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1446, allocations: 4 kB / 474.4 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.1446, allocations: 3.938 kB / 474.4 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002989/0.1449, allocations: 241.9 kB / 474.7 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.204e-05/0.1449, allocations: 89.02 kB / 474.7 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.145, allocations: 3.938 kB / 474.8 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.146e-05/0.145, allocations: 8 kB / 474.8 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.867e-05/0.1451, allocations: 7.984 kB / 474.8 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.1451, allocations: 4 kB / 474.8 MB, free: 8.238 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.503e-05/0.1452, allocations: 125.1 kB / 474.9 MB, free: 8.117 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1452, allocations: 0 / 474.9 MB, free: 8.117 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002551/0.1455, allocations: 27.89 kB / 474.9 MB, free: 8.09 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.0009959/0.1465, allocations: 451.2 kB / 475.4 MB, free: 7.828 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002649/0.1467, allocations: 107.9 kB / 475.5 MB, free: 7.723 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1468, allocations: 4 kB / 475.5 MB, free: 7.719 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001129/0.1469, allocations: 47.92 kB / 475.5 MB, free: 7.672 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003682/0.1472, allocations: 19.98 kB / 475.5 MB, free: 7.652 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005018/0.1478, allocations: 276.7 kB / 475.8 MB, free: 7.352 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003688/0.1481, allocations: 0.7043 MB / 476.5 MB, free: 6.621 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.914e-05/0.1482, allocations: 24.39 kB / 476.5 MB, free: 6.598 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.955e-05/0.1483, allocations: 15.44 kB / 476.6 MB, free: 6.582 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1483, allocations: 8 kB / 476.6 MB, free: 6.574 MB / 350.1 MB Notification: Performance of Templates: time 0.00467/0.1529, allocations: 1.417 MB / 478 MB, free: 5.164 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches