Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.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.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002274/0.002274, allocations: 192 kB / 16.09 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.357/1.357, allocations: 226.5 MB / 243.4 MB, free: 6.363 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000789/0.0007888, allocations: 92.59 kB / 295.5 MB, free: 6.664 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3386/0.3386, allocations: 44.82 MB / 392.3 MB, free: 35.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002687/0.000269, allocations: 8 kB / 465.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.346, allocations: 62.96 MB / 0.5159 GB, free: 37.26 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.001687/0.3477, allocations: 1.364 MB / 0.5172 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007539/0.3485, allocations: 0.5296 MB / 0.5177 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.451e-05/0.3485, allocations: 0 / 0.5177 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002321/0.3488, allocations: 41.98 kB / 0.5178 GB, free: 35.9 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002032/0.349, allocations: 78.8 kB / 0.5178 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003517/0.3494, allocations: 161.5 kB / 0.518 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001359/0.3495, allocations: 74.03 kB / 0.5181 GB, free: 35.76 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.3496, allocations: 21.06 kB / 0.5181 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.627e-05/0.3497, allocations: 30.81 kB / 0.5181 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.257e-05/0.3497, allocations: 36.45 kB / 0.5182 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.3498, allocations: 2.938 kB / 0.5182 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.182e-05/0.3499, allocations: 39.42 kB / 0.5182 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.179e-05/0.3499, allocations: 19.56 kB / 0.5182 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.774e-05/0.35, allocations: 58.23 kB / 0.5183 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.3501, allocations: 79.2 kB / 0.5183 GB, free: 35.62 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3501, allocations: 0 / 0.5183 GB, free: 35.62 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3501, allocations: 3.031 kB / 0.5183 GB, free: 35.62 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.3501, allocations: 4 kB / 0.5184 GB, free: 35.61 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.0003955/0.3505, allocations: 396 kB / 0.5187 GB, free: 35.22 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.3506, allocations: 9.75 kB / 0.5187 GB, free: 35.22 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.048e-05/0.3506, allocations: 10.75 kB / 0.5187 GB, free: 35.22 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.3507, allocations: 203.4 kB / 0.5189 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.005e-06/0.3507, allocations: 384 / 0.5189 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.334e-05/0.3508, allocations: 3.188 kB / 0.5189 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.3509, allocations: 78.75 kB / 0.519 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.351, allocations: 2.969 kB / 0.519 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.351, allocations: 4 kB / 0.519 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.351, allocations: 0 / 0.519 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001367/0.3511, allocations: 55.38 kB / 0.5191 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003664/0.3515, allocations: 320.2 kB / 0.5194 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002068/0.3517, allocations: 65.03 kB / 0.5194 GB, free: 34.6 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.242e-05/0.3518, allocations: 29.73 kB / 0.5195 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.3518, allocations: 2.875 kB / 0.5195 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.343e-05/0.3519, allocations: 34.56 kB / 0.5195 GB, free: 34.55 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.733e-06/0.3519, allocations: 96 / 0.5195 GB, free: 34.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001329/0.3532, allocations: 0.5002 MB / 0.52 GB, free: 34.4 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.3532, allocations: 58.31 kB / 0.5201 GB, free: 34.33 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.3534, allocations: 180 kB / 0.5202 GB, free: 34.21 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.3534, allocations: 25.7 kB / 0.5203 GB, free: 34.18 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.814e-05/0.3534, allocations: 109.1 kB / 0.5204 GB, free: 34.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.447e-05/0.3535, allocations: 33.36 kB / 0.5204 GB, free: 34.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.292e-06/0.3535, allocations: 4 kB / 0.5204 GB, free: 34.04 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.742e-05/0.3535, allocations: 326.4 kB / 0.5207 GB, free: 33.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.3537, allocations: 61.11 kB / 0.5208 GB, free: 33.71 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.3538, allocations: 57.39 kB / 0.5208 GB, free: 33.7 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002354/0.354, allocations: 142.8 kB / 0.521 GB, free: 33.65 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.354, allocations: 7.875 kB / 0.521 GB, free: 33.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002812/0.3543, allocations: 178.8 kB / 0.5211 GB, free: 33.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.3543, allocations: 5.688 kB / 0.5211 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3543, allocations: 0 / 0.5211 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.3544, allocations: 10.02 kB / 0.5211 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.3545, allocations: 34.78 kB / 0.5212 GB, free: 33.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.3545, allocations: 0 / 0.5212 GB, free: 33.56 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.838e-05/0.3546, allocations: 17.84 kB / 0.5212 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.3546, allocations: 3.031 kB / 0.5212 GB, free: 33.55 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 (11): * Single equations (assignments): 11 * 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.04e-05/0.3547, allocations: 129.3 kB / 0.5213 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.062e-05/0.3547, allocations: 13 kB / 0.5213 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003588/0.3551, allocations: 201.6 kB / 0.5215 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.768e-06/0.3551, allocations: 6.844 kB / 0.5215 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3551, allocations: 0 / 0.5215 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.3551, allocations: 4 kB / 0.5215 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005507/0.3556, allocations: 0.5081 MB / 0.522 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.3557, allocations: 0 / 0.522 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.102e-05/0.3558, allocations: 26.97 kB / 0.5221 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.3558, allocations: 3 kB / 0.5221 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.3558, allocations: 7.938 kB / 0.5221 GB, free: 32.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.3558, allocations: 2.906 kB / 0.5221 GB, free: 32.93 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3558, allocations: 4.062 kB / 0.5221 GB, free: 32.93 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003071/0.3561, allocations: 292 kB / 0.5224 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.95e-05/0.3561, allocations: 86.73 kB / 0.5224 GB, free: 32.64 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.3562, allocations: 7.938 kB / 0.5224 GB, free: 32.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.928e-05/0.3563, allocations: 18.97 kB / 0.5225 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.788e-05/0.3563, allocations: 10.38 kB / 0.5225 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.3563, allocations: 7.031 kB / 0.5225 GB, free: 32.62 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.432e-05/0.3564, allocations: 139.8 kB / 0.5226 GB, free: 32.52 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3564, allocations: 0 / 0.5226 GB, free: 32.52 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002363/0.3567, allocations: 27.56 kB / 0.5226 GB, free: 32.52 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 (11): * Single equations (assignments): 11 * 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.0008813/0.3575, allocations: 448.5 kB / 0.5231 GB, free: 32.29 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003076/0.3579, allocations: 146.4 kB / 0.5232 GB, free: 32.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3579, allocations: 2.875 kB / 0.5232 GB, free: 32.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001391/0.358, allocations: 74.48 kB / 0.5233 GB, free: 32.23 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003408/0.3584, allocations: 23.06 kB / 0.5233 GB, free: 32.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004511/0.3588, allocations: 334.4 kB / 0.5236 GB, free: 31.97 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000145/0.359, allocations: 0.718 MB / 0.5243 GB, free: 31.27 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.362e-05/0.359, allocations: 18.62 kB / 0.5243 GB, free: 31.26 MB / 378.7 MB Notification: Performance of SimCode: time 4.61e-07/0.359, allocations: 0 / 0.5243 GB, free: 31.26 MB / 378.7 MB Notification: Performance of Templates: time 0.003035/0.3621, allocations: 2.007 MB / 0.5263 GB, free: 31.04 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches