Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001077/0.001077, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.362/1.362, allocations: 205.1 MB / 222.5 MB, free: 8.477 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001143/0.001143, allocations: 102.4 kB / 269.9 MB, free: 8.441 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3663/0.3663, allocations: 43.48 MB / 360.7 MB, free: 51.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 51.92 kB / 429.2 MB, free: 6.406 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1394, allocations: 57.77 MB / 487 MB, free: 12.56 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.003422/0.1428, allocations: 1.613 MB / 488.6 MB, free: 10.93 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001405/0.1443, allocations: 0.9142 MB / 489.5 MB, free: 10.01 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.454e-05/0.1443, allocations: 0 / 489.5 MB, free: 10.01 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002199/0.1446, allocations: 23.92 kB / 489.6 MB, free: 9.988 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001611/0.1448, allocations: 39.84 kB / 489.6 MB, free: 9.949 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002191/0.145, allocations: 63.8 kB / 489.7 MB, free: 9.887 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001339/0.1451, allocations: 55.78 kB / 489.7 MB, free: 9.832 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.1453, allocations: 15.97 kB / 489.7 MB, free: 9.816 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.918e-05/0.1453, allocations: 19.92 kB / 489.8 MB, free: 9.797 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000144/0.1455, allocations: 23.86 kB / 489.8 MB, free: 9.773 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.94e-05/0.1455, allocations: 4 kB / 489.8 MB, free: 9.77 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001248/0.1456, allocations: 55.95 kB / 489.8 MB, free: 9.715 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.308e-05/0.1457, allocations: 4 kB / 489.8 MB, free: 9.711 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.276e-05/0.1458, allocations: 19.86 kB / 489.9 MB, free: 9.691 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001983/0.146, allocations: 91.94 kB / 489.9 MB, free: 9.602 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.146, allocations: 7.984 kB / 490 MB, free: 9.594 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.146, allocations: 0 / 490 MB, free: 9.594 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.96e-06/0.146, allocations: 0 / 490 MB, free: 9.594 MB / 378.7 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.0005129/0.1465, allocations: 375.2 kB / 490.3 MB, free: 9.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.1466, allocations: 8.031 kB / 490.3 MB, free: 9.172 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.734e-05/0.1466, allocations: 8.938 kB / 490.3 MB, free: 9.164 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002044/0.1468, allocations: 188.2 kB / 490.5 MB, free: 8.941 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.1469, allocations: 384 / 490.5 MB, free: 8.941 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.061e-05/0.1469, allocations: 4.281 kB / 490.5 MB, free: 8.938 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.1471, allocations: 71.45 kB / 490.6 MB, free: 8.855 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.1471, allocations: 4 kB / 490.6 MB, free: 8.852 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.1471, allocations: 0 / 490.6 MB, free: 8.852 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1471, allocations: 0 / 490.6 MB, free: 8.852 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.21e-05/0.1472, allocations: 23.98 kB / 490.6 MB, free: 8.828 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003578/0.1476, allocations: 268.9 kB / 490.9 MB, free: 8.516 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002051/0.1478, allocations: 46.5 kB / 490.9 MB, free: 8.461 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.579e-05/0.1478, allocations: 12.86 kB / 490.9 MB, free: 8.445 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.1479, allocations: 0 / 490.9 MB, free: 8.445 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.1479, allocations: 42.64 kB / 491 MB, free: 8.395 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.1479, allocations: 0 / 491 MB, free: 8.395 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005366/0.1485, allocations: 133.4 kB / 491.1 MB, free: 8.258 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/0.1485, allocations: 81.11 kB / 491.2 MB, free: 8.16 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.1487, allocations: 129.8 kB / 491.3 MB, free: 8.023 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.1487, allocations: 33.7 kB / 491.4 MB, free: 7.984 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.63e-05/0.1487, allocations: 95.98 kB / 491.4 MB, free: 7.887 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.284e-05/0.1488, allocations: 15.8 kB / 491.5 MB, free: 7.871 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.217e-05/0.1488, allocations: 17.7 kB / 491.5 MB, free: 7.848 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.1489, allocations: 322.8 kB / 491.8 MB, free: 7.523 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.688e-05/0.149, allocations: 15.98 kB / 491.8 MB, free: 7.508 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.318e-05/0.1491, allocations: 37.7 kB / 491.8 MB, free: 7.465 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/0.1492, allocations: 40.83 kB / 491.9 MB, free: 7.422 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1492, allocations: 8.062 kB / 491.9 MB, free: 7.414 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001726/0.1494, allocations: 89.52 kB / 492 MB, free: 7.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.1494, allocations: 4 kB / 492 MB, free: 7.316 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.1494, allocations: 3.984 kB / 492 MB, free: 7.312 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.1495, allocations: 4 kB / 492 MB, free: 7.309 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.937e-05/0.1495, allocations: 12.03 kB / 492 MB, free: 7.297 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.1495, allocations: 0 / 492 MB, free: 7.297 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.039e-05/0.1496, allocations: 7.984 kB / 492 MB, free: 7.289 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-06/0.1496, allocations: 0 / 492 MB, free: 7.289 MB / 378.7 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 0.0001034/0.1497, allocations: 121.8 kB / 492.1 MB, free: 7.16 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.341e-05/0.1497, allocations: 4 kB / 492.1 MB, free: 7.156 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002136/0.15, allocations: 93.56 kB / 492.2 MB, free: 7.059 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.15, allocations: 4 kB / 492.2 MB, free: 7.055 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.15, allocations: 0 / 492.2 MB, free: 7.055 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.15, allocations: 0 / 492.2 MB, free: 7.055 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004024/0.1504, allocations: 350.3 kB / 492.6 MB, free: 6.656 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.1504, allocations: 0 / 492.6 MB, free: 6.656 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.007e-05/0.1505, allocations: 11.98 kB / 492.6 MB, free: 6.645 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.1505, allocations: 0 / 492.6 MB, free: 6.645 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.333e-06/0.1505, allocations: 0 / 492.6 MB, free: 6.645 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.399e-06/0.1505, allocations: 11.94 kB / 492.6 MB, free: 6.633 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1505, allocations: 0 / 492.6 MB, free: 6.633 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005079/0.151, allocations: 0.7436 MB / 493.3 MB, free: 5.832 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.847e-05/0.1511, allocations: 85.02 kB / 493.4 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.1511, allocations: 4 kB / 493.4 MB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.972e-05/0.1512, allocations: 11.98 kB / 493.4 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.198e-05/0.1512, allocations: 0 / 493.4 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.1512, allocations: 4 kB / 493.4 MB, free: 5.711 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.717e-05/0.1513, allocations: 111.8 kB / 493.6 MB, free: 5.602 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1513, allocations: 0 / 493.6 MB, free: 5.602 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003417/0.1517, allocations: 20 kB / 493.6 MB, free: 5.582 MB / 378.7 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.0009148/0.1526, allocations: 449.9 kB / 494 MB, free: 5.191 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001893/0.1528, allocations: 47.91 kB / 494.1 MB, free: 5.145 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1528, allocations: 0 / 494.1 MB, free: 5.145 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.454e-05/0.1529, allocations: 27.92 kB / 494.1 MB, free: 5.117 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.1532, allocations: 19.92 kB / 494.1 MB, free: 5.098 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004748/0.1537, allocations: 294.1 kB / 494.4 MB, free: 4.766 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002779/0.154, allocations: 0.6887 MB / 495.1 MB, free: 4.051 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.696e-05/0.1541, allocations: 15.86 kB / 495.1 MB, free: 4.035 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.577e-05/0.1541, allocations: 19.36 kB / 495.1 MB, free: 4.02 MB / 378.7 MB Notification: Performance of SimCode: time 3.31e-07/0.1541, allocations: 0 / 495.1 MB, free: 4.02 MB / 378.7 MB Notification: Performance of Templates: time 0.003856/0.158, allocations: 1.307 MB / 496.4 MB, free: 2.711 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches