Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.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.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001349/0.001349, allocations: 122.2 kB / 17.78 MB, free: 5.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0013/0.0013, allocations: 197.2 kB / 18.72 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 227.4 MB / 246.9 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2397/0.2397, allocations: 46.11 MB / 344.3 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 75.88 kB / 481.4 MB, free: 4.023 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4718/0.4734, allocations: 62.43 MB / 0.5311 GB, free: 13.65 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.003961/0.4774, allocations: 1.736 MB / 0.5328 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001784/0.4792, allocations: 1.025 MB / 0.5338 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.668e-05/0.4793, allocations: 1.375 kB / 0.5338 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004138/0.4798, allocations: 36.16 kB / 0.5338 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003713/0.4801, allocations: 95.09 kB / 0.5339 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002429/0.4804, allocations: 82.91 kB / 0.534 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002435/0.4806, allocations: 100.9 kB / 0.5341 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001559/0.4808, allocations: 10.88 kB / 0.5341 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.4809, allocations: 48.27 kB / 0.5341 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.481, allocations: 37.36 kB / 0.5342 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.174e-05/0.4811, allocations: 4.125 kB / 0.5342 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.4812, allocations: 43.47 kB / 0.5342 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.626e-05/0.4813, allocations: 18.8 kB / 0.5342 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.635e-05/0.4814, allocations: 32 kB / 0.5343 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002978/0.4817, allocations: 122.7 kB / 0.5344 GB, free: 11.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.4817, allocations: 0 / 0.5344 GB, free: 11.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4817, allocations: 5.375 kB / 0.5344 GB, free: 11.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.164e-06/0.4817, allocations: 0 / 0.5344 GB, free: 11.09 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006635/0.4824, allocations: 424.1 kB / 0.5348 GB, free: 10.65 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.4824, allocations: 9.875 kB / 0.5348 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.668e-05/0.4825, allocations: 18 kB / 0.5348 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003102/0.4828, allocations: 213.5 kB / 0.535 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.4828, allocations: 5.047 kB / 0.535 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.588e-05/0.4829, allocations: 6.25 kB / 0.535 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.483, allocations: 62.53 kB / 0.5351 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.4831, allocations: 0 / 0.5351 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.4831, allocations: 0.8438 kB / 0.5351 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.4831, allocations: 1.406 kB / 0.5351 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.544e-05/0.4832, allocations: 25.8 kB / 0.5351 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004138/0.4836, allocations: 286.5 kB / 0.5354 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001819/0.4838, allocations: 62.52 kB / 0.5354 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.625e-05/0.4839, allocations: 17.11 kB / 0.5355 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/0.4839, allocations: 1.062 kB / 0.5355 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001552/0.4841, allocations: 69.11 kB / 0.5355 GB, free: 9.898 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.4841, allocations: 0 / 0.5355 GB, free: 9.898 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006015/0.4847, allocations: 179.3 kB / 0.5357 GB, free: 9.793 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/0.4847, allocations: 59.39 kB / 0.5358 GB, free: 9.723 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002133/0.485, allocations: 197.5 kB / 0.5359 GB, free: 9.578 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.485, allocations: 26.95 kB / 0.536 GB, free: 9.547 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.475e-05/0.485, allocations: 100.4 kB / 0.5361 GB, free: 9.449 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.4851, allocations: 28.41 kB / 0.5361 GB, free: 9.426 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.358e-05/0.4851, allocations: 24.53 kB / 0.5361 GB, free: 9.402 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.4853, allocations: 326.2 kB / 0.5364 GB, free: 9.078 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.364e-05/0.4854, allocations: 22.92 kB / 0.5364 GB, free: 9.066 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.719e-05/0.4854, allocations: 39.48 kB / 0.5365 GB, free: 9.035 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000125/0.4856, allocations: 54.69 kB / 0.5365 GB, free: 9 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.4856, allocations: 0 / 0.5365 GB, free: 9 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002/0.4858, allocations: 104.1 kB / 0.5366 GB, free: 8.934 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.4858, allocations: 4.781 kB / 0.5366 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.4858, allocations: 9.562 kB / 0.5366 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.4858, allocations: 5.531 kB / 0.5367 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.452e-05/0.4859, allocations: 16.95 kB / 0.5367 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.4859, allocations: 0 / 0.5367 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.976e-05/0.486, allocations: 11.66 kB / 0.5367 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.486, allocations: 1.312 kB / 0.5367 GB, free: 8.91 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001085/0.4861, allocations: 130.2 kB / 0.5368 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.418e-05/0.4862, allocations: 13.38 kB / 0.5368 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.569e-05/0.4862, allocations: 13.94 kB / 0.5368 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.4862, allocations: 1.094 kB / 0.5368 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.4862, allocations: 5.125 kB / 0.5368 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.4862, allocations: 3.938 kB / 0.5368 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004684/0.4867, allocations: 394.8 kB / 0.5372 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.4867, allocations: 0 / 0.5372 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.437e-05/0.4868, allocations: 11.94 kB / 0.5372 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.4868, allocations: 1.219 kB / 0.5372 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.4868, allocations: 5.594 kB / 0.5372 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.4868, allocations: 1.281 kB / 0.5372 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.4868, allocations: 11.95 kB / 0.5372 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002428/0.4871, allocations: 201.1 kB / 0.5374 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.846e-05/0.4871, allocations: 87.95 kB / 0.5375 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.748e-05/0.4871, allocations: 10.5 kB / 0.5375 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.454e-05/0.4872, allocations: 1.312 kB / 0.5375 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.123e-05/0.4873, allocations: 8.016 kB / 0.5375 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.4873, allocations: 6.719 kB / 0.5375 GB, free: 8.062 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001454/0.4874, allocations: 152.9 kB / 0.5377 GB, free: 7.953 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4874, allocations: 3.938 kB / 0.5377 GB, free: 7.949 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002553/0.4877, allocations: 25.16 kB / 0.5377 GB, free: 7.941 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0011/0.4888, allocations: 463.9 kB / 0.5382 GB, free: 7.699 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001934/0.489, allocations: 57.55 kB / 0.5382 GB, free: 7.676 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.489, allocations: 1.094 kB / 0.5382 GB, free: 7.676 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.828e-05/0.4891, allocations: 29.2 kB / 0.5382 GB, free: 7.664 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000344/0.4895, allocations: 24.91 kB / 0.5383 GB, free: 7.656 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000504/0.49, allocations: 239.5 kB / 0.5385 GB, free: 7.461 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.4903, allocations: 0.7018 MB / 0.5392 GB, free: 6.754 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.6e-05/0.4904, allocations: 21.92 kB / 0.5392 GB, free: 6.734 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.699e-05/0.4904, allocations: 15.94 kB / 0.5392 GB, free: 6.73 MB / 398.1 MB Notification: Performance of SimCode: time 2e-07/0.4904, allocations: 0 / 0.5392 GB, free: 6.73 MB / 398.1 MB Notification: Performance of Templates: time 0.004782/0.4952, allocations: 1.736 MB / 0.5409 GB, free: 5.852 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches