Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.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.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",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4") translateModel(ModelicaTest.Tables.CombiTable1D.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",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001196/0.001196, allocations: 187 kB / 16.64 MB, free: 5.133 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.31/1.31, allocations: 205.1 MB / 222.5 MB, free: 8.469 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.00106/0.00106, allocations: 104.8 kB / 269.9 MB, free: 8.441 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.3375/0.3375, allocations: 43.49 MB / 360.7 MB, free: 51.23 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001129, allocations: 55.91 kB / 429.2 MB, free: 6.395 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1325, allocations: 57.76 MB / 487 MB, free: 12.56 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test4): time 0.003534/0.1361, allocations: 1.633 MB / 488.6 MB, free: 10.91 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006533/0.1368, allocations: 339.5 kB / 489 MB, free: 10.57 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.484e-05/0.1368, allocations: 0 / 489 MB, free: 10.57 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003044/0.1371, allocations: 87.8 kB / 489.1 MB, free: 10.49 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001516/0.1373, allocations: 63.81 kB / 489.1 MB, free: 10.43 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002476/0.1376, allocations: 87.88 kB / 489.2 MB, free: 10.34 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001486/0.1377, allocations: 79.75 kB / 489.3 MB, free: 10.26 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.1379, allocations: 28.44 kB / 489.3 MB, free: 10.23 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.24e-05/0.1379, allocations: 27.92 kB / 489.3 MB, free: 10.21 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.138, allocations: 55.81 kB / 489.4 MB, free: 10.15 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.138, allocations: 0 / 489.4 MB, free: 10.15 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.382e-05/0.1381, allocations: 31.92 kB / 489.4 MB, free: 10.12 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.723e-05/0.1382, allocations: 19.92 kB / 489.4 MB, free: 10.1 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.744e-05/0.1382, allocations: 43.72 kB / 489.5 MB, free: 10.06 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001688/0.1384, allocations: 107.6 kB / 489.6 MB, free: 9.953 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1384, allocations: 0 / 489.6 MB, free: 9.953 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1384, allocations: 0 / 489.6 MB, free: 9.953 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.1384, allocations: 0 / 489.6 MB, free: 9.953 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005262/0.139, allocations: 418.6 kB / 490 MB, free: 9.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.139, allocations: 8.031 kB / 490 MB, free: 9.492 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.272e-05/0.1391, allocations: 12.75 kB / 490 MB, free: 9.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000194/0.1393, allocations: 200 kB / 490.2 MB, free: 9.246 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.967e-06/0.1393, allocations: 12.38 kB / 490.2 MB, free: 9.234 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.622e-05/0.1393, allocations: 4.375 kB / 490.2 MB, free: 9.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.1395, allocations: 75.31 kB / 490.3 MB, free: 9.145 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.1395, allocations: 4 kB / 490.3 MB, free: 9.141 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.1395, allocations: 4 kB / 490.3 MB, free: 9.137 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.1395, allocations: 0 / 490.3 MB, free: 9.137 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001131/0.1397, allocations: 39.91 kB / 490.3 MB, free: 9.098 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004844/0.1402, allocations: 396.9 kB / 490.7 MB, free: 8.656 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002774/0.1404, allocations: 89.16 kB / 490.8 MB, free: 8.551 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.918e-05/0.1405, allocations: 33.8 kB / 490.9 MB, free: 8.512 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.1406, allocations: 3.984 kB / 490.9 MB, free: 8.508 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.1406, allocations: 38.48 kB / 490.9 MB, free: 8.461 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.1406, allocations: 3.938 kB / 490.9 MB, free: 8.457 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006927/0.1413, allocations: 240.8 kB / 491.1 MB, free: 8.215 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.667e-05/0.1414, allocations: 85.09 kB / 491.2 MB, free: 8.113 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002089/0.1416, allocations: 234.2 kB / 491.4 MB, free: 7.875 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.1416, allocations: 29.7 kB / 491.5 MB, free: 7.84 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.026e-05/0.1417, allocations: 111.9 kB / 491.6 MB, free: 7.727 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.811e-05/0.1417, allocations: 31.55 kB / 491.6 MB, free: 7.695 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.901e-05/0.1418, allocations: 21.72 kB / 491.6 MB, free: 7.668 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.1419, allocations: 330.8 kB / 492 MB, free: 7.336 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.207e-05/0.142, allocations: 31.98 kB / 492 MB, free: 7.305 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.535e-05/0.1421, allocations: 49.69 kB / 492 MB, free: 7.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001669/0.1422, allocations: 81.67 kB / 492.1 MB, free: 7.164 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1423, allocations: 0 / 492.1 MB, free: 7.164 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002264/0.1425, allocations: 129.4 kB / 492.2 MB, free: 7.031 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.1425, allocations: 8 kB / 492.3 MB, free: 7.023 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.1425, allocations: 0.5625 kB / 492.3 MB, free: 7.023 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.1426, allocations: 0 / 492.3 MB, free: 7.023 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.586e-05/0.1427, allocations: 23.92 kB / 492.3 MB, free: 7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/0.1427, allocations: 3.938 kB / 492.3 MB, free: 6.996 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.424e-05/0.1427, allocations: 7.984 kB / 492.3 MB, free: 6.988 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.1428, allocations: 4 kB / 492.3 MB, free: 6.984 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (10): * Single equations (assignments): 10 * 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.0001124/0.1429, allocations: 133.8 kB / 492.4 MB, free: 6.844 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.703e-05/0.1429, allocations: 19.81 kB / 492.4 MB, free: 6.824 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003312/0.1433, allocations: 154.8 kB / 492.6 MB, free: 6.656 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.1433, allocations: 3.984 kB / 492.6 MB, free: 6.652 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.367e-06/0.1433, allocations: 3.938 kB / 492.6 MB, free: 6.648 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.1433, allocations: 0 / 492.6 MB, free: 6.648 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006064/0.1439, allocations: 0.5063 MB / 493.1 MB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1439, allocations: 0 / 493.1 MB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.976e-05/0.144, allocations: 31.86 kB / 493.1 MB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.144, allocations: 0 / 493.1 MB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.144, allocations: 7.938 kB / 493.1 MB, free: 6.043 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1441, allocations: 0 / 493.1 MB, free: 6.043 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1441, allocations: 0 / 493.1 MB, free: 6.043 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005994/0.1447, allocations: 0.9075 MB / 494.1 MB, free: 5.074 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.964e-05/0.1447, allocations: 88.92 kB / 494.1 MB, free: 4.969 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.1447, allocations: 7.984 kB / 494.1 MB, free: 4.961 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.724e-05/0.1448, allocations: 8 kB / 494.2 MB, free: 4.953 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.671e-05/0.1449, allocations: 7.984 kB / 494.2 MB, free: 4.945 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.355e-06/0.1449, allocations: 8 kB / 494.2 MB, free: 4.938 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001246/0.145, allocations: 172.2 kB / 494.3 MB, free: 4.77 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.145, allocations: 0 / 494.3 MB, free: 4.77 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003682/0.1454, allocations: 27.98 kB / 494.4 MB, free: 4.742 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.0008244/0.1463, allocations: 397.7 kB / 494.8 MB, free: 4.395 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002309/0.1465, allocations: 87.88 kB / 494.8 MB, free: 4.309 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.1465, allocations: 0 / 494.8 MB, free: 4.309 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.748e-05/0.1466, allocations: 47.91 kB / 494.9 MB, free: 4.262 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004782/0.1471, allocations: 20.59 kB / 494.9 MB, free: 4.242 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006309/0.1477, allocations: 456.9 kB / 495.4 MB, free: 3.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/0.148, allocations: 0.7238 MB / 496.1 MB, free: 3 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.524e-05/0.1481, allocations: 16.8 kB / 496.1 MB, free: 2.984 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.359e-05/0.1481, allocations: 15.44 kB / 496.1 MB, free: 2.969 MB / 378.7 MB Notification: Performance of SimCode: time 3.8e-07/0.1482, allocations: 0 / 496.1 MB, free: 2.969 MB / 378.7 MB Notification: Performance of Templates: time 0.003644/0.1518, allocations: 1.268 MB / 497.4 MB, free: 1.699 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test4/Test4.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches