Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008258/0.0008257, allocations: 93.42 kB / 17.35 MB, free: 6.344 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.0009465/0.0009466, allocations: 170.8 kB / 18.25 MB, free: 5.504 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.44/1.44, allocations: 223.3 MB / 242.3 MB, free: 14.47 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.2132/0.2132, allocations: 44.25 MB / 337.7 MB, free: 2.418 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003581/0.0003581, allocations: 8 kB / 410.3 MB, free: 27.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.143, allocations: 61.93 MB / 472.3 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.002351/0.1454, allocations: 1.274 MB / 473.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001834/0.1473, allocations: 0.9843 MB / 474.5 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.423e-05/0.1473, allocations: 4 kB / 474.5 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002633/0.1476, allocations: 23.91 kB / 474.5 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001924/0.1478, allocations: 31.91 kB / 474.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002546/0.1481, allocations: 71.86 kB / 474.6 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001546/0.1482, allocations: 55.78 kB / 474.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.1484, allocations: 11.98 kB / 474.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.496e-05/0.1484, allocations: 15.92 kB / 474.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001331/0.1486, allocations: 27.86 kB / 474.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.1486, allocations: 0 / 474.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000126/0.1487, allocations: 55.91 kB / 474.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.6e-05/0.1488, allocations: 7.938 kB / 474.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.767e-05/0.1488, allocations: 45.56 kB / 474.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001735/0.149, allocations: 83.77 kB / 474.9 MB, free: 10.6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.149, allocations: 0 / 474.9 MB, free: 10.6 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.149, allocations: 0 / 474.9 MB, free: 10.6 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.149, allocations: 0 / 474.9 MB, free: 10.6 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.0005018/0.1495, allocations: 375.6 kB / 475.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.1496, allocations: 11.97 kB / 475.3 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.291e-05/0.1496, allocations: 12.94 kB / 475.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.1498, allocations: 188.2 kB / 475.5 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.1499, allocations: 384 / 475.5 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.1499, allocations: 4.312 kB / 475.5 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.1501, allocations: 67.53 kB / 475.6 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.1501, allocations: 4 kB / 475.6 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.1501, allocations: 0 / 475.6 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.1501, allocations: 0 / 475.6 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.1502, allocations: 27.97 kB / 475.6 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003701/0.1506, allocations: 276.8 kB / 475.9 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002057/0.1508, allocations: 46.5 kB / 475.9 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.457e-05/0.1509, allocations: 16.94 kB / 476 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.1509, allocations: 7.984 kB / 476 MB, free: 9.422 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.151, allocations: 34.56 kB / 476 MB, free: 9.379 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.151, allocations: 0 / 476 MB, free: 9.379 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006059/0.1516, allocations: 149.4 kB / 476.1 MB, free: 9.227 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.53e-05/0.1516, allocations: 81.11 kB / 476.2 MB, free: 9.129 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.1518, allocations: 140.8 kB / 476.4 MB, free: 8.984 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.1518, allocations: 25.7 kB / 476.4 MB, free: 8.953 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.892e-05/0.1519, allocations: 96.12 kB / 476.5 MB, free: 8.855 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.393e-05/0.1519, allocations: 15.66 kB / 476.5 MB, free: 8.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.488e-05/0.152, allocations: 13.72 kB / 476.5 MB, free: 8.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.1521, allocations: 322.8 kB / 476.8 MB, free: 8.496 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.282e-05/0.1522, allocations: 23.98 kB / 476.8 MB, free: 8.473 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.55e-05/0.1523, allocations: 41.64 kB / 476.9 MB, free: 8.426 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001471/0.1524, allocations: 56.83 kB / 476.9 MB, free: 8.367 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1524, allocations: 0 / 476.9 MB, free: 8.367 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001784/0.1526, allocations: 81.7 kB / 477 MB, free: 8.281 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.1527, allocations: 4 kB / 477 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.1527, allocations: 0 / 477 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.1527, allocations: 4 kB / 477 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.203e-05/0.1528, allocations: 11.98 kB / 477 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.1528, allocations: 4 kB / 477 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.387e-05/0.1528, allocations: 8 kB / 477.1 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.1528, allocations: 3.938 kB / 477.1 MB, free: 8.246 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001025/0.1529, allocations: 122.3 kB / 477.2 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.88e-05/0.153, allocations: 8.156 kB / 477.2 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002337/0.1532, allocations: 105.6 kB / 477.3 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.1532, allocations: 0 / 477.3 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.1532, allocations: 0 / 477.3 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1532, allocations: 0 / 477.3 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004312/0.1537, allocations: 354.3 kB / 477.6 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.1537, allocations: 4 kB / 477.6 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.5e-05/0.1538, allocations: 16.27 kB / 477.7 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1538, allocations: 3.938 kB / 477.7 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/0.1538, allocations: 8 kB / 477.7 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.838e-06/0.1538, allocations: 3.938 kB / 477.7 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1538, allocations: 0 / 477.7 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000238/0.154, allocations: 191.4 kB / 477.9 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.832e-05/0.1541, allocations: 81.02 kB / 477.9 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.1541, allocations: 4 kB / 477.9 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.099e-05/0.1542, allocations: 11.92 kB / 477.9 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.566e-05/0.1542, allocations: 4 kB / 478 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-06/0.1543, allocations: 4 kB / 478 MB, free: 7.238 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.18e-05/0.1544, allocations: 107.2 kB / 478.1 MB, free: 7.133 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1544, allocations: 4 kB / 478.1 MB, free: 7.129 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002468/0.1546, allocations: 16 kB / 478.1 MB, free: 7.113 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 (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.001034/0.1557, allocations: 451.9 kB / 478.5 MB, free: 6.836 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002058/0.1559, allocations: 51.97 kB / 478.6 MB, free: 6.785 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1559, allocations: 0 / 478.6 MB, free: 6.785 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.369e-05/0.156, allocations: 31.92 kB / 478.6 MB, free: 6.754 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/0.1563, allocations: 19.98 kB / 478.6 MB, free: 6.734 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003784/0.1567, allocations: 172.6 kB / 478.8 MB, free: 6.539 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002485/0.1569, allocations: 0.6887 MB / 479.5 MB, free: 5.824 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.304e-05/0.157, allocations: 8.25 kB / 479.5 MB, free: 5.816 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.082e-05/0.1571, allocations: 11.44 kB / 479.5 MB, free: 5.805 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1571, allocations: 4 kB / 479.5 MB, free: 5.801 MB / 350.1 MB Notification: Performance of Templates: time 0.00373/0.1608, allocations: 1.3 MB / 480.8 MB, free: 4.512 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches