Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 94.77 kB / 16.99 MB, free: 5.938 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.00182/0.00182, allocations: 180.7 kB / 17.87 MB, free: 5.609 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.415/1.415, allocations: 223.2 MB / 241.8 MB, free: 380 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.2343/0.2343, allocations: 44.23 MB / 337.1 MB, free: 2.895 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003217/0.0003218, allocations: 8 kB / 409.5 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1442, allocations: 61.92 MB / 471.5 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.002175/0.1464, allocations: 1.309 MB / 472.8 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006862/0.1471, allocations: 375.5 kB / 473.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.664e-05/0.1472, allocations: 0 / 473.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000284/0.1475, allocations: 83.8 kB / 473.2 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001449/0.1476, allocations: 55.86 kB / 473.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002283/0.1479, allocations: 82.41 kB / 473.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001502/0.148, allocations: 63.81 kB / 473.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.1482, allocations: 19.97 kB / 473.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.734e-05/0.1482, allocations: 31.91 kB / 473.5 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.1483, allocations: 43.83 kB / 473.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.1484, allocations: 4 kB / 473.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.559e-05/0.1484, allocations: 31.92 kB / 473.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.673e-05/0.1485, allocations: 19.92 kB / 473.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.666e-05/0.1485, allocations: 41.64 kB / 473.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001352/0.1487, allocations: 83.86 kB / 473.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.1487, allocations: 0 / 473.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.045e-06/0.1487, allocations: 0 / 473.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.1487, allocations: 3.938 kB / 473.7 MB, free: 11.49 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005875/0.1493, allocations: 415 kB / 474.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.1493, allocations: 12.03 kB / 474.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.457e-05/0.1494, allocations: 11.91 kB / 474.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002134/0.1496, allocations: 202.8 kB / 474.3 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.1496, allocations: 12 kB / 474.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.723e-05/0.1496, allocations: 0 / 474.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/0.1498, allocations: 77.56 kB / 474.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.1499, allocations: 0 / 474.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.1499, allocations: 0 / 474.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.1499, allocations: 0 / 474.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001304/0.15, allocations: 51.95 kB / 474.4 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004206/0.1504, allocations: 324.7 kB / 474.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/0.1506, allocations: 66.61 kB / 474.8 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.454e-05/0.1506, allocations: 8.078 kB / 474.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.1506, allocations: 30.56 kB / 474.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.1507, allocations: 0 / 474.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001021/0.1517, allocations: 329.4 kB / 475.2 MB, free: 9.816 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.1517, allocations: 55.41 kB / 475.2 MB, free: 9.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002117/0.1519, allocations: 239.1 kB / 475.5 MB, free: 9.504 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.152, allocations: 25.7 kB / 475.5 MB, free: 9.473 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.759e-05/0.1521, allocations: 120 kB / 475.6 MB, free: 9.352 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.105e-05/0.1521, allocations: 47.34 kB / 475.7 MB, free: 9.305 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-06/0.1521, allocations: 0 / 475.7 MB, free: 9.305 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001998/0.1523, allocations: 322.8 kB / 476 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.873e-05/0.1524, allocations: 43.98 kB / 476 MB, free: 8.938 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.081e-05/0.1525, allocations: 39.97 kB / 476.1 MB, free: 8.898 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.508e-05/0.1526, allocations: 47.98 kB / 476.1 MB, free: 8.852 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1526, allocations: 0 / 476.1 MB, free: 8.852 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002378/0.1529, allocations: 140.2 kB / 476.2 MB, free: 8.711 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.1529, allocations: 4 kB / 476.2 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.1529, allocations: 3.938 kB / 476.3 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.1529, allocations: 4 kB / 476.3 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.153, allocations: 27.92 kB / 476.3 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.1531, allocations: 4 kB / 476.3 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.743e-05/0.1531, allocations: 15.98 kB / 476.3 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.1531, allocations: 7.953 kB / 476.3 MB, free: 8.645 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 (13): * Single equations (assignments): 13 * 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.0001014/0.1532, allocations: 126.4 kB / 476.4 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.429e-05/0.1533, allocations: 23.78 kB / 476.5 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003271/0.1536, allocations: 175 kB / 476.6 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.1536, allocations: 4 kB / 476.6 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.1536, allocations: 0 / 476.6 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1536, allocations: 3.938 kB / 476.6 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006345/0.1543, allocations: 483.2 kB / 477.1 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1543, allocations: 0 / 477.1 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.648e-05/0.1544, allocations: 27.98 kB / 477.1 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.1544, allocations: 0 / 477.1 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.1544, allocations: 11.95 kB / 477.1 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-06/0.1544, allocations: 3.938 kB / 477.2 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1544, allocations: 0 / 477.2 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002896/0.1547, allocations: 253.9 kB / 477.4 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.299e-05/0.1548, allocations: 88.92 kB / 477.5 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.1548, allocations: 11.95 kB / 477.5 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.429e-05/0.1549, allocations: 11.98 kB / 477.5 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.872e-05/0.155, allocations: 11.92 kB / 477.5 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.155, allocations: 4 kB / 477.5 MB, free: 7.316 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001386/0.1551, allocations: 171.2 kB / 477.7 MB, free: 7.148 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1551, allocations: 0 / 477.7 MB, free: 7.148 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002589/0.1554, allocations: 31.98 kB / 477.7 MB, free: 7.117 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 (13): * Single equations (assignments): 13 * 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.001042/0.1564, allocations: 459.8 kB / 478.2 MB, free: 6.844 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002585/0.1567, allocations: 95.95 kB / 478.3 MB, free: 6.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.1567, allocations: 4 kB / 478.3 MB, free: 6.746 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.1568, allocations: 59.84 kB / 478.3 MB, free: 6.688 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/0.1571, allocations: 12 kB / 478.3 MB, free: 6.676 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004906/0.1576, allocations: 331.2 kB / 478.7 MB, free: 6.324 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002648/0.1579, allocations: 0.7238 MB / 479.4 MB, free: 5.574 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.955e-05/0.1579, allocations: 20.53 kB / 479.4 MB, free: 5.555 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.281e-05/0.158, allocations: 15.44 kB / 479.4 MB, free: 5.539 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.158, allocations: 0 / 479.4 MB, free: 5.539 MB / 350.1 MB Notification: Performance of Templates: time 0.003995/0.162, allocations: 1.403 MB / 480.8 MB, free: 4.145 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches