Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.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.CombiTable1D.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable1D.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 103.7 kB / 15.98 MB, free: 5.906 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.001543/0.001543, allocations: 191.8 kB / 16.9 MB, free: 5.754 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.623/1.623, allocations: 205.1 MB / 222.8 MB, free: 12.44 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.2325/0.2325, allocations: 43.51 MB / 313.6 MB, free: 0.707 MB / 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.001423/0.001423, allocations: 66.22 kB / 382.2 MB, free: 56.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1452, allocations: 57.78 MB / 440 MB, free: 7.363 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test30): time 0.003077/0.1483, allocations: 1.615 MB / 441.6 MB, free: 5.727 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005875/0.1489, allocations: 328.1 kB / 441.9 MB, free: 5.402 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.581e-05/0.149, allocations: 3.938 kB / 441.9 MB, free: 5.398 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003639/0.1494, allocations: 67.84 kB / 442 MB, free: 5.332 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002468/0.1497, allocations: 55.86 kB / 442.1 MB, free: 5.277 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002889/0.15, allocations: 91.47 kB / 442.2 MB, free: 5.191 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001861/0.1502, allocations: 67.88 kB / 442.2 MB, free: 5.125 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.1503, allocations: 7.938 kB / 442.2 MB, free: 5.117 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.969e-05/0.1504, allocations: 35.89 kB / 442.3 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001311/0.1505, allocations: 51.78 kB / 442.3 MB, free: 5.031 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.106e-05/0.1506, allocations: 8 kB / 442.3 MB, free: 5.023 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.907e-05/0.1506, allocations: 27.98 kB / 442.3 MB, free: 4.996 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.495e-05/0.1507, allocations: 23.91 kB / 442.4 MB, free: 4.973 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.596e-05/0.1507, allocations: 27.75 kB / 442.4 MB, free: 4.945 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001479/0.1509, allocations: 79.78 kB / 442.5 MB, free: 4.867 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.1509, allocations: 4 kB / 442.5 MB, free: 4.863 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.1509, allocations: 0 / 442.5 MB, free: 4.863 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.1509, allocations: 0 / 442.5 MB, free: 4.863 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.0004642/0.1514, allocations: 402.9 kB / 442.9 MB, free: 4.422 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.1514, allocations: 15.89 kB / 442.9 MB, free: 4.406 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.321e-05/0.1515, allocations: 8.844 kB / 442.9 MB, free: 4.398 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000178/0.1517, allocations: 200.9 kB / 443.1 MB, free: 4.164 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.1517, allocations: 384 / 443.1 MB, free: 4.164 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.271e-05/0.1517, allocations: 8.312 kB / 443.1 MB, free: 4.156 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.1519, allocations: 49.81 kB / 443.1 MB, free: 4.102 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.1519, allocations: 0 / 443.1 MB, free: 4.102 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.1519, allocations: 0 / 443.1 MB, free: 4.102 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1519, allocations: 4 kB / 443.2 MB, free: 4.098 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.581e-05/0.152, allocations: 27.97 kB / 443.2 MB, free: 4.07 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003354/0.1523, allocations: 284.8 kB / 443.5 MB, free: 3.742 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001999/0.1526, allocations: 46.55 kB / 443.5 MB, free: 3.688 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.374e-05/0.1526, allocations: 12.86 kB / 443.5 MB, free: 3.672 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.1526, allocations: 4 kB / 443.5 MB, free: 3.668 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/0.1527, allocations: 38.64 kB / 443.6 MB, free: 3.621 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.1527, allocations: 0 / 443.6 MB, free: 3.621 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005384/0.1532, allocations: 157.1 kB / 443.7 MB, free: 3.461 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.1533, allocations: 51.41 kB / 443.8 MB, free: 3.398 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000165/0.1534, allocations: 206.2 kB / 444 MB, free: 3.188 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.1535, allocations: 29.7 kB / 444 MB, free: 3.152 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.534e-05/0.1535, allocations: 104.1 kB / 444.1 MB, free: 3.047 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.106e-05/0.1535, allocations: 23.64 kB / 444.1 MB, free: 3.023 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.812e-05/0.1536, allocations: 21.7 kB / 444.1 MB, free: 2.996 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.404e-05/0.1536, allocations: 326.8 kB / 444.5 MB, free: 2.668 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.18e-05/0.1537, allocations: 23.92 kB / 444.5 MB, free: 2.645 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.14e-05/0.1538, allocations: 23.92 kB / 444.5 MB, free: 2.621 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001072/0.1539, allocations: 52.83 kB / 444.6 MB, free: 2.566 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1539, allocations: 192 / 444.6 MB, free: 2.566 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001532/0.154, allocations: 93.56 kB / 444.6 MB, free: 2.469 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.1541, allocations: 4 kB / 444.7 MB, free: 2.465 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.1541, allocations: 0 / 444.7 MB, free: 2.465 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.1541, allocations: 0 / 444.7 MB, free: 2.465 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.561e-05/0.1542, allocations: 15.98 kB / 444.7 MB, free: 2.449 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.1542, allocations: 7.984 kB / 444.7 MB, free: 2.441 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.713e-05/0.1542, allocations: 4 kB / 444.7 MB, free: 2.438 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-06/0.1542, allocations: 3.938 kB / 444.7 MB, free: 2.434 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 8.456e-05/0.1543, allocations: 137.7 kB / 444.8 MB, free: 2.289 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.804e-05/0.1544, allocations: 8.188 kB / 444.8 MB, free: 2.281 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002363/0.1546, allocations: 93.97 kB / 444.9 MB, free: 2.188 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.1546, allocations: 7.969 kB / 444.9 MB, free: 2.18 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1546, allocations: 4 kB / 444.9 MB, free: 2.176 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1546, allocations: 0 / 444.9 MB, free: 2.176 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000326/0.155, allocations: 362.4 kB / 445.3 MB, free: 1.766 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.155, allocations: 4 kB / 445.3 MB, free: 1.762 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.647e-05/0.155, allocations: 8 kB / 445.3 MB, free: 1.754 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.155, allocations: 3.984 kB / 445.3 MB, free: 1.75 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.155, allocations: 3.938 kB / 445.3 MB, free: 1.746 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.155, allocations: 3.938 kB / 445.3 MB, free: 1.742 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1551, allocations: 8 kB / 445.3 MB, free: 1.734 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001697/0.1552, allocations: 187.5 kB / 445.5 MB, free: 1.535 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.591e-05/0.1553, allocations: 89 kB / 445.6 MB, free: 1.43 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.797e-05/0.1553, allocations: 0 / 445.6 MB, free: 1.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.193e-05/0.1554, allocations: 7.938 kB / 445.6 MB, free: 1.422 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.845e-05/0.1554, allocations: 7.984 kB / 445.6 MB, free: 1.414 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.1554, allocations: 4 kB / 445.6 MB, free: 1.41 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.148e-05/0.1555, allocations: 155.2 kB / 445.8 MB, free: 1.258 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1555, allocations: 0 / 445.8 MB, free: 1.258 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002291/0.1557, allocations: 20 kB / 445.8 MB, free: 1.238 MB / 318.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.0009036/0.1567, allocations: 391.4 kB / 446.2 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002231/0.1569, allocations: 59.91 kB / 446.2 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1569, allocations: 4 kB / 446.2 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.16e-05/0.157, allocations: 31.97 kB / 446.2 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004345/0.1574, allocations: 11.94 kB / 446.3 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004927/0.1579, allocations: 242.1 kB / 446.5 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004391/0.1584, allocations: 0.7041 MB / 447.2 MB, free: 15.83 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.212e-05/0.1584, allocations: 11.98 kB / 447.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.224e-05/0.1585, allocations: 11.44 kB / 447.2 MB, free: 15.81 MB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1585, allocations: 0 / 447.2 MB, free: 15.81 MB / 334.1 MB Notification: Performance of Templates: time 0.005038/0.1636, allocations: 1.097 MB / 448.3 MB, free: 14.72 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test30/Test30.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches