Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007538/0.0007538, allocations: 94.8 kB / 17.35 MB, free: 6.375 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.0008553/0.0008555, allocations: 176.7 kB / 18.25 MB, free: 5.523 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.414/1.414, allocations: 223.3 MB / 242.3 MB, free: 14.5 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.2159/0.2159, allocations: 44.25 MB / 337.7 MB, free: 2.445 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003278/0.0003278, allocations: 8 kB / 410.3 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1338, allocations: 61.92 MB / 472.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.002442/0.1363, allocations: 1.274 MB / 473.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00158/0.1379, allocations: 0.9843 MB / 474.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.538e-05/0.1379, allocations: 0 / 474.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000227/0.1382, allocations: 19.92 kB / 474.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001711/0.1384, allocations: 35.91 kB / 474.6 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002428/0.1386, allocations: 75.78 kB / 474.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001492/0.1388, allocations: 51.84 kB / 474.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.1389, allocations: 19.97 kB / 474.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.644e-05/0.1389, allocations: 15.94 kB / 474.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001604/0.1391, allocations: 27.84 kB / 474.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.1391, allocations: 0 / 474.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.1392, allocations: 47.92 kB / 474.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.342e-05/0.1393, allocations: 15.91 kB / 474.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001437/0.1395, allocations: 41.58 kB / 474.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001945/0.1397, allocations: 83.77 kB / 474.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.197e-06/0.1397, allocations: 4 kB / 474.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1397, allocations: 0 / 474.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.1397, allocations: 4 kB / 474.9 MB, free: 10.62 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005997/0.1403, allocations: 371.6 kB / 475.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/0.1404, allocations: 8.031 kB / 475.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.393e-05/0.1404, allocations: 8.875 kB / 475.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002287/0.1407, allocations: 187.3 kB / 475.5 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.1407, allocations: 4.375 kB / 475.5 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.616e-05/0.1407, allocations: 384 / 475.5 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/0.1409, allocations: 79.45 kB / 475.6 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.1409, allocations: 0 / 475.6 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.1409, allocations: 0 / 475.6 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.141, allocations: 3.938 kB / 475.6 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.743e-05/0.1411, allocations: 23.98 kB / 475.6 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004164/0.1415, allocations: 280.8 kB / 475.9 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002197/0.1417, allocations: 42.5 kB / 475.9 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.086e-05/0.1418, allocations: 16.86 kB / 476 MB, free: 9.457 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.775e-05/0.1418, allocations: 8.078 kB / 476 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.1418, allocations: 34.56 kB / 476 MB, free: 9.406 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.213e-06/0.1419, allocations: 0 / 476 MB, free: 9.406 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005708/0.1424, allocations: 149.4 kB / 476.1 MB, free: 9.254 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.596e-05/0.1425, allocations: 77.11 kB / 476.2 MB, free: 9.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/0.1426, allocations: 137.8 kB / 476.3 MB, free: 9.016 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.1427, allocations: 25.7 kB / 476.4 MB, free: 8.984 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.773e-05/0.1427, allocations: 92.14 kB / 476.5 MB, free: 8.891 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.415e-05/0.1428, allocations: 19.66 kB / 476.5 MB, free: 8.871 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.894e-05/0.1428, allocations: 17.7 kB / 476.5 MB, free: 8.848 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000188/0.143, allocations: 318.8 kB / 476.8 MB, free: 8.527 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.168e-05/0.1431, allocations: 23.98 kB / 476.8 MB, free: 8.504 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.234e-05/0.1432, allocations: 41.64 kB / 476.9 MB, free: 8.457 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/0.1433, allocations: 52.86 kB / 476.9 MB, free: 8.402 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.1433, allocations: 4 kB / 476.9 MB, free: 8.398 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002125/0.1435, allocations: 77.67 kB / 477 MB, free: 8.316 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.1436, allocations: 4 kB / 477 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.1436, allocations: 0 / 477 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.1436, allocations: 7.984 kB / 477 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.121e-05/0.1437, allocations: 16.25 kB / 477 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.1437, allocations: 4 kB / 477 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.489e-05/0.1437, allocations: 11.98 kB / 477 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.1437, allocations: 0 / 477 MB, free: 8.273 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 (5): * Single equations (assignments): 5 * 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 9.815e-05/0.1438, allocations: 122.2 kB / 477.2 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.036e-05/0.1439, allocations: 7.906 kB / 477.2 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002291/0.1441, allocations: 93.62 kB / 477.3 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.1441, allocations: 4 kB / 477.3 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.1441, allocations: 0 / 477.3 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1441, allocations: 0 / 477.3 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004961/0.1446, allocations: 366.3 kB / 477.6 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1447, allocations: 7.875 kB / 477.6 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.538e-05/0.1447, allocations: 15.98 kB / 477.7 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1447, allocations: 0 / 477.7 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.1447, allocations: 4 kB / 477.7 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.1448, allocations: 3.938 kB / 477.7 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.061e-06/0.1448, allocations: 0 / 477.7 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002214/0.145, allocations: 183.8 kB / 477.8 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.538e-05/0.1451, allocations: 89 kB / 477.9 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.1451, allocations: 0 / 477.9 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.359e-05/0.1452, allocations: 15.94 kB / 477.9 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.143e-05/0.1452, allocations: 7.969 kB / 478 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-06/0.1452, allocations: 4 kB / 478 MB, free: 7.262 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.332e-05/0.1453, allocations: 99.27 kB / 478.1 MB, free: 7.164 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1453, allocations: 0 / 478.1 MB, free: 7.164 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002554/0.1456, allocations: 27.98 kB / 478.1 MB, free: 7.137 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.00106/0.1466, allocations: 447.4 kB / 478.5 MB, free: 6.867 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002055/0.1469, allocations: 51.97 kB / 478.6 MB, free: 6.816 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1469, allocations: 0 / 478.6 MB, free: 6.816 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.048e-05/0.147, allocations: 36.05 kB / 478.6 MB, free: 6.781 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.1473, allocations: 15.98 kB / 478.6 MB, free: 6.766 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004236/0.1477, allocations: 172.7 kB / 478.8 MB, free: 6.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003093/0.148, allocations: 0.6926 MB / 479.5 MB, free: 5.852 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.82e-05/0.1481, allocations: 4 kB / 479.5 MB, free: 5.848 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.912e-05/0.1481, allocations: 15.42 kB / 479.5 MB, free: 5.832 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1482, allocations: 0 / 479.5 MB, free: 5.832 MB / 350.1 MB Notification: Performance of Templates: time 0.004074/0.1522, allocations: 1.306 MB / 480.8 MB, free: 4.535 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches