Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009313/0.0009313, allocations: 201 kB / 15.8 MB, free: 6.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.235/1.235, allocations: 226.6 MB / 243.1 MB, free: 14.3 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007969/0.0007969, allocations: 95.23 kB / 295.1 MB, free: 10.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1724/0.1724, allocations: 44.84 MB / 392 MB, free: 9.32 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002213/0.0002213, allocations: 8 kB / 464.7 MB, free: 49.75 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08998/0.09021, allocations: 62.95 MB / 0.5153 GB, free: 2.762 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.0016/0.09186, allocations: 1.303 MB / 0.5166 GB, free: 1.441 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000714/0.09259, allocations: 0.4992 MB / 0.5171 GB, free: 0.9375 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.049e-05/0.09264, allocations: 0 / 0.5171 GB, free: 0.9375 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002101/0.09286, allocations: 67.83 kB / 0.5172 GB, free: 0.8711 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001808/0.09305, allocations: 79.78 kB / 0.5172 GB, free: 0.793 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002454/0.0933, allocations: 98.06 kB / 0.5173 GB, free: 0.6992 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.09343, allocations: 71.77 kB / 0.5174 GB, free: 0.6289 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.651e-05/0.09351, allocations: 15.98 kB / 0.5174 GB, free: 0.6133 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.465e-05/0.09356, allocations: 27.89 kB / 0.5174 GB, free: 0.5859 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.37e-05/0.09366, allocations: 39.84 kB / 0.5175 GB, free: 0.5469 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/0.09368, allocations: 0 / 0.5175 GB, free: 0.5469 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.108e-05/0.09377, allocations: 47.86 kB / 0.5175 GB, free: 0.5 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.612e-05/0.09381, allocations: 11.98 kB / 0.5175 GB, free: 500 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.875e-05/0.09385, allocations: 41.64 kB / 0.5176 GB, free: 452 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001583/0.09401, allocations: 75.88 kB / 0.5176 GB, free: 376 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.09403, allocations: 0 / 0.5176 GB, free: 376 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.09404, allocations: 0 / 0.5176 GB, free: 376 kB / 346.7 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.09405, allocations: 0 / 0.5176 GB, free: 376 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.1732/0.2672, allocations: 398.5 kB / 0.518 GB, free: 11.82 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.2673, allocations: 9.375 kB / 0.518 GB, free: 11.82 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.214e-05/0.2674, allocations: 8.531 kB / 0.518 GB, free: 11.82 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001906/0.2676, allocations: 192.7 kB / 0.5182 GB, free: 11.61 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.2676, allocations: 4.438 kB / 0.5182 GB, free: 11.61 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/0.2676, allocations: 3.688 kB / 0.5182 GB, free: 11.61 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.2678, allocations: 54.05 kB / 0.5183 GB, free: 11.58 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.2678, allocations: 5.281 kB / 0.5183 GB, free: 11.58 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.2678, allocations: 1.25 kB / 0.5183 GB, free: 11.58 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.2678, allocations: 4.25 kB / 0.5183 GB, free: 11.58 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001187/0.268, allocations: 34 kB / 0.5183 GB, free: 11.58 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004169/0.2684, allocations: 307.1 kB / 0.5186 GB, free: 11.31 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.2685, allocations: 47.98 kB / 0.5187 GB, free: 11.29 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.747e-05/0.2686, allocations: 19.55 kB / 0.5187 GB, free: 11.28 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.2686, allocations: 1.828 kB / 0.5187 GB, free: 11.28 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.691e-05/0.2686, allocations: 32.62 kB / 0.5187 GB, free: 11.24 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.542e-06/0.2686, allocations: 2 kB / 0.5187 GB, free: 11.24 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009744/0.2696, allocations: 268.4 kB / 0.519 GB, free: 11.19 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.276e-05/0.2697, allocations: 56.36 kB / 0.519 GB, free: 11.12 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000192/0.2698, allocations: 201.7 kB / 0.5192 GB, free: 11.02 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.157e-06/0.2699, allocations: 28.03 kB / 0.5192 GB, free: 10.98 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.71e-05/0.2699, allocations: 107.7 kB / 0.5193 GB, free: 10.9 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.324e-05/0.2699, allocations: 24.23 kB / 0.5194 GB, free: 10.88 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.012e-05/0.27, allocations: 1.688 kB / 0.5194 GB, free: 10.88 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.722e-05/0.27, allocations: 323.6 kB / 0.5197 GB, free: 10.57 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.2701, allocations: 36.77 kB / 0.5197 GB, free: 10.57 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.513e-05/0.2702, allocations: 33.05 kB / 0.5197 GB, free: 10.57 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.64e-05/0.2703, allocations: 45.5 kB / 0.5198 GB, free: 10.56 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.2703, allocations: 0 / 0.5198 GB, free: 10.56 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002357/0.2706, allocations: 124.2 kB / 0.5199 GB, free: 10.52 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.2706, allocations: 4.688 kB / 0.5199 GB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.2706, allocations: 1.156 kB / 0.5199 GB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.2706, allocations: 1.062 kB / 0.5199 GB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.2707, allocations: 18.34 kB / 0.5199 GB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.2707, allocations: 4.891 kB / 0.5199 GB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.946e-05/0.2708, allocations: 14.75 kB / 0.5199 GB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.2708, allocations: 2.25 kB / 0.52 GB, free: 10.51 MB / 346.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 (8): * Single equations (assignments): 8 * 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 7.2e-05/0.2709, allocations: 130.6 kB / 0.5201 GB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.134e-05/0.2709, allocations: 9.219 kB / 0.5201 GB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002872/0.2712, allocations: 143.3 kB / 0.5202 GB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.2712, allocations: 0 / 0.5202 GB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.2712, allocations: 1.188 kB / 0.5202 GB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.2713, allocations: 8.5 kB / 0.5202 GB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004849/0.2717, allocations: 432.9 kB / 0.5206 GB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.2718, allocations: 1.031 kB / 0.5206 GB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.382e-05/0.2718, allocations: 18.41 kB / 0.5207 GB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.2719, allocations: 1.609 kB / 0.5207 GB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.2719, allocations: 7.672 kB / 0.5207 GB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.2719, allocations: 5.578 kB / 0.5207 GB, free: 10.01 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.2719, allocations: 0.9688 kB / 0.5207 GB, free: 10.01 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002501/0.2721, allocations: 218.1 kB / 0.5209 GB, free: 9.867 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.096e-05/0.2722, allocations: 91.83 kB / 0.521 GB, free: 9.766 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.2722, allocations: 4.375 kB / 0.521 GB, free: 9.766 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.499e-05/0.2723, allocations: 12.05 kB / 0.521 GB, free: 9.762 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.055e-05/0.2723, allocations: 11.66 kB / 0.521 GB, free: 9.758 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.2723, allocations: 2.344 kB / 0.521 GB, free: 9.758 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001305/0.2725, allocations: 153.4 kB / 0.5211 GB, free: 9.684 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.2725, allocations: 0 / 0.5211 GB, free: 9.684 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000234/0.2727, allocations: 21.97 kB / 0.5212 GB, free: 9.684 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (8): * Single equations (assignments): 8 * 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.0008768/0.2736, allocations: 456.1 kB / 0.5216 GB, free: 9.469 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002477/0.2739, allocations: 78.22 kB / 0.5217 GB, free: 9.469 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.2739, allocations: 4.75 kB / 0.5217 GB, free: 9.465 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001174/0.274, allocations: 44.58 kB / 0.5217 GB, free: 9.461 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000301/0.2743, allocations: 17.23 kB / 0.5217 GB, free: 9.461 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004336/0.2748, allocations: 298.5 kB / 0.522 GB, free: 9.262 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001269/0.2749, allocations: 0.7066 MB / 0.5227 GB, free: 8.566 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.345e-05/0.2749, allocations: 16.28 kB / 0.5227 GB, free: 8.562 MB / 346.7 MB Notification: Performance of SimCode: time 3.1e-07/0.2749, allocations: 3.938 kB / 0.5227 GB, free: 8.559 MB / 346.7 MB Notification: Performance of Templates: time 0.003606/0.2785, allocations: 1.783 MB / 0.5245 GB, free: 8.355 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test3 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches