Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.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.CombiTable1Dv.Test27,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.CombiTable1Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test27,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.CombiTable1Dv.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000838/0.0008381, allocations: 97.47 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.0007928/0.0007929, allocations: 189.2 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.503/1.503, allocations: 223.3 MB / 241.9 MB, free: 240 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.2385/0.2385, allocations: 44.25 MB / 337.3 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004499/0.0004499, allocations: 17.28 kB / 409.7 MB, free: 27.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1376, allocations: 61.92 MB / 471.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.002016/0.1397, allocations: 1.274 MB / 472.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007734/0.1405, allocations: 383.5 kB / 473.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.558e-05/0.1405, allocations: 0 / 473.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003564/0.1409, allocations: 123.8 kB / 473.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001968/0.1411, allocations: 75.83 kB / 473.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003206/0.1415, allocations: 102.6 kB / 473.5 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001702/0.1416, allocations: 67.81 kB / 473.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.1418, allocations: 16.16 kB / 473.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.69e-05/0.1419, allocations: 43.83 kB / 473.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001518/0.142, allocations: 63.8 kB / 473.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.901e-05/0.142, allocations: 4 kB / 473.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.858e-05/0.1422, allocations: 39.97 kB / 473.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.643e-05/0.1422, allocations: 23.92 kB / 473.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.714e-05/0.1423, allocations: 41.64 kB / 473.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001624/0.1425, allocations: 79.88 kB / 473.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.1425, allocations: 0 / 473.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.697e-06/0.1425, allocations: 0 / 473.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.1425, allocations: 0 / 473.9 MB, free: 11.36 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.0006405/0.1431, allocations: 423 kB / 474.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.54e-05/0.1432, allocations: 8.562 kB / 474.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.457e-05/0.1432, allocations: 15.8 kB / 474.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002549/0.1435, allocations: 198.7 kB / 474.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.1435, allocations: 0 / 474.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.681e-05/0.1436, allocations: 4 kB / 474.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.1438, allocations: 61.61 kB / 474.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.1438, allocations: 3.906 kB / 474.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.1438, allocations: 4 kB / 474.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.1438, allocations: 4 kB / 474.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.1439, allocations: 31.97 kB / 474.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005/0.1444, allocations: 308.8 kB / 474.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001385/0.1446, allocations: 50.56 kB / 475 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.415e-05/0.1446, allocations: 20.94 kB / 475 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.336e-05/0.1447, allocations: 0 / 475 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.1447, allocations: 30.56 kB / 475 MB, free: 10.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.51e-07/0.1447, allocations: 4 kB / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009058/0.1456, allocations: 276.8 kB / 475.3 MB, free: 9.773 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/0.1457, allocations: 55.41 kB / 475.4 MB, free: 9.707 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002561/0.146, allocations: 266.2 kB / 475.6 MB, free: 9.438 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.146, allocations: 25.7 kB / 475.7 MB, free: 9.406 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.824e-05/0.146, allocations: 112.1 kB / 475.8 MB, free: 9.293 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.047e-05/0.1461, allocations: 31.7 kB / 475.8 MB, free: 9.262 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.349e-06/0.1461, allocations: 7.938 kB / 475.8 MB, free: 9.254 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.1462, allocations: 330.8 kB / 476.1 MB, free: 8.922 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001/0.1463, allocations: 31.98 kB / 476.2 MB, free: 8.891 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.949e-05/0.1464, allocations: 31.97 kB / 476.2 MB, free: 8.859 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.172e-05/0.1465, allocations: 47.92 kB / 476.2 MB, free: 8.812 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.1465, allocations: 0 / 476.2 MB, free: 8.812 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002117/0.1467, allocations: 121.7 kB / 476.4 MB, free: 8.688 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.1468, allocations: 11.94 kB / 476.4 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1468, allocations: 0 / 476.4 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.1468, allocations: 0 / 476.4 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.589e-05/0.1469, allocations: 23.98 kB / 476.4 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.1469, allocations: 0 / 476.4 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.106e-05/0.1469, allocations: 11.98 kB / 476.4 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.147, allocations: 4 kB / 476.4 MB, free: 8.637 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.0001082/0.1471, allocations: 137.8 kB / 476.5 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.125e-05/0.1471, allocations: 11.81 kB / 476.6 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002875/0.1474, allocations: 143 kB / 476.7 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.1474, allocations: 4.422 kB / 476.7 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-06/0.1474, allocations: 3.984 kB / 476.7 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.1474, allocations: 0 / 476.7 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005822/0.148, allocations: 439.2 kB / 477.1 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.148, allocations: 0 / 477.1 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.402e-05/0.1481, allocations: 19.98 kB / 477.2 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-05/0.1481, allocations: 3.984 kB / 477.2 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.1481, allocations: 0 / 477.2 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.1482, allocations: 0 / 477.2 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1482, allocations: 8.031 kB / 477.2 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002763/0.1484, allocations: 228.1 kB / 477.4 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.721e-05/0.1485, allocations: 93 kB / 477.5 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.1485, allocations: 4 kB / 477.5 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.714e-05/0.1486, allocations: 4 kB / 477.5 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.295e-05/0.1487, allocations: 7.984 kB / 477.5 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.1487, allocations: 11.95 kB / 477.5 MB, free: 7.434 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001884/0.1489, allocations: 195.2 kB / 477.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.1489, allocations: 0 / 477.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002584/0.1491, allocations: 23.98 kB / 477.7 MB, free: 7.219 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.001141/0.1503, allocations: 470 kB / 478.2 MB, free: 6.934 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002319/0.1505, allocations: 87.86 kB / 478.3 MB, free: 6.848 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1506, allocations: 0 / 478.3 MB, free: 6.848 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.869e-05/0.1506, allocations: 39.98 kB / 478.3 MB, free: 6.809 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003249/0.151, allocations: 24.11 kB / 478.3 MB, free: 6.785 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005274/0.1515, allocations: 326.5 kB / 478.6 MB, free: 6.438 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003312/0.1519, allocations: 0.7239 MB / 479.4 MB, free: 5.688 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.405e-05/0.1519, allocations: 16.59 kB / 479.4 MB, free: 5.664 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.982e-05/0.152, allocations: 19.42 kB / 479.4 MB, free: 5.648 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.152, allocations: 0 / 479.4 MB, free: 5.648 MB / 350.1 MB Notification: Performance of Templates: time 0.003758/0.1557, allocations: 1.295 MB / 480.7 MB, free: 4.363 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches