Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,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.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 96.22 kB / 16.99 MB, free: 5.941 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.001694/0.001694, allocations: 180 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.467/1.467, allocations: 223.2 MB / 241.8 MB, free: 14.64 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.2195/0.2195, allocations: 44.22 MB / 337.1 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003431/0.0003432, allocations: 8.688 kB / 409.5 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.141, allocations: 61.92 MB / 471.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.002051/0.1431, allocations: 1.255 MB / 472.7 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000836/0.144, allocations: 355.6 kB / 473.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.272e-05/0.144, allocations: 0 / 473.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002034/0.1443, allocations: 27.84 kB / 473.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001671/0.1444, allocations: 31.91 kB / 473.1 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002325/0.1447, allocations: 66.67 kB / 473.2 MB, free: 12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001335/0.1448, allocations: 43.88 kB / 473.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.869e-05/0.1449, allocations: 12 kB / 473.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.825e-05/0.145, allocations: 15.92 kB / 473.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.837e-05/0.145, allocations: 15.94 kB / 473.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.1451, allocations: 0 / 473.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.666e-05/0.1452, allocations: 23.92 kB / 473.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.361e-05/0.1452, allocations: 11.98 kB / 473.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.211e-05/0.1452, allocations: 33.64 kB / 473.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000111/0.1454, allocations: 51.86 kB / 473.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.1454, allocations: 0 / 473.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1454, allocations: 0 / 473.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.1454, allocations: 0 / 473.4 MB, free: 11.79 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.0005173/0.1459, allocations: 367.4 kB / 473.7 MB, free: 11.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.339e-05/0.146, allocations: 8.562 kB / 473.7 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.585e-05/0.146, allocations: 11.91 kB / 473.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.1462, allocations: 183 kB / 473.9 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.1462, allocations: 4 kB / 473.9 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.578e-05/0.1463, allocations: 7.953 kB / 473.9 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.1464, allocations: 49.62 kB / 474 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.1464, allocations: 4 kB / 474 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.1465, allocations: 0 / 474 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.1465, allocations: 0 / 474 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.157e-05/0.1466, allocations: 27.98 kB / 474 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004023/0.147, allocations: 276.8 kB / 474.3 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001979/0.1472, allocations: 46.5 kB / 474.3 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.1472, allocations: 0 / 474.3 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.781e-05/0.1472, allocations: 34.56 kB / 474.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1472, allocations: 0 / 474.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005598/0.1478, allocations: 161.7 kB / 474.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.1479, allocations: 59.34 kB / 474.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.148, allocations: 146 kB / 474.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.148, allocations: 25.7 kB / 474.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.674e-05/0.1481, allocations: 96.05 kB / 474.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.204e-05/0.1481, allocations: 11.8 kB / 474.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-06/0.1481, allocations: 4 kB / 474.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.1483, allocations: 322.8 kB / 475.2 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.101e-05/0.1483, allocations: 23.98 kB / 475.2 MB, free: 9.742 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.844e-05/0.1484, allocations: 19.98 kB / 475.2 MB, free: 9.723 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.651e-05/0.1485, allocations: 23.98 kB / 475.3 MB, free: 9.699 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1485, allocations: 4 kB / 475.3 MB, free: 9.695 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001723/0.1487, allocations: 85.52 kB / 475.3 MB, free: 9.605 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.1487, allocations: 8 kB / 475.3 MB, free: 9.598 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.1487, allocations: 0 / 475.3 MB, free: 9.598 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.1487, allocations: 0 / 475.3 MB, free: 9.598 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.475e-05/0.1488, allocations: 15.98 kB / 475.4 MB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.1488, allocations: 4 kB / 475.4 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.122e-05/0.1489, allocations: 11.98 kB / 475.4 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/0.1489, allocations: 0 / 475.4 MB, free: 9.566 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001795/0.1491, allocations: 125.7 kB / 475.5 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.52e-05/0.1491, allocations: 3.906 kB / 475.5 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002512/0.1493, allocations: 101.9 kB / 475.6 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.1494, allocations: 0 / 475.6 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.1494, allocations: 320 / 475.6 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1494, allocations: 0 / 475.6 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005509/0.1499, allocations: 358.5 kB / 476 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1499, allocations: 0 / 476 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.659e-05/0.15, allocations: 15.98 kB / 476 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.15, allocations: 0 / 476 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.15, allocations: 0 / 476 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.15, allocations: 3.938 kB / 476 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.15, allocations: 0 / 476 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002737/0.1503, allocations: 191.4 kB / 476.2 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.162e-05/0.1504, allocations: 85.02 kB / 476.2 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.954e-05/0.1504, allocations: 0 / 476.2 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.063e-05/0.1505, allocations: 11.92 kB / 476.3 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.618e-05/0.1506, allocations: 8 kB / 476.3 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/0.1506, allocations: 4 kB / 476.3 MB, free: 8.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.518e-05/0.1507, allocations: 114.2 kB / 476.4 MB, free: 8.461 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1507, allocations: 0 / 476.4 MB, free: 8.461 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002488/0.1509, allocations: 12 kB / 476.4 MB, free: 8.449 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 (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.001056/0.152, allocations: 408.2 kB / 476.8 MB, free: 8.199 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002204/0.1522, allocations: 59.91 kB / 476.8 MB, free: 8.141 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.1522, allocations: 0 / 476.8 MB, free: 8.141 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.427e-05/0.1523, allocations: 27.98 kB / 476.9 MB, free: 8.113 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000287/0.1526, allocations: 11.94 kB / 476.9 MB, free: 8.102 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004153/0.153, allocations: 180.6 kB / 477.1 MB, free: 7.902 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/0.1533, allocations: 0.6965 MB / 477.8 MB, free: 7.18 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.574e-05/0.1534, allocations: 11.97 kB / 477.8 MB, free: 7.168 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.846e-05/0.1534, allocations: 11.44 kB / 477.8 MB, free: 7.156 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1534, allocations: 0 / 477.8 MB, free: 7.156 MB / 350.1 MB Notification: Performance of Templates: time 0.003761/0.1572, allocations: 1.014 MB / 478.8 MB, free: 6.148 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches