Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.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.CombiTable2Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001219/0.001219, allocations: 207.3 kB / 17.99 MB, free: 3.77 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.7 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00103/0.00103, allocations: 104.5 kB / 296.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3746/0.3746, allocations: 44.83 MB / 392.7 MB, free: 34.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 59.91 kB / 465.5 MB, free: 12.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3472, allocations: 62.02 MB / 0.5152 GB, free: 37.85 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test27): time 0.002773/0.35, allocations: 1.732 MB / 0.5168 GB, free: 36.64 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009949/0.3511, allocations: 0.5481 MB / 0.5174 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.067e-05/0.3512, allocations: 6.688 kB / 0.5174 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003134/0.3515, allocations: 54.72 kB / 0.5174 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002806/0.3518, allocations: 81.25 kB / 0.5175 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002826/0.3521, allocations: 114 kB / 0.5176 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001199/0.3522, allocations: 76.86 kB / 0.5177 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.783e-05/0.3523, allocations: 24.08 kB / 0.5177 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.138e-05/0.3524, allocations: 37.44 kB / 0.5178 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.3525, allocations: 45.61 kB / 0.5178 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.3525, allocations: 2.594 kB / 0.5178 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.665e-05/0.3526, allocations: 46.05 kB / 0.5178 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.33e-05/0.3527, allocations: 26.98 kB / 0.5179 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.911e-05/0.3527, allocations: 33.5 kB / 0.5179 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001335/0.3528, allocations: 113.1 kB / 0.518 GB, free: 35.98 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3529, allocations: 0 / 0.518 GB, free: 35.98 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.3529, allocations: 0 / 0.518 GB, free: 35.98 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.477e-06/0.3529, allocations: 0 / 0.518 GB, free: 35.98 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.0004/0.3533, allocations: 410.1 kB / 0.5184 GB, free: 35.58 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.3533, allocations: 8.688 kB / 0.5184 GB, free: 35.58 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.78e-05/0.3534, allocations: 14.53 kB / 0.5184 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/0.3535, allocations: 198.8 kB / 0.5186 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.3535, allocations: 4.375 kB / 0.5186 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.149e-05/0.3536, allocations: 3.188 kB / 0.5186 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.3537, allocations: 67.48 kB / 0.5187 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.3537, allocations: 0 / 0.5187 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.3537, allocations: 4 kB / 0.5187 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.3537, allocations: 2.688 kB / 0.5187 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001192/0.3539, allocations: 36.33 kB / 0.5187 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002905/0.3542, allocations: 310.9 kB / 0.519 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002018/0.3544, allocations: 54.47 kB / 0.5191 GB, free: 34.97 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.018e-05/0.3545, allocations: 28.94 kB / 0.5191 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.3545, allocations: 0 / 0.5191 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.201e-05/0.3545, allocations: 42.5 kB / 0.5191 GB, free: 34.9 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 9.81e-07/0.3545, allocations: 2.906 kB / 0.5191 GB, free: 34.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001221/0.3558, allocations: 384.7 kB / 0.5195 GB, free: 34.79 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.995e-05/0.3558, allocations: 59.34 kB / 0.5196 GB, free: 34.71 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.3559, allocations: 194.4 kB / 0.5198 GB, free: 34.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.178e-06/0.3559, allocations: 29.7 kB / 0.5198 GB, free: 34.55 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.225e-05/0.356, allocations: 101.5 kB / 0.5199 GB, free: 34.46 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.309e-05/0.356, allocations: 34.14 kB / 0.5199 GB, free: 34.43 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.538e-05/0.3561, allocations: 22.16 kB / 0.5199 GB, free: 34.41 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.339e-05/0.3561, allocations: 325 kB / 0.5202 GB, free: 34.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.3562, allocations: 40.8 kB / 0.5203 GB, free: 34.09 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.922e-05/0.3563, allocations: 45.83 kB / 0.5203 GB, free: 34.07 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002035/0.3565, allocations: 102.2 kB / 0.5204 GB, free: 34.03 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.3565, allocations: 0 / 0.5204 GB, free: 34.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002562/0.3568, allocations: 141.4 kB / 0.5206 GB, free: 33.96 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.3568, allocations: 9.719 kB / 0.5206 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/0.3568, allocations: 3.422 kB / 0.5206 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.3569, allocations: 2.906 kB / 0.5206 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-05/0.357, allocations: 27.17 kB / 0.5206 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.357, allocations: 0 / 0.5206 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.565e-05/0.357, allocations: 12.95 kB / 0.5206 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.357, allocations: 2.812 kB / 0.5206 GB, free: 33.95 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.311e-05/0.3571, allocations: 135.7 kB / 0.5207 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.099e-05/0.3571, allocations: 9.281 kB / 0.5208 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003122/0.3575, allocations: 162.9 kB / 0.5209 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.3575, allocations: 6.875 kB / 0.5209 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.3575, allocations: 0 / 0.5209 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3575, allocations: 0 / 0.5209 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004766/0.358, allocations: 476.3 kB / 0.5214 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.358, allocations: 0 / 0.5214 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.751e-05/0.3581, allocations: 28.16 kB / 0.5214 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.3581, allocations: 6.922 kB / 0.5214 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.3581, allocations: 4 kB / 0.5214 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.3581, allocations: 6.969 kB / 0.5214 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3581, allocations: 288 / 0.5214 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004965/0.3586, allocations: 0.8602 MB / 0.5223 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.424e-05/0.3587, allocations: 91.58 kB / 0.5223 GB, free: 32.44 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.672e-05/0.3587, allocations: 7.156 kB / 0.5223 GB, free: 32.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.697e-05/0.3588, allocations: 8.438 kB / 0.5224 GB, free: 32.44 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.489e-05/0.3588, allocations: 15.89 kB / 0.5224 GB, free: 32.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.3588, allocations: 2.719 kB / 0.5224 GB, free: 32.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.404e-05/0.3589, allocations: 143.9 kB / 0.5225 GB, free: 32.34 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3589, allocations: 4 kB / 0.5225 GB, free: 32.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003433/0.3593, allocations: 27.16 kB / 0.5225 GB, free: 32.33 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 (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.001029/0.3603, allocations: 455.5 kB / 0.523 GB, free: 32.1 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002988/0.3606, allocations: 107.8 kB / 0.5231 GB, free: 32.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3606, allocations: 0 / 0.5231 GB, free: 32.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001237/0.3608, allocations: 56.52 kB / 0.5231 GB, free: 32.06 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003887/0.3612, allocations: 19.31 kB / 0.5231 GB, free: 32.05 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005389/0.3617, allocations: 446.3 kB / 0.5236 GB, free: 31.69 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001715/0.3619, allocations: 0.7157 MB / 0.5243 GB, free: 30.99 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.424e-05/0.362, allocations: 16.55 kB / 0.5243 GB, free: 30.99 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.402e-05/0.362, allocations: 20.48 kB / 0.5243 GB, free: 30.98 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.362, allocations: 0 / 0.5243 GB, free: 30.98 MB / 378.7 MB Notification: Performance of Templates: time 0.003274/0.3653, allocations: 1.476 MB / 0.5257 GB, free: 30.82 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test27/Test27.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches