Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001625/0.001625, allocations: 101.1 kB / 16.26 MB, free: 5.93 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.00132/0.00132, allocations: 190.9 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.587/1.587, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2697/0.2697, allocations: 43.52 MB / 313.9 MB, free: 0.5234 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001684/0.001685, allocations: 69.47 kB / 382.7 MB, free: 56.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1479, allocations: 57.79 MB / 440.5 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.003204/0.1512, allocations: 1.574 MB / 442.1 MB, free: 5.301 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001351/0.1526, allocations: 0.9338 MB / 443 MB, free: 4.359 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.721e-05/0.1527, allocations: 4 kB / 443 MB, free: 4.355 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00026/0.153, allocations: 19.86 kB / 443.1 MB, free: 4.336 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002384/0.1533, allocations: 43.78 kB / 443.1 MB, free: 4.293 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00026/0.1535, allocations: 75.78 kB / 443.2 MB, free: 4.219 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001334/0.1537, allocations: 67.88 kB / 443.2 MB, free: 4.152 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.1538, allocations: 20.12 kB / 443.3 MB, free: 4.133 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.195e-05/0.1539, allocations: 23.86 kB / 443.3 MB, free: 4.109 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001396/0.154, allocations: 31.84 kB / 443.3 MB, free: 4.078 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.825e-05/0.154, allocations: 4 kB / 443.3 MB, free: 4.074 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001252/0.1542, allocations: 51.91 kB / 443.4 MB, free: 4.023 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.866e-05/0.1542, allocations: 15.98 kB / 443.4 MB, free: 4.008 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.917e-05/0.1543, allocations: 31.8 kB / 443.4 MB, free: 3.977 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002057/0.1545, allocations: 87.77 kB / 443.5 MB, free: 3.891 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1545, allocations: 4 kB / 443.5 MB, free: 3.887 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1545, allocations: 0 / 443.5 MB, free: 3.887 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.1545, allocations: 0 / 443.5 MB, free: 3.887 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004322/0.155, allocations: 391.1 kB / 443.9 MB, free: 3.457 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.155, allocations: 15.89 kB / 443.9 MB, free: 3.441 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.868e-05/0.1551, allocations: 8.844 kB / 443.9 MB, free: 3.434 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001642/0.1552, allocations: 184.3 kB / 444.1 MB, free: 3.215 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.1552, allocations: 8.312 kB / 444.1 MB, free: 3.207 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.446e-05/0.1553, allocations: 4.375 kB / 444.1 MB, free: 3.203 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.1554, allocations: 75.33 kB / 444.2 MB, free: 3.117 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.1555, allocations: 0 / 444.2 MB, free: 3.117 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.1555, allocations: 4 kB / 444.2 MB, free: 3.113 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.1555, allocations: 0 / 444.2 MB, free: 3.113 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.403e-05/0.1556, allocations: 27.97 kB / 444.2 MB, free: 3.086 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003447/0.1559, allocations: 308.6 kB / 444.5 MB, free: 2.734 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.893e-05/0.156, allocations: 54.55 kB / 444.6 MB, free: 2.672 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.481e-05/0.1561, allocations: 16.98 kB / 444.6 MB, free: 2.652 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.371e-05/0.1562, allocations: 0 / 444.6 MB, free: 2.652 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/0.1562, allocations: 38.5 kB / 444.6 MB, free: 2.605 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 8.92e-07/0.1562, allocations: 0 / 444.6 MB, free: 2.605 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006267/0.1568, allocations: 173.3 kB / 444.8 MB, free: 2.43 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.034e-05/0.1569, allocations: 77.11 kB / 444.9 MB, free: 2.336 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.157, allocations: 145.8 kB / 445 MB, free: 2.184 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.157, allocations: 25.7 kB / 445 MB, free: 2.152 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.508e-05/0.1571, allocations: 100.1 kB / 445.1 MB, free: 2.051 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.653e-05/0.1571, allocations: 19.7 kB / 445.1 MB, free: 2.031 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.972e-05/0.1572, allocations: 33.62 kB / 445.2 MB, free: 1.992 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.669e-05/0.1573, allocations: 318.8 kB / 445.5 MB, free: 1.672 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.58e-05/0.1574, allocations: 27.97 kB / 445.5 MB, free: 1.645 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.004e-05/0.1574, allocations: 33.7 kB / 445.5 MB, free: 1.605 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001278/0.1576, allocations: 64.86 kB / 445.6 MB, free: 1.539 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.1576, allocations: 0 / 445.6 MB, free: 1.539 MB / 318.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001773/0.1578, allocations: 93.58 kB / 445.7 MB, free: 1.441 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.1578, allocations: 11.94 kB / 445.7 MB, free: 1.43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.1578, allocations: 3.984 kB / 445.7 MB, free: 1.426 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.1578, allocations: 0 / 445.7 MB, free: 1.426 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.158, allocations: 15.94 kB / 445.7 MB, free: 1.41 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.158, allocations: 3.984 kB / 445.7 MB, free: 1.406 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.552e-05/0.1581, allocations: 11.94 kB / 445.7 MB, free: 1.395 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.1581, allocations: 4 kB / 445.8 MB, free: 1.391 MB / 318.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 (8): * Single equations (assignments): 8 * 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 7.334e-05/0.1582, allocations: 117.8 kB / 445.9 MB, free: 1.266 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.363e-05/0.1582, allocations: 7.906 kB / 445.9 MB, free: 1.258 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002434/0.1585, allocations: 134.5 kB / 446 MB, free: 1.117 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.1585, allocations: 0 / 446 MB, free: 1.117 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1585, allocations: 7.984 kB / 446 MB, free: 1.109 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.1585, allocations: 3.938 kB / 446 MB, free: 1.105 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003685/0.1589, allocations: 374.5 kB / 446.4 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.1589, allocations: 0 / 446.4 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.19e-05/0.1589, allocations: 23.92 kB / 446.4 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.159, allocations: 3.938 kB / 446.4 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.159, allocations: 0 / 446.4 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.159, allocations: 4 kB / 446.4 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.159, allocations: 0 / 446.4 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002095/0.1592, allocations: 195.4 kB / 446.6 MB, free: 456 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.783e-05/0.1592, allocations: 89.02 kB / 446.7 MB, free: 348 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.1593, allocations: 3.938 kB / 446.7 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.432e-05/0.1593, allocations: 4 kB / 446.7 MB, free: 340 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.864e-05/0.1594, allocations: 11.98 kB / 446.7 MB, free: 328 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.778e-06/0.1594, allocations: 0 / 446.7 MB, free: 328 kB / 318.1 MB Notification: Performance of sorting global known variables: time 5.951e-05/0.1595, allocations: 114.9 kB / 446.8 MB, free: 216 kB / 318.1 MB Notification: Performance of sort global known variables: time 6.61e-07/0.1595, allocations: 3.938 kB / 446.8 MB, free: 212 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002522/0.1597, allocations: 24 kB / 446.8 MB, free: 188 kB / 318.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 (8): * Single equations (assignments): 8 * 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.001008/0.1607, allocations: 443 kB / 447.3 MB, free: 15.83 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002647/0.161, allocations: 67.91 kB / 447.3 MB, free: 15.77 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.161, allocations: 0 / 447.3 MB, free: 15.77 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.482e-05/0.1611, allocations: 35.92 kB / 447.4 MB, free: 15.73 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003858/0.1615, allocations: 15.98 kB / 447.4 MB, free: 15.72 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004974/0.162, allocations: 182.4 kB / 447.6 MB, free: 15.52 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002896/0.1623, allocations: 0.6924 MB / 448.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.019e-05/0.1624, allocations: 12.66 kB / 448.3 MB, free: 14.79 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.015e-05/0.1625, allocations: 23.42 kB / 448.3 MB, free: 14.76 MB / 334.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1625, allocations: 0 / 448.3 MB, free: 14.76 MB / 334.1 MB Notification: Performance of Templates: time 0.004537/0.167, allocations: 1.445 MB / 449.7 MB, free: 13.32 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches