Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001628/0.001629, allocations: 107.1 kB / 18.39 MB, free: 4.629 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.001897/0.001897, allocations: 184.1 kB / 19.33 MB, free: 3.699 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.536/1.536, allocations: 222.9 MB / 243 MB, free: 15.14 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.2679/0.2679, allocations: 44.18 MB / 337.4 MB, free: 2.719 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 72.89 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.137, allocations: 60.83 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.002961/0.14, allocations: 1.606 MB / 472.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007465/0.1408, allocations: 451.1 kB / 472.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.222e-05/0.1408, allocations: 0 / 472.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004727/0.1413, allocations: 451.2 kB / 473.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003175/0.1416, allocations: 251.4 kB / 473.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003757/0.142, allocations: 174.4 kB / 473.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001983/0.1422, allocations: 163.6 kB / 473.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.061e-05/0.1423, allocations: 20.17 kB / 473.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.349e-05/0.1424, allocations: 107.8 kB / 473.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001941/0.1426, allocations: 215.6 kB / 474.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/0.1427, allocations: 11.92 kB / 474.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.336e-05/0.1427, allocations: 24 kB / 474.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.958e-05/0.1428, allocations: 83.69 kB / 474.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.42e-05/0.1429, allocations: 103 kB / 474.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002729/0.1432, allocations: 255 kB / 474.6 MB, free: 9.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.1432, allocations: 4 kB / 474.6 MB, free: 9.766 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1432, allocations: 0 / 474.6 MB, free: 9.766 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.1432, allocations: 0 / 474.6 MB, free: 9.766 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.0006272/0.1439, allocations: 0.6258 MB / 475.2 MB, free: 9.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.819e-05/0.1439, allocations: 16.03 kB / 475.2 MB, free: 9.074 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.04e-05/0.144, allocations: 40.38 kB / 475.3 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002532/0.1442, allocations: 300.1 kB / 475.6 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.417e-06/0.1442, allocations: 4.375 kB / 475.6 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.149e-05/0.1443, allocations: 12.34 kB / 475.6 MB, free: 8.684 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.1444, allocations: 53.62 kB / 475.6 MB, free: 8.625 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.1444, allocations: 0 / 475.6 MB, free: 8.625 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-06/0.1444, allocations: 0 / 475.6 MB, free: 8.625 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.035e-06/0.1444, allocations: 4 kB / 475.6 MB, free: 8.621 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.598e-05/0.1445, allocations: 39.91 kB / 475.7 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004643/0.145, allocations: 384.8 kB / 476 MB, free: 8.156 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001718/0.1452, allocations: 42.55 kB / 476.1 MB, free: 8.105 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.106e-05/0.1452, allocations: 16.86 kB / 476.1 MB, free: 8.086 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.1453, allocations: 8.016 kB / 476.1 MB, free: 8.078 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.1453, allocations: 38.5 kB / 476.1 MB, free: 8.031 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.1453, allocations: 4 kB / 476.1 MB, free: 8.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005397/0.1459, allocations: 227.9 kB / 476.4 MB, free: 7.797 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.678e-05/0.1459, allocations: 51.41 kB / 476.4 MB, free: 7.734 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007578/0.1467, allocations: 0.8651 MB / 477.3 MB, free: 6.859 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.1467, allocations: 29.7 kB / 477.3 MB, free: 6.824 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001522/0.1469, allocations: 224.1 kB / 477.5 MB, free: 6.602 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.153e-05/0.1469, allocations: 15.86 kB / 477.5 MB, free: 6.586 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.398e-05/0.1469, allocations: 17.72 kB / 477.6 MB, free: 6.562 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.1471, allocations: 362.8 kB / 477.9 MB, free: 6.199 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.093e-05/0.1472, allocations: 23.97 kB / 477.9 MB, free: 6.176 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.712e-05/0.1472, allocations: 19.98 kB / 478 MB, free: 6.156 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.1473, allocations: 56.83 kB / 478 MB, free: 6.098 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1474, allocations: 0 / 478 MB, free: 6.098 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001987/0.1476, allocations: 125 kB / 478.1 MB, free: 5.969 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.1476, allocations: 4 kB / 478.1 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/0.1476, allocations: 0 / 478.1 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.1476, allocations: 0 / 478.1 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.533e-05/0.1477, allocations: 15.94 kB / 478.2 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.1477, allocations: 0 / 478.2 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.147e-05/0.1477, allocations: 15.92 kB / 478.2 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.1477, allocations: 0 / 478.2 MB, free: 5.934 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.0001797/0.1479, allocations: 213.8 kB / 478.4 MB, free: 5.715 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.157e-05/0.148, allocations: 39.53 kB / 478.4 MB, free: 5.676 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002553/0.1483, allocations: 145.2 kB / 478.6 MB, free: 5.523 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1483, allocations: 0 / 478.6 MB, free: 5.523 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1483, allocations: 4 kB / 478.6 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1483, allocations: 7.938 kB / 478.6 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005156/0.1488, allocations: 462.3 kB / 479 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1488, allocations: 0 / 479 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.938e-05/0.1489, allocations: 11.98 kB / 479 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.1489, allocations: 0 / 479 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.1489, allocations: 7.938 kB / 479 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.1489, allocations: 7.938 kB / 479.1 MB, free: 4.977 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1489, allocations: 3.938 kB / 479.1 MB, free: 4.973 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002247/0.1491, allocations: 211 kB / 479.3 MB, free: 4.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.034e-05/0.1492, allocations: 112.5 kB / 479.4 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.318e-05/0.1493, allocations: 3.938 kB / 479.4 MB, free: 4.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.087e-05/0.1493, allocations: 11.98 kB / 479.4 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.202e-05/0.1494, allocations: 0 / 479.4 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.1494, allocations: 4.281 kB / 479.4 MB, free: 4.602 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005475/0.1499, allocations: 0.6511 MB / 480 MB, free: 3.953 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.15, allocations: 0 / 480 MB, free: 3.953 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002431/0.1502, allocations: 23.98 kB / 480.1 MB, free: 3.93 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.0009031/0.1511, allocations: 404.3 kB / 480.5 MB, free: 3.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001852/0.1513, allocations: 51.91 kB / 480.5 MB, free: 3.629 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.1513, allocations: 0 / 480.5 MB, free: 3.629 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.802e-05/0.1514, allocations: 31.98 kB / 480.5 MB, free: 3.598 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/0.1518, allocations: 28.92 kB / 480.6 MB, free: 3.574 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009504/0.1527, allocations: 0.7872 MB / 481.4 MB, free: 2.762 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003705/0.1531, allocations: 0.8298 MB / 482.2 MB, free: 1.906 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.648e-05/0.1532, allocations: 15.97 kB / 482.2 MB, free: 1.891 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.75e-05/0.1532, allocations: 19.38 kB / 482.2 MB, free: 1.871 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1532, allocations: 0 / 482.2 MB, free: 1.871 MB / 350.1 MB Notification: Performance of Templates: time 0.004354/0.1576, allocations: 1.473 MB / 483.7 MB, free: 420 kB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches