Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.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.CombiTable1Ds.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,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.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001298/0.001298, 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.312/1.312, allocations: 205.1 MB / 222.5 MB, free: 8.484 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.0009575/0.0009576, allocations: 103.7 kB / 269.9 MB, free: 8.438 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.3645/0.3645, allocations: 43.5 MB / 360.7 MB, free: 51.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00108/0.00108, allocations: 47.92 kB / 429.2 MB, free: 6.387 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1365, allocations: 57.77 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.003689/0.1402, allocations: 1.613 MB / 488.6 MB, free: 10.91 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000742/0.141, allocations: 311.5 kB / 488.9 MB, free: 10.61 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.621e-05/0.1411, allocations: 3.938 kB / 488.9 MB, free: 10.6 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002523/0.1413, allocations: 19.92 kB / 488.9 MB, free: 10.58 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001945/0.1416, allocations: 35.91 kB / 489 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002607/0.1419, allocations: 59.86 kB / 489 MB, free: 10.49 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001472/0.142, allocations: 55.91 kB / 489.1 MB, free: 10.43 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.1421, allocations: 11.98 kB / 489.1 MB, free: 10.42 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.732e-05/0.1422, allocations: 27.84 kB / 489.1 MB, free: 10.39 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.287e-05/0.1422, allocations: 15.92 kB / 489.2 MB, free: 10.38 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.1423, allocations: 0 / 489.2 MB, free: 10.38 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.563e-05/0.1424, allocations: 27.94 kB / 489.2 MB, free: 10.35 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.551e-05/0.1424, allocations: 15.92 kB / 489.2 MB, free: 10.34 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.126e-05/0.1425, allocations: 27.8 kB / 489.2 MB, free: 10.31 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001452/0.1426, allocations: 76.02 kB / 489.3 MB, free: 10.23 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1426, allocations: 0 / 489.3 MB, free: 10.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.1426, allocations: 0 / 489.3 MB, free: 10.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.407e-06/0.1427, allocations: 0 / 489.3 MB, free: 10.23 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.0004579/0.1431, allocations: 375.2 kB / 489.7 MB, free: 9.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.1432, allocations: 12.03 kB / 489.7 MB, free: 9.809 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.346e-05/0.1432, allocations: 8.844 kB / 489.7 MB, free: 9.801 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001807/0.1434, allocations: 192.1 kB / 489.9 MB, free: 9.574 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.1434, allocations: 4.375 kB / 489.9 MB, free: 9.57 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/0.1434, allocations: 384 / 489.9 MB, free: 9.57 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.1436, allocations: 49.81 kB / 489.9 MB, free: 9.516 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.1436, allocations: 0 / 489.9 MB, free: 9.516 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.1436, allocations: 0 / 489.9 MB, free: 9.516 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.1436, allocations: 0 / 489.9 MB, free: 9.516 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.446e-05/0.1437, allocations: 27.97 kB / 490 MB, free: 9.488 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003443/0.1441, allocations: 276.9 kB / 490.2 MB, free: 9.168 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002261/0.1443, allocations: 46.5 kB / 490.3 MB, free: 9.113 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.896e-05/0.1444, allocations: 20.88 kB / 490.3 MB, free: 9.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.1444, allocations: 0 / 490.3 MB, free: 9.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.1444, allocations: 34.55 kB / 490.3 MB, free: 9.047 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.1444, allocations: 4 kB / 490.3 MB, free: 9.043 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005597/0.145, allocations: 145.2 kB / 490.5 MB, free: 8.895 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/0.145, allocations: 55.34 kB / 490.5 MB, free: 8.828 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.1452, allocations: 149.8 kB / 490.7 MB, free: 8.672 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.1452, allocations: 33.7 kB / 490.7 MB, free: 8.633 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.889e-05/0.1453, allocations: 92.12 kB / 490.8 MB, free: 8.539 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.133e-05/0.1453, allocations: 19.66 kB / 490.8 MB, free: 8.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.652e-05/0.1454, allocations: 21.72 kB / 490.8 MB, free: 8.492 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.1455, allocations: 326.8 kB / 491.1 MB, free: 8.164 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.194e-05/0.1456, allocations: 11.98 kB / 491.2 MB, free: 8.152 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.561e-05/0.1456, allocations: 23.92 kB / 491.2 MB, free: 8.129 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.1457, allocations: 53.02 kB / 491.2 MB, free: 8.074 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1458, allocations: 0 / 491.2 MB, free: 8.074 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001673/0.1459, allocations: 77.58 kB / 491.3 MB, free: 7.992 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.146, allocations: 8 kB / 491.3 MB, free: 7.984 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.146, allocations: 0 / 491.3 MB, free: 7.984 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.146, allocations: 0 / 491.3 MB, free: 7.984 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.832e-05/0.146, allocations: 11.98 kB / 491.3 MB, free: 7.973 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.1461, allocations: 0 / 491.3 MB, free: 7.973 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.513e-05/0.1461, allocations: 4 kB / 491.3 MB, free: 7.969 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.1461, allocations: 11.92 kB / 491.3 MB, free: 7.957 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.79e-05/0.1462, allocations: 129.8 kB / 491.5 MB, free: 7.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.001e-05/0.1463, allocations: 7.906 kB / 491.5 MB, free: 7.812 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002177/0.1465, allocations: 89.97 kB / 491.6 MB, free: 7.715 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1465, allocations: 0 / 491.6 MB, free: 7.715 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1465, allocations: 0 / 491.6 MB, free: 7.715 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1465, allocations: 0 / 491.6 MB, free: 7.715 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003997/0.1469, allocations: 346.5 kB / 491.9 MB, free: 7.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1469, allocations: 0 / 491.9 MB, free: 7.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.17e-05/0.147, allocations: 11.98 kB / 491.9 MB, free: 7.309 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.147, allocations: 4 kB / 491.9 MB, free: 7.305 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.147, allocations: 4 kB / 491.9 MB, free: 7.301 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.147, allocations: 8.062 kB / 491.9 MB, free: 7.293 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.147, allocations: 4 kB / 491.9 MB, free: 7.289 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005866/0.1476, allocations: 0.7434 MB / 492.7 MB, free: 6.488 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.54e-05/0.1477, allocations: 85 kB / 492.8 MB, free: 6.387 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.611e-05/0.1477, allocations: 8 kB / 492.8 MB, free: 6.379 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.054e-05/0.1478, allocations: 0 / 492.8 MB, free: 6.379 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.06e-05/0.1478, allocations: 7.984 kB / 492.8 MB, free: 6.371 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.858e-06/0.1478, allocations: 0 / 492.8 MB, free: 6.371 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.216e-05/0.1479, allocations: 130.7 kB / 492.9 MB, free: 6.246 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1479, allocations: 0 / 492.9 MB, free: 6.246 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003262/0.1483, allocations: 8 kB / 492.9 MB, free: 6.238 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.001016/0.1493, allocations: 413.4 kB / 493.3 MB, free: 5.879 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001863/0.1495, allocations: 43.97 kB / 493.4 MB, free: 5.836 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.1495, allocations: 0 / 493.4 MB, free: 5.836 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.225e-05/0.1496, allocations: 27.98 kB / 493.4 MB, free: 5.809 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003672/0.15, allocations: 20.53 kB / 493.4 MB, free: 5.789 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005045/0.1505, allocations: 302 kB / 493.7 MB, free: 5.449 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003069/0.1508, allocations: 0.7005 MB / 494.4 MB, free: 4.723 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.26e-05/0.1508, allocations: 7.859 kB / 494.4 MB, free: 4.715 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.616e-05/0.1509, allocations: 15.42 kB / 494.4 MB, free: 4.703 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.1509, allocations: 0 / 494.4 MB, free: 4.703 MB / 378.7 MB Notification: Performance of Templates: time 0.00338/0.1543, allocations: 1.057 MB / 495.5 MB, free: 3.648 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches