Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001397/0.001397, allocations: 117 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001421/0.001421, allocations: 212.9 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.444/1.444, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2254/0.2254, allocations: 46.1 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 75.88 kB / 482 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3688/0.3702, allocations: 62.43 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test23): time 0.003247/0.3735, allocations: 1.603 MB / 0.5332 GB, free: 12.37 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001826/0.3753, allocations: 1.163 MB / 0.5344 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.097e-05/0.3754, allocations: 0 / 0.5344 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002449/0.3757, allocations: 29.34 kB / 0.5344 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002887/0.376, allocations: 81.75 kB / 0.5345 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003227/0.3763, allocations: 113.2 kB / 0.5346 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001649/0.3765, allocations: 71.31 kB / 0.5347 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.3766, allocations: 10.88 kB / 0.5347 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.737e-05/0.3767, allocations: 26.86 kB / 0.5347 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001557/0.3768, allocations: 38.83 kB / 0.5347 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.3769, allocations: 8.125 kB / 0.5347 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001655/0.377, allocations: 94.75 kB / 0.5348 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.801e-05/0.3771, allocations: 16.05 kB / 0.5348 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.938e-05/0.3771, allocations: 20 kB / 0.5349 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000254/0.3774, allocations: 143.9 kB / 0.535 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3774, allocations: 0 / 0.535 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3774, allocations: 0 / 0.535 GB, free: 11.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.3774, allocations: 0 / 0.535 GB, free: 11.05 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005424/0.378, allocations: 395.7 kB / 0.5354 GB, free: 10.64 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.378, allocations: 9.625 kB / 0.5354 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.925e-05/0.3781, allocations: 12.97 kB / 0.5354 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002158/0.3783, allocations: 194.3 kB / 0.5356 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.3783, allocations: 5.562 kB / 0.5356 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.186e-05/0.3783, allocations: 3.031 kB / 0.5356 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.3785, allocations: 68.7 kB / 0.5357 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.3785, allocations: 0 / 0.5357 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.3785, allocations: 0 / 0.5357 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.3786, allocations: 1.188 kB / 0.5357 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.82e-05/0.3787, allocations: 33.62 kB / 0.5357 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004113/0.3791, allocations: 288.4 kB / 0.536 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002146/0.3793, allocations: 45.16 kB / 0.536 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.34e-05/0.3794, allocations: 22.97 kB / 0.536 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.438e-05/0.3794, allocations: 5.219 kB / 0.536 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.856e-05/0.3794, allocations: 32 kB / 0.5361 GB, free: 9.922 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.3795, allocations: 0 / 0.5361 GB, free: 9.922 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005927/0.3801, allocations: 151 kB / 0.5362 GB, free: 9.832 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.42e-05/0.3801, allocations: 78.39 kB / 0.5363 GB, free: 9.738 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.3803, allocations: 142.9 kB / 0.5364 GB, free: 9.617 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.3803, allocations: 30.95 kB / 0.5364 GB, free: 9.582 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.028e-05/0.3804, allocations: 94.91 kB / 0.5365 GB, free: 9.488 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.411e-05/0.3804, allocations: 18.16 kB / 0.5366 GB, free: 9.473 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.865e-05/0.3805, allocations: 18.03 kB / 0.5366 GB, free: 9.453 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.3806, allocations: 324.9 kB / 0.5369 GB, free: 9.129 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.514e-05/0.3807, allocations: 20.58 kB / 0.5369 GB, free: 9.121 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.894e-05/0.3808, allocations: 40.09 kB / 0.5369 GB, free: 9.09 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.3809, allocations: 55.27 kB / 0.537 GB, free: 9.059 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.3809, allocations: 0 / 0.537 GB, free: 9.059 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001908/0.3811, allocations: 84.02 kB / 0.5371 GB, free: 9.004 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.3811, allocations: 4.438 kB / 0.5371 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.3812, allocations: 5.141 kB / 0.5371 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.3812, allocations: 3.984 kB / 0.5371 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.251e-05/0.3812, allocations: 14.28 kB / 0.5371 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.3813, allocations: 0 / 0.5371 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.773e-05/0.3813, allocations: 11.27 kB / 0.5371 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.3813, allocations: 6.219 kB / 0.5371 GB, free: 8.98 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 8.702e-05/0.3814, allocations: 114.4 kB / 0.5372 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.236e-05/0.3815, allocations: 3.438 kB / 0.5372 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002523/0.3817, allocations: 103.5 kB / 0.5373 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.3817, allocations: 5.156 kB / 0.5373 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.3818, allocations: 0 / 0.5373 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.3818, allocations: 1.125 kB / 0.5373 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004538/0.3822, allocations: 359.1 kB / 0.5377 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3822, allocations: 0 / 0.5377 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.765e-05/0.3823, allocations: 18.52 kB / 0.5377 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.3823, allocations: 3.938 kB / 0.5377 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.3823, allocations: 5.281 kB / 0.5377 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-06/0.3823, allocations: 7.938 kB / 0.5377 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.3823, allocations: 192 / 0.5377 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002377/0.3826, allocations: 187.2 kB / 0.5379 GB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.324e-05/0.3826, allocations: 78.52 kB / 0.538 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.3827, allocations: 1.281 kB / 0.538 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.543e-05/0.3827, allocations: 11.27 kB / 0.538 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.195e-05/0.3828, allocations: 6.656 kB / 0.538 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.3828, allocations: 1.531 kB / 0.538 GB, free: 8.129 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001001/0.3829, allocations: 116.8 kB / 0.5381 GB, free: 8.035 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3829, allocations: 0 / 0.5381 GB, free: 8.035 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000296/0.3832, allocations: 39.41 kB / 0.5381 GB, free: 8.02 MB / 398.1 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 (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.001144/0.3844, allocations: 0.4908 MB / 0.5386 GB, free: 7.758 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002149/0.3846, allocations: 51.45 kB / 0.5387 GB, free: 7.738 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.3846, allocations: 4 kB / 0.5387 GB, free: 7.734 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.742e-05/0.3847, allocations: 25.05 kB / 0.5387 GB, free: 7.727 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/0.385, allocations: 28.22 kB / 0.5387 GB, free: 7.711 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004706/0.3855, allocations: 204.4 kB / 0.5389 GB, free: 7.527 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002825/0.3858, allocations: 0.6902 MB / 0.5396 GB, free: 6.824 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.584e-05/0.3859, allocations: 18.83 kB / 0.5396 GB, free: 6.816 MB / 398.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3859, allocations: 4 kB / 0.5396 GB, free: 6.812 MB / 398.1 MB Notification: Performance of Templates: time 0.00405/0.3899, allocations: 1.964 MB / 0.5415 GB, free: 5.801 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches