Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.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.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test23,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.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009362/0.000936, allocations: 92.05 kB / 16.98 MB, free: 6.398 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.001084/0.001085, allocations: 183.2 kB / 17.87 MB, free: 5.957 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.457/1.457, allocations: 223.2 MB / 241.8 MB, free: 14.64 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.2358/0.2358, allocations: 44.22 MB / 337.1 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002935/0.0002936, allocations: 14.91 kB / 409.5 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1368, allocations: 61.91 MB / 471.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.001933/0.1388, allocations: 1.263 MB / 472.7 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001319/0.1401, allocations: 0.9414 MB / 473.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.506e-05/0.1402, allocations: 0 / 473.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001859/0.1404, allocations: 19.91 kB / 473.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001511/0.1405, allocations: 31.84 kB / 473.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002213/0.1408, allocations: 71.84 kB / 473.8 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.1409, allocations: 39.89 kB / 473.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.141, allocations: 8 kB / 473.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.548e-05/0.1411, allocations: 27.84 kB / 473.8 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.1412, allocations: 23.86 kB / 473.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.1412, allocations: 0 / 473.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.824e-05/0.1413, allocations: 27.98 kB / 473.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.676e-05/0.1414, allocations: 7.984 kB / 473.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.689e-05/0.1414, allocations: 33.64 kB / 473.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001329/0.1415, allocations: 63.84 kB / 474 MB, free: 11.17 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.1415, allocations: 4 kB / 474 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1416, allocations: 4 kB / 474 MB, free: 11.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.1416, allocations: 0 / 474 MB, free: 11.16 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.0004643/0.142, allocations: 371.4 kB / 474.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/0.1421, allocations: 12.56 kB / 474.4 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.609e-05/0.1421, allocations: 0 / 474.4 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002137/0.1424, allocations: 190.9 kB / 474.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.1424, allocations: 3.938 kB / 474.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.894e-05/0.1424, allocations: 7.953 kB / 474.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.1426, allocations: 63.41 kB / 474.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.1426, allocations: 0 / 474.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.1426, allocations: 4 kB / 474.6 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.1426, allocations: 0 / 474.6 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001351/0.1428, allocations: 23.98 kB / 474.7 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004357/0.1432, allocations: 280.8 kB / 474.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002225/0.1435, allocations: 42.56 kB / 475 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.1435, allocations: 0 / 475 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.1435, allocations: 34.64 kB / 475 MB, free: 9.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.1435, allocations: 4 kB / 475 MB, free: 9.977 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005473/0.1441, allocations: 153.3 kB / 475.2 MB, free: 9.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.37e-05/0.1441, allocations: 89.05 kB / 475.3 MB, free: 9.715 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.1443, allocations: 132.8 kB / 475.4 MB, free: 9.578 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.1443, allocations: 29.7 kB / 475.4 MB, free: 9.543 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.033e-05/0.1444, allocations: 88.14 kB / 475.5 MB, free: 9.453 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.946e-05/0.1444, allocations: 19.75 kB / 475.5 MB, free: 9.434 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-06/0.1444, allocations: 0 / 475.5 MB, free: 9.434 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.1445, allocations: 322.8 kB / 475.8 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.71e-05/0.1446, allocations: 23.98 kB / 475.9 MB, free: 9.086 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.262e-05/0.1447, allocations: 41.64 kB / 475.9 MB, free: 9.039 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.938e-05/0.1447, allocations: 19.98 kB / 475.9 MB, free: 9.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1447, allocations: 4 kB / 475.9 MB, free: 9.016 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000172/0.1449, allocations: 85.61 kB / 476 MB, free: 8.926 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.1449, allocations: 4 kB / 476 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1449, allocations: 0 / 476 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.145, allocations: 0 / 476 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.146e-05/0.145, allocations: 15.98 kB / 476 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.145, allocations: 0 / 476 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.505e-05/0.1451, allocations: 15.98 kB / 476 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.1451, allocations: 4 kB / 476 MB, free: 8.887 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.677e-05/0.1452, allocations: 117.7 kB / 476.2 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.858e-05/0.1452, allocations: 7.906 kB / 476.2 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002249/0.1455, allocations: 101.9 kB / 476.3 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.1455, allocations: 0 / 476.3 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.1455, allocations: 4 kB / 476.3 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.1455, allocations: 4 kB / 476.3 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003958/0.1459, allocations: 358.4 kB / 476.6 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1459, allocations: 4.281 kB / 476.6 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.366e-05/0.146, allocations: 12 kB / 476.6 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.146, allocations: 0 / 476.6 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.563e-06/0.146, allocations: 0 / 476.6 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.146, allocations: 3.984 kB / 476.6 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.146, allocations: 4 kB / 476.7 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002315/0.1462, allocations: 187.4 kB / 476.8 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.581e-05/0.1463, allocations: 89 kB / 476.9 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/0.1463, allocations: 0 / 476.9 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.067e-05/0.1464, allocations: 15.88 kB / 476.9 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.906e-05/0.1464, allocations: 7.984 kB / 476.9 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.1465, allocations: 0 / 476.9 MB, free: 7.883 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.077e-05/0.1465, allocations: 111.3 kB / 477.1 MB, free: 7.773 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1465, allocations: 0 / 477.1 MB, free: 7.773 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002488/0.1468, allocations: 20 kB / 477.1 MB, free: 7.754 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 (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.0009314/0.1477, allocations: 436.6 kB / 477.5 MB, free: 7.492 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002129/0.148, allocations: 55.97 kB / 477.6 MB, free: 7.438 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.148, allocations: 0 / 477.6 MB, free: 7.438 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.411e-05/0.1481, allocations: 31.91 kB / 477.6 MB, free: 7.406 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002618/0.1483, allocations: 26.7 kB / 477.6 MB, free: 7.383 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004378/0.1488, allocations: 168.8 kB / 477.8 MB, free: 7.191 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/0.1491, allocations: 0.6887 MB / 478.5 MB, free: 6.477 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.854e-05/0.1492, allocations: 15.97 kB / 478.5 MB, free: 6.461 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.524e-05/0.1492, allocations: 15.44 kB / 478.5 MB, free: 6.445 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1492, allocations: 0 / 478.5 MB, free: 6.445 MB / 350.1 MB Notification: Performance of Templates: time 0.004194/0.1534, allocations: 1.274 MB / 479.8 MB, free: 5.18 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches