Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 106.4 kB / 17.03 MB, free: 5.703 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.001126/0.001127, allocations: 194.9 kB / 17.96 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.717/1.717, allocations: 205.1 MB / 223.8 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2391/0.2391, allocations: 43.52 MB / 314.7 MB, free: 480 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 62.34 kB / 384.2 MB, free: 56.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.139, allocations: 57.79 MB / 442 MB, free: 6.141 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.003318/0.1423, allocations: 1.548 MB / 443.5 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001368/0.1438, allocations: 0.9339 MB / 444.4 MB, free: 3.637 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.131e-05/0.1439, allocations: 0 / 444.4 MB, free: 3.637 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002455/0.1441, allocations: 31.84 kB / 444.5 MB, free: 3.605 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002255/0.1444, allocations: 39.78 kB / 444.5 MB, free: 3.566 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002517/0.1446, allocations: 71.78 kB / 444.6 MB, free: 3.496 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000146/0.1448, allocations: 51.91 kB / 444.6 MB, free: 3.445 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/0.1449, allocations: 15.92 kB / 444.6 MB, free: 3.43 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.944e-05/0.145, allocations: 27.84 kB / 444.7 MB, free: 3.402 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000137/0.1452, allocations: 23.92 kB / 444.7 MB, free: 3.379 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.1452, allocations: 0 / 444.7 MB, free: 3.379 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001393/0.1453, allocations: 55.97 kB / 444.8 MB, free: 3.324 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.802e-05/0.1454, allocations: 15.86 kB / 444.8 MB, free: 3.309 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.579e-05/0.1454, allocations: 19.88 kB / 444.8 MB, free: 3.289 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001937/0.1456, allocations: 91.77 kB / 444.9 MB, free: 3.199 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.1456, allocations: 0 / 444.9 MB, free: 3.199 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.1457, allocations: 0 / 444.9 MB, free: 3.199 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.237e-05/0.1457, allocations: 0 / 444.9 MB, free: 3.199 MB / 318.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.0004448/0.1461, allocations: 379.2 kB / 445.2 MB, free: 2.781 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.1462, allocations: 19.83 kB / 445.3 MB, free: 2.762 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.393e-05/0.1462, allocations: 0.9375 kB / 445.3 MB, free: 2.762 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001802/0.1464, allocations: 184.2 kB / 445.4 MB, free: 2.543 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.1464, allocations: 8.312 kB / 445.5 MB, free: 2.535 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.556e-05/0.1465, allocations: 4.375 kB / 445.5 MB, free: 2.531 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.1466, allocations: 67.52 kB / 445.5 MB, free: 2.453 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.1467, allocations: 0 / 445.5 MB, free: 2.453 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.1467, allocations: 0 / 445.5 MB, free: 2.453 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.1467, allocations: 0 / 445.5 MB, free: 2.453 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.346e-05/0.1468, allocations: 23.98 kB / 445.5 MB, free: 2.43 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003199/0.1471, allocations: 276.8 kB / 445.8 MB, free: 2.109 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002015/0.1473, allocations: 38.56 kB / 445.9 MB, free: 2.062 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.54e-05/0.1474, allocations: 20.94 kB / 445.9 MB, free: 2.039 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.1474, allocations: 0 / 445.9 MB, free: 2.039 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.423e-05/0.1474, allocations: 30.56 kB / 445.9 MB, free: 2 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.1474, allocations: 4 kB / 445.9 MB, free: 1.996 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005135/0.148, allocations: 137.3 kB / 446 MB, free: 1.855 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.148, allocations: 85.05 kB / 446.1 MB, free: 1.754 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.1481, allocations: 129.5 kB / 446.3 MB, free: 1.621 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.1482, allocations: 29.7 kB / 446.3 MB, free: 1.586 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.257e-05/0.1482, allocations: 92.05 kB / 446.4 MB, free: 1.492 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.235e-05/0.1482, allocations: 27.78 kB / 446.4 MB, free: 1.465 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.188e-05/0.1483, allocations: 13.72 kB / 446.4 MB, free: 1.445 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.046e-05/0.1483, allocations: 322.8 kB / 446.7 MB, free: 1.121 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.952e-05/0.1484, allocations: 19.98 kB / 446.7 MB, free: 1.102 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.731e-05/0.1485, allocations: 33.64 kB / 446.8 MB, free: 1.062 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.97e-05/0.1486, allocations: 53.05 kB / 446.8 MB, free: 1.008 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1486, allocations: 0 / 446.8 MB, free: 1.008 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001549/0.1487, allocations: 77.58 kB / 446.9 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.1488, allocations: 9.25 kB / 446.9 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.1488, allocations: 0 / 446.9 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.1488, allocations: 0 / 446.9 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.675e-05/0.1489, allocations: 11.98 kB / 446.9 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.1489, allocations: 7.938 kB / 446.9 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.855e-05/0.1489, allocations: 7.938 kB / 446.9 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.1489, allocations: 4 kB / 446.9 MB, free: 0.8867 MB / 318.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 7.807e-05/0.149, allocations: 121.7 kB / 447.1 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.461e-05/0.1491, allocations: 7.984 kB / 447.1 MB, free: 0.75 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000196/0.1493, allocations: 89.53 kB / 447.2 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.1493, allocations: 0 / 447.2 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.1493, allocations: 0 / 447.2 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.1493, allocations: 4 kB / 447.2 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003874/0.1497, allocations: 342.5 kB / 447.5 MB, free: 268 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.1497, allocations: 0 / 447.5 MB, free: 268 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.118e-05/0.1498, allocations: 12.27 kB / 447.5 MB, free: 256 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.1498, allocations: 4 kB / 447.5 MB, free: 252 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.1498, allocations: 0 / 447.5 MB, free: 252 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.1498, allocations: 4.125 kB / 447.5 MB, free: 248 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.1498, allocations: 3.984 kB / 447.5 MB, free: 244 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001947/0.15, allocations: 191.3 kB / 447.7 MB, free: 36 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.038e-05/0.1501, allocations: 77.11 kB / 447.8 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.085e-05/0.1501, allocations: 4 kB / 447.8 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.078e-05/0.1502, allocations: 7.938 kB / 447.8 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.667e-05/0.1503, allocations: 7.984 kB / 447.8 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.1503, allocations: 0 / 447.8 MB, free: 15.92 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.489e-05/0.1504, allocations: 103.3 kB / 447.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1504, allocations: 4 kB / 447.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002798/0.1507, allocations: 27.98 kB / 447.9 MB, free: 15.79 MB / 334.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.001131/0.1518, allocations: 448 kB / 448.4 MB, free: 15.43 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002723/0.1521, allocations: 47.97 kB / 448.4 MB, free: 15.38 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1521, allocations: 3.938 kB / 448.4 MB, free: 15.38 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.927e-05/0.1522, allocations: 23.98 kB / 448.5 MB, free: 15.36 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003776/0.1526, allocations: 15.98 kB / 448.5 MB, free: 15.34 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004574/0.153, allocations: 149.5 kB / 448.6 MB, free: 15.17 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/0.1533, allocations: 0.6866 MB / 449.3 MB, free: 14.46 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.768e-05/0.1534, allocations: 15.98 kB / 449.3 MB, free: 14.44 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.407e-05/0.1534, allocations: 11.44 kB / 449.3 MB, free: 14.43 MB / 334.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1535, allocations: 0 / 449.3 MB, free: 14.43 MB / 334.1 MB Notification: Performance of Templates: time 0.003989/0.1574, allocations: 1.362 MB / 450.7 MB, free: 13.07 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches