Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009221/0.0009224, allocations: 95.5 kB / 17 MB, free: 6.418 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.001001/0.001001, allocations: 189.4 kB / 17.89 MB, free: 5.945 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.475/1.475, allocations: 223.2 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.2739/0.2739, allocations: 44.25 MB / 337.3 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003113/0.0003113, allocations: 11.94 kB / 409.7 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.143, allocations: 61.93 MB / 471.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.002122/0.1452, allocations: 1.27 MB / 472.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000718/0.1459, allocations: 383.6 kB / 473.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.975e-05/0.146, allocations: 3.938 kB / 473.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003213/0.1463, allocations: 71.83 kB / 473.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002158/0.1466, allocations: 51.88 kB / 473.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003306/0.1469, allocations: 75.48 kB / 473.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001936/0.1471, allocations: 63.81 kB / 473.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001564/0.1473, allocations: 16.17 kB / 473.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.932e-05/0.1474, allocations: 27.86 kB / 473.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.1475, allocations: 47.81 kB / 473.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.1475, allocations: 0 / 473.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.876e-05/0.1477, allocations: 35.98 kB / 473.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.055e-05/0.1477, allocations: 19.92 kB / 473.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.569e-05/0.1478, allocations: 41.62 kB / 473.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001657/0.1479, allocations: 63.91 kB / 473.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.148, allocations: 0 / 473.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.148, allocations: 0 / 473.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.148, allocations: 4 kB / 473.7 MB, free: 11.53 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.000602/0.1486, allocations: 399.2 kB / 474.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/0.1486, allocations: 8.562 kB / 474.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.413e-05/0.1487, allocations: 7.906 kB / 474.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002416/0.1489, allocations: 194.9 kB / 474.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.739e-06/0.149, allocations: 0 / 474.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.88e-05/0.149, allocations: 8 kB / 474.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/0.1492, allocations: 61.56 kB / 474.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.1492, allocations: 7.891 kB / 474.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.1492, allocations: 0 / 474.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.1492, allocations: 4 kB / 474.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.959e-05/0.1493, allocations: 23.98 kB / 474.4 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004417/0.1498, allocations: 292.8 kB / 474.7 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.1499, allocations: 46.5 kB / 474.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.866e-05/0.15, allocations: 20.94 kB / 474.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/0.15, allocations: 8.062 kB / 474.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.15, allocations: 30.56 kB / 474.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.15, allocations: 0 / 474.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009279/0.151, allocations: 253 kB / 475.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/0.151, allocations: 51.41 kB / 475.1 MB, free: 9.961 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002114/0.1513, allocations: 210.2 kB / 475.3 MB, free: 9.746 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.1513, allocations: 25.7 kB / 475.4 MB, free: 9.715 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.1514, allocations: 112 kB / 475.5 MB, free: 9.602 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.519e-05/0.1514, allocations: 23.64 kB / 475.5 MB, free: 9.578 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/0.1514, allocations: 4 kB / 475.5 MB, free: 9.574 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.1516, allocations: 322.8 kB / 475.8 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.156e-05/0.1517, allocations: 31.98 kB / 475.8 MB, free: 9.219 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.821e-05/0.1518, allocations: 31.86 kB / 475.9 MB, free: 9.188 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.634e-05/0.1519, allocations: 39.92 kB / 475.9 MB, free: 9.148 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1519, allocations: 0 / 475.9 MB, free: 9.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002047/0.1521, allocations: 109.5 kB / 476 MB, free: 9.035 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.1521, allocations: 4 kB / 476 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.1521, allocations: 4 kB / 476 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.1521, allocations: 7.984 kB / 476 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.1523, allocations: 16 kB / 476.1 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.1523, allocations: 0 / 476.1 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.109e-05/0.1523, allocations: 7.984 kB / 476.1 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.1523, allocations: 4 kB / 476.1 MB, free: 8.992 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 (8): * Single equations (assignments): 8 * 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 0.0001328/0.1525, allocations: 133.7 kB / 476.2 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.05e-05/0.1525, allocations: 11.91 kB / 476.2 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003006/0.1528, allocations: 118.4 kB / 476.3 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.1528, allocations: 0 / 476.3 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.1529, allocations: 7.984 kB / 476.3 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.1529, allocations: 0 / 476.3 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005742/0.1534, allocations: 415.2 kB / 476.7 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1535, allocations: 0 / 476.7 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.585e-05/0.1535, allocations: 23.92 kB / 476.8 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.1535, allocations: 0 / 476.8 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.1536, allocations: 8.031 kB / 476.8 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1536, allocations: 0 / 476.8 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.1536, allocations: 0 / 476.8 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002642/0.1538, allocations: 213.1 kB / 477 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.999e-05/0.1539, allocations: 96.91 kB / 477.1 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.1539, allocations: 0 / 477.1 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.644e-05/0.154, allocations: 4 kB / 477.1 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.127e-05/0.154, allocations: 7.984 kB / 477.1 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.1541, allocations: 11.94 kB / 477.1 MB, free: 7.852 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001319/0.1542, allocations: 159.2 kB / 477.2 MB, free: 7.695 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1542, allocations: 0 / 477.2 MB, free: 7.695 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002511/0.1545, allocations: 16 kB / 477.3 MB, free: 7.68 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 (8): * Single equations (assignments): 8 * 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.001165/0.1556, allocations: 471.4 kB / 477.7 MB, free: 7.398 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002647/0.1559, allocations: 75.95 kB / 477.8 MB, free: 7.324 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1559, allocations: 0 / 477.8 MB, free: 7.324 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.609e-05/0.156, allocations: 35.92 kB / 477.8 MB, free: 7.289 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003747/0.1564, allocations: 19.98 kB / 477.9 MB, free: 7.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004983/0.1569, allocations: 262.5 kB / 478.1 MB, free: 6.977 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003359/0.1572, allocations: 0.7122 MB / 478.8 MB, free: 6.238 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.308e-05/0.1573, allocations: 8.922 kB / 478.8 MB, free: 6.223 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.027e-05/0.1573, allocations: 15.44 kB / 478.8 MB, free: 6.211 MB / 350.1 MB Notification: Performance of SimCode: time 2.284e-06/0.1574, allocations: 0 / 478.8 MB, free: 6.211 MB / 350.1 MB Notification: Performance of Templates: time 0.004208/0.1616, allocations: 1.236 MB / 480.1 MB, free: 4.98 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches