Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001166/0.001166, allocations: 114.9 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001288/0.001288, allocations: 206.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2157/0.2157, allocations: 46.11 MB / 345 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001596/0.001597, allocations: 79.88 kB / 482.1 MB, free: 3.992 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3035, allocations: 62.43 MB / 0.5318 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.00301/0.3066, allocations: 1.77 MB / 0.5335 GB, free: 12.22 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001549/0.3082, allocations: 1.032 MB / 0.5345 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.769e-05/0.3083, allocations: 1.375 kB / 0.5345 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000314/0.3086, allocations: 106.4 kB / 0.5346 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002955/0.3089, allocations: 124.9 kB / 0.5347 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001856/0.3091, allocations: 84.3 kB / 0.5348 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002276/0.3093, allocations: 137.4 kB / 0.5349 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000167/0.3095, allocations: 24.38 kB / 0.535 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000141/0.3096, allocations: 53.91 kB / 0.535 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000157/0.3098, allocations: 78.05 kB / 0.5351 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.538e-05/0.3098, allocations: 9.5 kB / 0.5351 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001559/0.31, allocations: 64.28 kB / 0.5351 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.298e-05/0.3101, allocations: 31.22 kB / 0.5352 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.339e-05/0.3102, allocations: 46.41 kB / 0.5352 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002865/0.3105, allocations: 168.1 kB / 0.5354 GB, free: 10.87 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.3105, allocations: 1.156 kB / 0.5354 GB, free: 10.87 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3105, allocations: 0 / 0.5354 GB, free: 10.87 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.3105, allocations: 0 / 0.5354 GB, free: 10.87 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007209/0.3112, allocations: 454.3 kB / 0.5358 GB, free: 10.42 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.3113, allocations: 8.219 kB / 0.5358 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.542e-05/0.3113, allocations: 19.78 kB / 0.5358 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003283/0.3117, allocations: 234.6 kB / 0.5361 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.3117, allocations: 6.719 kB / 0.5361 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.125e-05/0.3117, allocations: 7.406 kB / 0.5361 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.3119, allocations: 78.41 kB / 0.5362 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.312, allocations: 1.031 kB / 0.5362 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.312, allocations: 0 / 0.5362 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.312, allocations: 6.312 kB / 0.5362 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.3121, allocations: 39 kB / 0.5362 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004205/0.3125, allocations: 331.2 kB / 0.5365 GB, free: 9.73 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002579/0.3128, allocations: 74.23 kB / 0.5366 GB, free: 9.684 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.731e-05/0.3129, allocations: 29.5 kB / 0.5366 GB, free: 9.664 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.3129, allocations: 9.188 kB / 0.5366 GB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001549/0.3131, allocations: 74.17 kB / 0.5367 GB, free: 9.59 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.3131, allocations: 0 / 0.5367 GB, free: 9.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008156/0.3139, allocations: 311 kB / 0.537 GB, free: 9.422 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/0.3139, allocations: 52.53 kB / 0.537 GB, free: 9.359 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002243/0.3142, allocations: 255.1 kB / 0.5373 GB, free: 9.191 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.897e-05/0.3142, allocations: 35.95 kB / 0.5373 GB, free: 9.152 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.46e-05/0.3143, allocations: 119 kB / 0.5374 GB, free: 9.039 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.189e-05/0.3143, allocations: 46.11 kB / 0.5375 GB, free: 9 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.876e-05/0.3144, allocations: 33.67 kB / 0.5375 GB, free: 8.973 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.3145, allocations: 326.9 kB / 0.5378 GB, free: 8.648 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.303e-05/0.3146, allocations: 40.83 kB / 0.5379 GB, free: 8.629 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.826e-05/0.3147, allocations: 59.97 kB / 0.5379 GB, free: 8.59 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/0.3149, allocations: 107.1 kB / 0.538 GB, free: 8.527 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.3149, allocations: 0 / 0.538 GB, free: 8.527 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002913/0.3152, allocations: 157.3 kB / 0.5382 GB, free: 8.441 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.3152, allocations: 5.438 kB / 0.5382 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.3152, allocations: 5.125 kB / 0.5382 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.3152, allocations: 1.125 kB / 0.5382 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.732e-05/0.3153, allocations: 33.45 kB / 0.5382 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.3153, allocations: 1.062 kB / 0.5382 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.516e-05/0.3154, allocations: 2.188 kB / 0.5382 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.3154, allocations: 12.22 kB / 0.5382 GB, free: 8.418 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 (16): * Single equations (assignments): 16 * 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.0001093/0.3155, allocations: 142.3 kB / 0.5384 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.24e-05/0.3156, allocations: 19.89 kB / 0.5384 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.4e-05/0.3156, allocations: 22.75 kB / 0.5384 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.3156, allocations: 3.938 kB / 0.5384 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.3156, allocations: 3.984 kB / 0.5384 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.846e-05/0.3157, allocations: 89.58 kB / 0.5385 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.887e-05/0.3157, allocations: 6.188 kB / 0.5385 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.366e-05/0.3158, allocations: 1.156 kB / 0.5385 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.003e-05/0.3158, allocations: 13.64 kB / 0.5385 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002901/0.3161, allocations: 231.9 kB / 0.5387 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003224/0.3164, allocations: 332.7 kB / 0.5391 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.178e-05/0.3165, allocations: 48.62 kB / 0.5391 GB, free: 7.68 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001642/0.3167, allocations: 196.2 kB / 0.5393 GB, free: 7.555 MB / 398.1 MB Notification: Performance of Backend: time 3.1e-07/0.3167, allocations: 4 kB / 0.5393 GB, free: 7.551 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001527/0.3183, allocations: 0.5668 MB / 0.5398 GB, free: 7.281 MB / 398.1 MB Notification: Performance of SimCode: time 0.0007304/0.319, allocations: 0.7427 MB / 0.5406 GB, free: 6.598 MB / 398.1 MB Notification: Performance of Templates: time 0.005212/0.3242, allocations: 2.337 MB / 0.5429 GB, free: 5.418 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches