Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.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.Test8,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.Test8") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,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.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009019/0.0009022, allocations: 183.4 kB / 13.19 MB, free: 2.129 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.362/1.362, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.001006/0.001007, allocations: 100.1 kB / 267.1 MB, free: 9.273 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.3629/0.3629, allocations: 43.47 MB / 358.6 MB, free: 51.56 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.655e-05/2.656e-05, allocations: 4 kB / 425.3 MB, free: 8.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1246, allocations: 58.85 MB / 484.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3998/0.5245, allocations: 86.26 MB / 0.557 GB, free: 17.51 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001707/0.5247, allocations: 69.14 kB / 0.5571 GB, free: 17.48 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007877/0.5325, allocations: 3.554 MB / 0.5606 GB, free: 15.4 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.5326, allocations: 1.5 kB / 0.5606 GB, free: 15.4 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.5326, allocations: 4 kB / 0.5606 GB, free: 15.4 MB / 394.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.0002101/0.5328, allocations: 377.8 kB / 0.5609 GB, free: 15.01 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.161e-05/0.5328, allocations: 8.031 kB / 0.561 GB, free: 15 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.263e-05/0.5329, allocations: 11.34 kB / 0.561 GB, free: 14.99 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.533, allocations: 186.5 kB / 0.5611 GB, free: 14.78 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.45e-06/0.533, allocations: 0 / 0.5611 GB, free: 14.78 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.929e-06/0.533, allocations: 4.875 kB / 0.5611 GB, free: 14.78 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.835e-05/0.5331, allocations: 43.91 kB / 0.5612 GB, free: 14.74 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.5331, allocations: 7.938 kB / 0.5612 GB, free: 14.73 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.669e-06/0.5331, allocations: 0 / 0.5612 GB, free: 14.73 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.705e-06/0.5331, allocations: 1.375 kB / 0.5612 GB, free: 14.73 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.218e-05/0.5332, allocations: 17.06 kB / 0.5612 GB, free: 14.72 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001919/0.5334, allocations: 282.7 kB / 0.5615 GB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.789e-05/0.5335, allocations: 44.8 kB / 0.5615 GB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.637e-05/0.5335, allocations: 8.859 kB / 0.5615 GB, free: 14.37 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.264e-05/0.5335, allocations: 3.984 kB / 0.5615 GB, free: 14.36 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.199e-05/0.5335, allocations: 38.83 kB / 0.5616 GB, free: 14.32 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.5335, allocations: 0 / 0.5616 GB, free: 14.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002452/0.5338, allocations: 106.6 kB / 0.5617 GB, free: 14.23 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.746e-05/0.5338, allocations: 59.36 kB / 0.5617 GB, free: 14.16 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.06e-05/0.5339, allocations: 138.5 kB / 0.5619 GB, free: 14.04 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.165e-06/0.5339, allocations: 29.7 kB / 0.5619 GB, free: 14 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.271e-05/0.534, allocations: 92.72 kB / 0.562 GB, free: 13.92 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.498e-05/0.534, allocations: 21.14 kB / 0.562 GB, free: 13.9 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.335e-06/0.534, allocations: 0 / 0.562 GB, free: 13.9 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.353e-05/0.534, allocations: 321.6 kB / 0.5623 GB, free: 13.59 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.748e-05/0.5341, allocations: 7.625 kB / 0.5623 GB, free: 13.58 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.54e-05/0.5341, allocations: 15.69 kB / 0.5623 GB, free: 13.57 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.017e-05/0.5341, allocations: 9.094 kB / 0.5623 GB, free: 13.57 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.5341, allocations: 2.812 kB / 0.5623 GB, free: 13.57 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.347e-05/0.5342, allocations: 60.06 kB / 0.5624 GB, free: 13.51 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.536e-06/0.5342, allocations: 4 kB / 0.5624 GB, free: 13.51 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.893e-06/0.5342, allocations: 7.938 kB / 0.5624 GB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.122e-06/0.5342, allocations: 0 / 0.5624 GB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.086e-05/0.5343, allocations: 14.95 kB / 0.5624 GB, free: 13.49 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.625e-06/0.5343, allocations: 0 / 0.5624 GB, free: 13.49 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.826e-05/0.5344, allocations: 13.59 kB / 0.5624 GB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-06/0.5344, allocations: 0 / 0.5624 GB, free: 13.48 MB / 394.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.472e-05/0.5344, allocations: 110.2 kB / 0.5625 GB, free: 13.37 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.657e-05/0.5344, allocations: 7.906 kB / 0.5626 GB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001039/0.5345, allocations: 70.56 kB / 0.5626 GB, free: 13.31 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.5346, allocations: 0 / 0.5626 GB, free: 13.31 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.5346, allocations: 3.938 kB / 0.5626 GB, free: 13.3 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.5346, allocations: 0 / 0.5626 GB, free: 13.3 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002356/0.5348, allocations: 335.7 kB / 0.5629 GB, free: 12.96 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.5348, allocations: 384 / 0.5629 GB, free: 12.96 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.637e-05/0.5349, allocations: 10.62 kB / 0.563 GB, free: 12.96 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.5349, allocations: 4 kB / 0.563 GB, free: 12.95 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.859e-06/0.5349, allocations: 4 kB / 0.563 GB, free: 12.95 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.5349, allocations: 1.172 kB / 0.563 GB, free: 12.95 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.5349, allocations: 3.953 kB / 0.563 GB, free: 12.95 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.054e-05/0.535, allocations: 165.8 kB / 0.5631 GB, free: 12.78 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.992e-05/0.535, allocations: 86.31 kB / 0.5632 GB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.131e-05/0.5351, allocations: 5.547 kB / 0.5632 GB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.532e-05/0.5351, allocations: 5.312 kB / 0.5632 GB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.153e-05/0.5352, allocations: 9.375 kB / 0.5632 GB, free: 12.67 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.5352, allocations: 3.953 kB / 0.5632 GB, free: 12.67 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.797e-05/0.5352, allocations: 119.8 kB / 0.5633 GB, free: 12.57 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5353, allocations: 0 / 0.5633 GB, free: 12.57 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001977/0.5355, allocations: 18.02 kB / 0.5634 GB, free: 12.55 MB / 394.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006861/0.5362, allocations: 374.4 kB / 0.5637 GB, free: 12.27 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.595e-05/0.5362, allocations: 28.72 kB / 0.5637 GB, free: 12.25 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.5362, allocations: 0 / 0.5637 GB, free: 12.25 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.35e-05/0.5363, allocations: 15.69 kB / 0.5638 GB, free: 12.23 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000174/0.5365, allocations: 14.42 kB / 0.5638 GB, free: 12.23 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002258/0.5367, allocations: 122.1 kB / 0.5639 GB, free: 12.11 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001501/0.5368, allocations: 0.7026 MB / 0.5646 GB, free: 11.39 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.946e-05/0.5369, allocations: 5.594 kB / 0.5646 GB, free: 11.39 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.637e-05/0.5369, allocations: 12.8 kB / 0.5646 GB, free: 11.38 MB / 394.7 MB Notification: Performance of SimCode: time 6.82e-07/0.5369, allocations: 0 / 0.5646 GB, free: 11.38 MB / 394.7 MB Notification: Performance of Templates: time 0.002828/0.5398, allocations: 1.052 MB / 0.5656 GB, free: 10.75 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches