Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001056/0.001056, allocations: 199.8 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.325/1.325, allocations: 226.5 MB / 243.4 MB, free: 8.215 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007533/0.0007534, allocations: 101.6 kB / 295.5 MB, free: 6.895 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3491/0.3491, allocations: 44.83 MB / 392.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003058/0.0003059, allocations: 11.98 kB / 465.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3468, allocations: 62.96 MB / 0.5159 GB, free: 36.93 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.001851/0.3487, allocations: 1.335 MB / 0.5172 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008483/0.3496, allocations: 0.532 MB / 0.5177 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.074e-05/0.3497, allocations: 7.938 kB / 0.5177 GB, free: 35.6 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005096/0.3502, allocations: 442.8 kB / 0.5181 GB, free: 35.58 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003978/0.3507, allocations: 267.3 kB / 0.5184 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004546/0.3511, allocations: 158.3 kB / 0.5185 GB, free: 35.48 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002553/0.3514, allocations: 143.3 kB / 0.5187 GB, free: 35.45 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.3515, allocations: 21.17 kB / 0.5187 GB, free: 35.43 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001502/0.3517, allocations: 106.6 kB / 0.5188 GB, free: 35.42 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002168/0.3519, allocations: 164.5 kB / 0.519 GB, free: 35.41 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.453e-05/0.3519, allocations: 2.688 kB / 0.519 GB, free: 35.41 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.133e-05/0.352, allocations: 29.11 kB / 0.519 GB, free: 35.4 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.146e-05/0.3521, allocations: 84.2 kB / 0.5191 GB, free: 35.37 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.698e-05/0.3522, allocations: 117.7 kB / 0.5192 GB, free: 35.27 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000217/0.3524, allocations: 183.5 kB / 0.5193 GB, free: 35.22 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3524, allocations: 4 kB / 0.5194 GB, free: 35.22 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.255e-06/0.3525, allocations: 0 / 0.5194 GB, free: 35.22 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.305e-06/0.3525, allocations: 3.938 kB / 0.5194 GB, free: 35.21 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005992/0.3531, allocations: 0.5969 MB / 0.5199 GB, free: 34.68 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.3531, allocations: 8.5 kB / 0.5199 GB, free: 34.68 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.546e-05/0.3532, allocations: 42.38 kB / 0.52 GB, free: 34.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002249/0.3534, allocations: 299.1 kB / 0.5203 GB, free: 34.38 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.3535, allocations: 8.312 kB / 0.5203 GB, free: 34.37 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.929e-05/0.3535, allocations: 7.594 kB / 0.5203 GB, free: 34.37 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.3536, allocations: 56.97 kB / 0.5203 GB, free: 34.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.3536, allocations: 0 / 0.5203 GB, free: 34.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.3537, allocations: 0 / 0.5203 GB, free: 34.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.3537, allocations: 0 / 0.5203 GB, free: 34.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.622e-05/0.3538, allocations: 40.84 kB / 0.5204 GB, free: 34.31 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004715/0.3543, allocations: 406.3 kB / 0.5208 GB, free: 33.98 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001857/0.3545, allocations: 48.45 kB / 0.5208 GB, free: 33.95 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.858e-05/0.3545, allocations: 20.56 kB / 0.5208 GB, free: 33.94 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.3545, allocations: 0 / 0.5208 GB, free: 33.94 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.642e-05/0.3546, allocations: 37.31 kB / 0.5209 GB, free: 33.9 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.3546, allocations: 0 / 0.5209 GB, free: 33.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005994/0.3552, allocations: 253 kB / 0.5211 GB, free: 33.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.294e-05/0.3552, allocations: 51.41 kB / 0.5212 GB, free: 33.71 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000694/0.3559, allocations: 0.8702 MB / 0.522 GB, free: 33.39 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.127e-06/0.3559, allocations: 25.7 kB / 0.522 GB, free: 33.36 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.3561, allocations: 223 kB / 0.5222 GB, free: 33.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.26e-05/0.3561, allocations: 22.62 kB / 0.5223 GB, free: 33.16 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-06/0.3561, allocations: 0 / 0.5223 GB, free: 33.16 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.532e-05/0.3562, allocations: 368.2 kB / 0.5226 GB, free: 32.82 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.84e-05/0.3563, allocations: 21.91 kB / 0.5226 GB, free: 32.82 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.109e-05/0.3563, allocations: 28.05 kB / 0.5227 GB, free: 32.82 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001231/0.3565, allocations: 60.22 kB / 0.5227 GB, free: 32.79 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.3565, allocations: 0 / 0.5227 GB, free: 32.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001992/0.3567, allocations: 127.9 kB / 0.5228 GB, free: 32.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.3567, allocations: 9.562 kB / 0.5229 GB, free: 32.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.3567, allocations: 0 / 0.5229 GB, free: 32.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.3567, allocations: 0 / 0.5229 GB, free: 32.72 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.259e-05/0.3568, allocations: 23.55 kB / 0.5229 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.3568, allocations: 0 / 0.5229 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.694e-05/0.3569, allocations: 13.33 kB / 0.5229 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.176e-06/0.3569, allocations: 2.625 kB / 0.5229 GB, free: 32.71 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001429/0.357, allocations: 211.3 kB / 0.5231 GB, free: 32.58 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.553e-05/0.3571, allocations: 42.28 kB / 0.5231 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002649/0.3574, allocations: 153 kB / 0.5233 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3574, allocations: 0 / 0.5233 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.3574, allocations: 2.656 kB / 0.5233 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.3574, allocations: 3.938 kB / 0.5233 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004486/0.3579, allocations: 476.5 kB / 0.5237 GB, free: 32.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.3579, allocations: 4.062 kB / 0.5237 GB, free: 32.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.451e-05/0.3579, allocations: 19.06 kB / 0.5238 GB, free: 32.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3579, allocations: 3.938 kB / 0.5238 GB, free: 32.11 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.358, allocations: 3.938 kB / 0.5238 GB, free: 32.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.358, allocations: 0 / 0.5238 GB, free: 32.11 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.358, allocations: 0 / 0.5238 GB, free: 32.11 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002438/0.3582, allocations: 225.1 kB / 0.524 GB, free: 31.94 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.804e-05/0.3583, allocations: 116.6 kB / 0.5241 GB, free: 31.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.409e-05/0.3583, allocations: 3.938 kB / 0.5241 GB, free: 31.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.951e-05/0.3584, allocations: 13.28 kB / 0.5241 GB, free: 31.81 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.235e-05/0.3584, allocations: 2.938 kB / 0.5241 GB, free: 31.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.3584, allocations: 0 / 0.5241 GB, free: 31.81 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005088/0.359, allocations: 0.6592 MB / 0.5248 GB, free: 31.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.359, allocations: 0 / 0.5248 GB, free: 31.57 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002508/0.3592, allocations: 23.77 kB / 0.5248 GB, free: 31.56 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 (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.0008071/0.36, allocations: 404.7 kB / 0.5252 GB, free: 31.36 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001927/0.3602, allocations: 59.56 kB / 0.5252 GB, free: 31.35 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3603, allocations: 0 / 0.5252 GB, free: 31.35 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.372e-05/0.3603, allocations: 32 kB / 0.5253 GB, free: 31.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003681/0.3607, allocations: 25.5 kB / 0.5253 GB, free: 31.32 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.3618, allocations: 0.8784 MB / 0.5261 GB, free: 30.89 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002661/0.362, allocations: 0.8235 MB / 0.5269 GB, free: 30.18 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.059e-05/0.3621, allocations: 16.53 kB / 0.527 GB, free: 30.17 MB / 378.7 MB Notification: Performance of SimCode: time 3.11e-07/0.3621, allocations: 0 / 0.527 GB, free: 30.17 MB / 378.7 MB Notification: Performance of Templates: time 0.006616/0.3687, allocations: 3.704 MB / 0.5306 GB, free: 29.36 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches