Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.Test15,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.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",fileNamePrefix="ModelicaTest_3.2.3_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.001524/0.001523, allocations: 99.39 kB / 15.98 MB, free: 6.34 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.001409/0.001408, allocations: 198.2 kB / 16.91 MB, free: 6.188 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.75/1.75, allocations: 205.1 MB / 222.8 MB, free: 12.44 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.2395/0.2395, allocations: 43.52 MB / 313.6 MB, free: 0.707 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.001607/0.001607, allocations: 67.25 kB / 382.2 MB, free: 56.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1232, allocations: 57.8 MB / 440 MB, free: 7.359 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.002674/0.126, allocations: 1.611 MB / 441.6 MB, free: 5.727 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004984/0.1265, allocations: 308.2 kB / 441.9 MB, free: 5.422 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.211e-05/0.1266, allocations: 0 / 441.9 MB, free: 5.422 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002678/0.1268, allocations: 75.77 kB / 442 MB, free: 5.348 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00017/0.127, allocations: 55.81 kB / 442.1 MB, free: 5.293 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001972/0.1272, allocations: 71.34 kB / 442.1 MB, free: 5.227 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001273/0.1274, allocations: 59.89 kB / 442.2 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.958e-05/0.1275, allocations: 19.94 kB / 442.2 MB, free: 5.148 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.754e-05/0.1275, allocations: 31.89 kB / 442.2 MB, free: 5.117 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.839e-05/0.1276, allocations: 55.81 kB / 442.3 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.1276, allocations: 4 kB / 442.3 MB, free: 5.059 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.408e-05/0.1277, allocations: 31.94 kB / 442.3 MB, free: 5.027 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.486e-05/0.1278, allocations: 19.92 kB / 442.3 MB, free: 5.008 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.217e-05/0.1278, allocations: 27.75 kB / 442.4 MB, free: 4.98 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000133/0.128, allocations: 83.77 kB / 442.5 MB, free: 4.898 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.128, allocations: 4 kB / 442.5 MB, free: 4.895 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.128, allocations: 4 kB / 442.5 MB, free: 4.891 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.128, allocations: 0 / 442.5 MB, free: 4.891 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004146/0.1284, allocations: 402.9 kB / 442.9 MB, free: 4.449 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.1285, allocations: 11.89 kB / 442.9 MB, free: 4.438 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.309e-05/0.1285, allocations: 8.844 kB / 442.9 MB, free: 4.43 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.1287, allocations: 200.9 kB / 443.1 MB, free: 4.195 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.1287, allocations: 384 / 443.1 MB, free: 4.195 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/0.1287, allocations: 4.375 kB / 443.1 MB, free: 4.191 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.1288, allocations: 49.81 kB / 443.1 MB, free: 4.137 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.1289, allocations: 0 / 443.1 MB, free: 4.137 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.1289, allocations: 0 / 443.1 MB, free: 4.137 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.1289, allocations: 4 kB / 443.1 MB, free: 4.133 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.283e-05/0.129, allocations: 23.97 kB / 443.1 MB, free: 4.109 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002945/0.1293, allocations: 280.9 kB / 443.4 MB, free: 3.785 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002006/0.1295, allocations: 46.5 kB / 443.5 MB, free: 3.73 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.373e-05/0.1295, allocations: 16.86 kB / 443.5 MB, free: 3.711 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.1296, allocations: 4.078 kB / 443.5 MB, free: 3.707 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.281e-05/0.1296, allocations: 30.56 kB / 443.5 MB, free: 3.668 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1296, allocations: 4 kB / 443.5 MB, free: 3.664 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005062/0.1301, allocations: 145.4 kB / 443.7 MB, free: 3.516 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.1301, allocations: 55.41 kB / 443.7 MB, free: 3.449 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.1303, allocations: 206.2 kB / 443.9 MB, free: 3.238 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.115e-06/0.1303, allocations: 25.7 kB / 443.9 MB, free: 3.207 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.49e-05/0.1303, allocations: 100.1 kB / 444 MB, free: 3.105 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.927e-05/0.1304, allocations: 23.66 kB / 444.1 MB, free: 3.082 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.756e-05/0.1304, allocations: 13.72 kB / 444.1 MB, free: 3.062 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.419e-05/0.1304, allocations: 330.8 kB / 444.4 MB, free: 2.73 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.666e-05/0.1305, allocations: 15.98 kB / 444.4 MB, free: 2.715 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.999e-05/0.1306, allocations: 23.92 kB / 444.4 MB, free: 2.691 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001034/0.1307, allocations: 44.83 kB / 444.5 MB, free: 2.645 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1307, allocations: 8.125 kB / 444.5 MB, free: 2.637 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001408/0.1308, allocations: 81.58 kB / 444.6 MB, free: 2.551 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.1308, allocations: 8 kB / 444.6 MB, free: 2.543 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.1309, allocations: 48 / 444.6 MB, free: 2.543 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.1309, allocations: 3.984 kB / 444.6 MB, free: 2.539 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.368e-05/0.1309, allocations: 11.98 kB / 444.6 MB, free: 2.527 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.1309, allocations: 0 / 444.6 MB, free: 2.527 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.354e-05/0.131, allocations: 4 kB / 444.6 MB, free: 2.523 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/0.131, allocations: 4 kB / 444.6 MB, free: 2.52 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 (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 6.185e-05/0.1311, allocations: 145.6 kB / 444.7 MB, free: 2.367 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.837e-05/0.1311, allocations: 11.91 kB / 444.8 MB, free: 2.355 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001875/0.1313, allocations: 85.97 kB / 444.8 MB, free: 2.27 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1313, allocations: 4 kB / 444.8 MB, free: 2.266 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1313, allocations: 0 / 444.8 MB, free: 2.266 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1313, allocations: 7.922 kB / 444.9 MB, free: 2.258 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002925/0.1316, allocations: 354.5 kB / 445.2 MB, free: 1.855 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1316, allocations: 0 / 445.2 MB, free: 1.855 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.491e-05/0.1317, allocations: 11.98 kB / 445.2 MB, free: 1.844 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.1317, allocations: 0 / 445.2 MB, free: 1.844 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.557e-06/0.1317, allocations: 4 kB / 445.2 MB, free: 1.84 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.073e-06/0.1317, allocations: 3.938 kB / 445.2 MB, free: 1.836 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1317, allocations: 0 / 445.2 MB, free: 1.836 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000162/0.1319, allocations: 187.5 kB / 445.4 MB, free: 1.637 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.247e-05/0.1319, allocations: 89 kB / 445.5 MB, free: 1.531 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.1319, allocations: 4 kB / 445.5 MB, free: 1.527 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.015e-05/0.132, allocations: 7.938 kB / 445.5 MB, free: 1.52 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.859e-05/0.132, allocations: 3.984 kB / 445.5 MB, free: 1.516 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.132, allocations: 0 / 445.5 MB, free: 1.516 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.378e-05/0.1321, allocations: 159.2 kB / 445.7 MB, free: 1.359 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1321, allocations: 0 / 445.7 MB, free: 1.359 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002231/0.1324, allocations: 8 kB / 445.7 MB, free: 1.352 MB / 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 (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.0008085/0.1332, allocations: 403.8 kB / 446.1 MB, free: 1.02 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001795/0.1334, allocations: 47.97 kB / 446.1 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.1334, allocations: 0 / 446.1 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.984e-05/0.1334, allocations: 27.92 kB / 446.1 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003552/0.1338, allocations: 19.92 kB / 446.2 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003519/0.1342, allocations: 234.1 kB / 446.4 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001773/0.1343, allocations: 0.7002 MB / 447.1 MB, free: 15.95 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.675e-05/0.1344, allocations: 11.98 kB / 447.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.28e-05/0.1344, allocations: 15.42 kB / 447.1 MB, free: 15.92 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1344, allocations: 0 / 447.1 MB, free: 15.92 MB / 334.1 MB Notification: Performance of Templates: time 0.003477/0.1379, allocations: 1.073 MB / 448.2 MB, free: 14.85 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches