Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001133, allocations: 110.5 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 187.2 kB / 19.38 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 222.9 MB / 243.1 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2133/0.2133, allocations: 44.19 MB / 337.4 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 67.83 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3637/0.3652, allocations: 60.83 MB / 0.5196 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.002703/0.3679, allocations: 1.613 MB / 0.5212 GB, free: 2.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007858/0.3687, allocations: 447.6 kB / 0.5216 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.059e-05/0.3688, allocations: 1.188 kB / 0.5216 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000688/0.3695, allocations: 454.2 kB / 0.522 GB, free: 2.184 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004264/0.3699, allocations: 257.4 kB / 0.5223 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004506/0.3704, allocations: 174.3 kB / 0.5224 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002866/0.3707, allocations: 167.3 kB / 0.5226 GB, free: 2.035 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.3708, allocations: 15.5 kB / 0.5226 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001387/0.3709, allocations: 111.5 kB / 0.5227 GB, free: 2.016 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000267/0.3712, allocations: 211.2 kB / 0.5229 GB, free: 1.992 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.523e-05/0.3713, allocations: 4.25 kB / 0.5229 GB, free: 1.992 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.129e-05/0.3714, allocations: 29.73 kB / 0.523 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001337/0.3715, allocations: 86.66 kB / 0.523 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.294e-05/0.3716, allocations: 100.2 kB / 0.5231 GB, free: 1.871 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003005/0.3719, allocations: 249 kB / 0.5234 GB, free: 1.766 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3719, allocations: 0.7969 kB / 0.5234 GB, free: 1.766 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3719, allocations: 4 kB / 0.5234 GB, free: 1.762 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.3719, allocations: 1.938 kB / 0.5234 GB, free: 1.762 MB / 382.1 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.0005945/0.3725, allocations: 0.6349 MB / 0.524 GB, free: 1.203 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.3726, allocations: 9.031 kB / 0.524 GB, free: 1.203 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.009e-05/0.3726, allocations: 42.38 kB / 0.524 GB, free: 1.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002267/0.3729, allocations: 290.9 kB / 0.5243 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.3729, allocations: 2.031 kB / 0.5243 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.037e-05/0.3729, allocations: 6.219 kB / 0.5243 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.3731, allocations: 58.53 kB / 0.5244 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.3731, allocations: 0 / 0.5244 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.3731, allocations: 8.688 kB / 0.5244 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3731, allocations: 1.844 kB / 0.5244 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.977e-05/0.3732, allocations: 29.94 kB / 0.5244 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004622/0.3737, allocations: 393.5 kB / 0.5248 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001981/0.3739, allocations: 54.36 kB / 0.5249 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.989e-05/0.3739, allocations: 22 kB / 0.5249 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.374, allocations: 0 / 0.5249 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.764e-05/0.374, allocations: 31.36 kB / 0.5249 GB, free: 440 kB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.374, allocations: 0 / 0.5249 GB, free: 440 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006044/0.3746, allocations: 231.5 kB / 0.5251 GB, free: 312 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.029e-05/0.3746, allocations: 57.34 kB / 0.5252 GB, free: 244 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008993/0.3756, allocations: 0.8555 MB / 0.526 GB, free: 15.92 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.3756, allocations: 26.98 kB / 0.526 GB, free: 15.89 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/0.3757, allocations: 225.2 kB / 0.5263 GB, free: 15.69 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.45e-05/0.3758, allocations: 17.94 kB / 0.5263 GB, free: 15.68 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.678e-05/0.3758, allocations: 14.78 kB / 0.5263 GB, free: 15.66 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.376, allocations: 366.8 kB / 0.5266 GB, free: 15.31 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.179e-05/0.3761, allocations: 24.36 kB / 0.5267 GB, free: 15.3 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.449e-05/0.3761, allocations: 20.67 kB / 0.5267 GB, free: 15.29 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/0.3763, allocations: 56.39 kB / 0.5267 GB, free: 15.26 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3763, allocations: 0 / 0.5267 GB, free: 15.26 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002158/0.3765, allocations: 121.8 kB / 0.5269 GB, free: 15.18 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.3765, allocations: 4.375 kB / 0.5269 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.3765, allocations: 5.375 kB / 0.5269 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.3766, allocations: 288 / 0.5269 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.546e-05/0.3766, allocations: 14.11 kB / 0.5269 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.3766, allocations: 0 / 0.5269 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.796e-05/0.3767, allocations: 11.97 kB / 0.5269 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.3767, allocations: 1.469 kB / 0.5269 GB, free: 15.16 MB / 398.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001783/0.3769, allocations: 213.8 kB / 0.5271 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.657e-05/0.377, allocations: 41.39 kB / 0.5271 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002825/0.3773, allocations: 150.8 kB / 0.5273 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3773, allocations: 0 / 0.5273 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3773, allocations: 0 / 0.5273 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.627e-05/0.3774, allocations: 114.1 kB / 0.5274 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.847e-05/0.3774, allocations: 5.312 kB / 0.5274 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.63e-05/0.3775, allocations: 10.73 kB / 0.5274 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.705e-05/0.3775, allocations: 2.75 kB / 0.5274 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002287/0.3778, allocations: 165.9 kB / 0.5276 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003079/0.3781, allocations: 295.9 kB / 0.5278 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.093e-05/0.3782, allocations: 27.7 kB / 0.5279 GB, free: 14.35 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006416/0.3788, allocations: 0.6463 MB / 0.5285 GB, free: 14.04 MB / 398.1 MB Notification: Performance of Backend: time 6.11e-07/0.3788, allocations: 4 kB / 0.5285 GB, free: 14.03 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001373/0.3802, allocations: 0.5059 MB / 0.529 GB, free: 13.83 MB / 398.1 MB Notification: Performance of SimCode: time 0.001223/0.3815, allocations: 1.141 MB / 0.5301 GB, free: 12.96 MB / 398.1 MB Notification: Performance of Templates: time 0.005413/0.3869, allocations: 1.633 MB / 0.5317 GB, free: 12.15 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches