Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1D.Test21,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.CombiTable1D.Test21") translateModel(ModelicaTest.Tables.CombiTable1D.Test21,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.CombiTable1D.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001028/0.001028, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.408/1.408, allocations: 205.1 MB / 222.5 MB, free: 8.465 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009992/0.0009993, allocations: 109.5 kB / 269.9 MB, free: 8.422 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3796/0.3796, allocations: 43.5 MB / 360.7 MB, free: 51.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001012/0.001012, allocations: 51.92 kB / 429.2 MB, free: 6.375 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.136, allocations: 57.77 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test21): time 0.003064/0.1391, allocations: 1.621 MB / 488.6 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001334/0.1405, allocations: 0.9297 MB / 489.6 MB, free: 9.961 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.586e-05/0.1405, allocations: 0 / 489.6 MB, free: 9.961 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002499/0.1408, allocations: 19.92 kB / 489.6 MB, free: 9.941 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001515/0.141, allocations: 27.91 kB / 489.6 MB, free: 9.914 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002423/0.1412, allocations: 91.83 kB / 489.7 MB, free: 9.824 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001371/0.1414, allocations: 51.84 kB / 489.7 MB, free: 9.773 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.1415, allocations: 11.98 kB / 489.8 MB, free: 9.762 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.555e-05/0.1416, allocations: 23.86 kB / 489.8 MB, free: 9.738 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001756/0.1418, allocations: 27.91 kB / 489.8 MB, free: 9.711 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.915e-05/0.1418, allocations: 0 / 489.8 MB, free: 9.711 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.1419, allocations: 55.91 kB / 489.9 MB, free: 9.656 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.107e-05/0.1419, allocations: 11.98 kB / 489.9 MB, free: 9.645 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.888e-05/0.142, allocations: 15.88 kB / 489.9 MB, free: 9.629 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001795/0.1422, allocations: 87.94 kB / 490 MB, free: 9.543 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.048e-05/0.1422, allocations: 3.984 kB / 490 MB, free: 9.539 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1422, allocations: 0 / 490 MB, free: 9.539 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.1422, allocations: 0 / 490 MB, free: 9.539 MB / 378.7 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.0005877/0.1428, allocations: 375.2 kB / 490.3 MB, free: 9.125 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.1429, allocations: 12.03 kB / 490.4 MB, free: 9.113 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.683e-05/0.1429, allocations: 8.938 kB / 490.4 MB, free: 9.105 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002032/0.1431, allocations: 192.2 kB / 490.6 MB, free: 8.879 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.1431, allocations: 4.375 kB / 490.6 MB, free: 8.875 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.1432, allocations: 4.281 kB / 490.6 MB, free: 8.871 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.1433, allocations: 71.45 kB / 490.6 MB, free: 8.789 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.1433, allocations: 0 / 490.6 MB, free: 8.789 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.1434, allocations: 7.938 kB / 490.6 MB, free: 8.781 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1434, allocations: 0 / 490.6 MB, free: 8.781 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.88e-05/0.1435, allocations: 23.98 kB / 490.7 MB, free: 8.758 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00038/0.1439, allocations: 276.9 kB / 490.9 MB, free: 8.438 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001996/0.1441, allocations: 46.48 kB / 491 MB, free: 8.383 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.927e-05/0.1441, allocations: 20.84 kB / 491 MB, free: 8.359 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.1442, allocations: 4 kB / 491 MB, free: 8.355 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.1442, allocations: 34.64 kB / 491 MB, free: 8.312 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.1442, allocations: 4 kB / 491 MB, free: 8.309 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005495/0.1448, allocations: 137.4 kB / 491.2 MB, free: 8.168 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/0.1448, allocations: 77.11 kB / 491.2 MB, free: 8.074 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.145, allocations: 141.8 kB / 491.4 MB, free: 7.926 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.145, allocations: 25.7 kB / 491.4 MB, free: 7.895 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.458e-05/0.145, allocations: 104 kB / 491.5 MB, free: 7.789 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.07e-05/0.1451, allocations: 7.812 kB / 491.5 MB, free: 7.781 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.405e-05/0.1451, allocations: 21.72 kB / 491.5 MB, free: 7.754 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.1452, allocations: 322.8 kB / 491.9 MB, free: 7.43 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7e-05/0.1453, allocations: 19.98 kB / 491.9 MB, free: 7.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.325e-05/0.1454, allocations: 37.89 kB / 491.9 MB, free: 7.367 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001491/0.1456, allocations: 56.81 kB / 492 MB, free: 7.309 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1456, allocations: 3.938 kB / 492 MB, free: 7.305 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001716/0.1457, allocations: 81.58 kB / 492.1 MB, free: 7.219 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.1458, allocations: 8 kB / 492.1 MB, free: 7.211 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.1458, allocations: 3.938 kB / 492.1 MB, free: 7.207 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.1458, allocations: 0 / 492.1 MB, free: 7.207 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.674e-05/0.1459, allocations: 16.02 kB / 492.1 MB, free: 7.191 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.1459, allocations: 4 kB / 492.1 MB, free: 7.188 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.628e-05/0.1459, allocations: 0 / 492.1 MB, free: 7.188 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.1459, allocations: 7.984 kB / 492.1 MB, free: 7.18 MB / 378.7 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 8.853e-05/0.146, allocations: 121.8 kB / 492.2 MB, free: 7.051 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.991e-05/0.1461, allocations: 4 kB / 492.2 MB, free: 7.047 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002295/0.1463, allocations: 97.56 kB / 492.3 MB, free: 6.945 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.1463, allocations: 0 / 492.3 MB, free: 6.945 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1463, allocations: 0 / 492.3 MB, free: 6.945 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.1463, allocations: 3.984 kB / 492.3 MB, free: 6.941 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004138/0.1467, allocations: 362.3 kB / 492.7 MB, free: 6.531 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1468, allocations: 0 / 492.7 MB, free: 6.531 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.088e-05/0.1468, allocations: 12.19 kB / 492.7 MB, free: 6.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1468, allocations: 0 / 492.7 MB, free: 6.52 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.1468, allocations: 8 kB / 492.7 MB, free: 6.512 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.1468, allocations: 3.938 kB / 492.7 MB, free: 6.508 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.1468, allocations: 3.984 kB / 492.7 MB, free: 6.504 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005584/0.1474, allocations: 0.759 MB / 493.5 MB, free: 5.688 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.256e-05/0.1475, allocations: 85.02 kB / 493.5 MB, free: 5.586 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.1475, allocations: 4 kB / 493.5 MB, free: 5.582 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.404e-05/0.1476, allocations: 4 kB / 493.5 MB, free: 5.578 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.141e-05/0.1476, allocations: 7.984 kB / 493.6 MB, free: 5.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-06/0.1476, allocations: 4 kB / 493.6 MB, free: 5.566 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.958e-05/0.1477, allocations: 103.3 kB / 493.7 MB, free: 5.465 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1477, allocations: 0 / 493.7 MB, free: 5.465 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003247/0.148, allocations: 19.98 kB / 493.7 MB, free: 5.445 MB / 378.7 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.000921/0.149, allocations: 454.1 kB / 494.1 MB, free: 5.051 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002121/0.1492, allocations: 47.91 kB / 494.2 MB, free: 5.004 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1492, allocations: 0 / 494.2 MB, free: 5.004 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.914e-05/0.1493, allocations: 31.98 kB / 494.2 MB, free: 4.973 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003429/0.1496, allocations: 19.92 kB / 494.2 MB, free: 4.953 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004756/0.1501, allocations: 294.1 kB / 494.5 MB, free: 4.621 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003153/0.1504, allocations: 0.6926 MB / 495.2 MB, free: 3.902 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.627e-05/0.1505, allocations: 19.84 kB / 495.2 MB, free: 3.883 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.358e-05/0.1506, allocations: 19.36 kB / 495.2 MB, free: 3.867 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.1506, allocations: 0 / 495.2 MB, free: 3.867 MB / 378.7 MB Notification: Performance of Templates: time 0.003538/0.1541, allocations: 1.331 MB / 496.6 MB, free: 2.535 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test21/Test21.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches