Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001183/0.001183, allocations: 116.2 kB / 18.46 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001206/0.001206, allocations: 210 kB / 19.4 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2105/0.2105, allocations: 46.11 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 79.88 kB / 482.1 MB, free: 3.965 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3129, allocations: 62.43 MB / 0.5317 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.003672/0.3166, allocations: 1.733 MB / 0.5334 GB, free: 12.22 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002327/0.319, allocations: 1.018 MB / 0.5344 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001278/0.3191, allocations: 1.531 kB / 0.5344 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003405/0.3195, allocations: 53.83 kB / 0.5345 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000399/0.3199, allocations: 102.2 kB / 0.5346 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003173/0.3203, allocations: 79.97 kB / 0.5346 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000218/0.3205, allocations: 104.5 kB / 0.5347 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.3206, allocations: 10.97 kB / 0.5348 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.3208, allocations: 48.05 kB / 0.5348 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.261e-05/0.3209, allocations: 30.86 kB / 0.5348 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.361e-05/0.3209, allocations: 3.469 kB / 0.5348 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001813/0.3211, allocations: 48.08 kB / 0.5349 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.223e-05/0.3212, allocations: 26.16 kB / 0.5349 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.631e-05/0.3213, allocations: 45.73 kB / 0.535 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002795/0.3216, allocations: 137.1 kB / 0.5351 GB, free: 11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3216, allocations: 4 kB / 0.5351 GB, free: 11 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3216, allocations: 0 / 0.5351 GB, free: 11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.3216, allocations: 0 / 0.5351 GB, free: 11 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.0007544/0.3224, allocations: 446.3 kB / 0.5355 GB, free: 10.55 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.3224, allocations: 9.938 kB / 0.5355 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.369e-05/0.3225, allocations: 15.53 kB / 0.5355 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004292/0.3229, allocations: 223.1 kB / 0.5357 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.323, allocations: 5.75 kB / 0.5358 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.928e-05/0.323, allocations: 10.88 kB / 0.5358 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.3232, allocations: 54.05 kB / 0.5358 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.3232, allocations: 0 / 0.5358 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/0.3232, allocations: 1.375 kB / 0.5358 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.3233, allocations: 3.938 kB / 0.5358 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.3234, allocations: 18.98 kB / 0.5358 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004945/0.3239, allocations: 302.9 kB / 0.5361 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002422/0.3241, allocations: 61.92 kB / 0.5362 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.59e-05/0.3242, allocations: 18.48 kB / 0.5362 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.597e-05/0.3243, allocations: 1.375 kB / 0.5362 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001891/0.3245, allocations: 77.06 kB / 0.5363 GB, free: 9.777 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.723e-06/0.3245, allocations: 0 / 0.5363 GB, free: 9.777 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007727/0.3253, allocations: 176.1 kB / 0.5364 GB, free: 9.676 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.3253, allocations: 56.78 kB / 0.5365 GB, free: 9.609 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004257/0.3258, allocations: 275.4 kB / 0.5368 GB, free: 9.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.3258, allocations: 34.73 kB / 0.5368 GB, free: 9.391 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.104e-05/0.3259, allocations: 111.8 kB / 0.5369 GB, free: 9.285 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.699e-05/0.326, allocations: 23.03 kB / 0.5369 GB, free: 9.266 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.378e-05/0.326, allocations: 24.42 kB / 0.537 GB, free: 9.242 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.3262, allocations: 332.1 kB / 0.5373 GB, free: 8.914 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.3263, allocations: 22.92 kB / 0.5373 GB, free: 8.902 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001166/0.3265, allocations: 35.61 kB / 0.5373 GB, free: 8.875 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002234/0.3267, allocations: 58.62 kB / 0.5374 GB, free: 8.836 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3267, allocations: 1.062 kB / 0.5374 GB, free: 8.836 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003105/0.327, allocations: 109.2 kB / 0.5375 GB, free: 8.766 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.3271, allocations: 5.156 kB / 0.5375 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.3271, allocations: 4.031 kB / 0.5375 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/0.3271, allocations: 1.375 kB / 0.5375 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001353/0.3273, allocations: 25.23 kB / 0.5375 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.3273, allocations: 1.219 kB / 0.5375 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.923e-05/0.3274, allocations: 6.406 kB / 0.5375 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.404e-05/0.3274, allocations: 1.938 kB / 0.5375 GB, free: 8.746 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.0001606/0.3276, allocations: 134.3 kB / 0.5377 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.328e-05/0.3276, allocations: 14.88 kB / 0.5377 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.934e-05/0.3277, allocations: 25.11 kB / 0.5377 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.3277, allocations: 1.281 kB / 0.5377 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.3277, allocations: 0 / 0.5377 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.3278, allocations: 3.938 kB / 0.5377 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006816/0.3285, allocations: 408.9 kB / 0.5381 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.3285, allocations: 3.938 kB / 0.5381 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.194e-05/0.3285, allocations: 8.125 kB / 0.5381 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.3285, allocations: 1.125 kB / 0.5381 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.013e-05/0.3286, allocations: 13.08 kB / 0.5381 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.3286, allocations: 5.25 kB / 0.5381 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.3286, allocations: 4.875 kB / 0.5381 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000338/0.329, allocations: 198.6 kB / 0.5383 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.051e-05/0.329, allocations: 84.45 kB / 0.5384 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.623e-05/0.3291, allocations: 9.188 kB / 0.5384 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.3292, allocations: 6 kB / 0.5384 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.158e-05/0.3293, allocations: 16 kB / 0.5384 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.007e-05/0.3293, allocations: 3.781 kB / 0.5384 GB, free: 7.887 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002889/0.3296, allocations: 206.9 kB / 0.5386 GB, free: 7.758 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3296, allocations: 0 / 0.5386 GB, free: 7.758 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004788/0.3301, allocations: 25.28 kB / 0.5386 GB, free: 7.75 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.001665/0.3318, allocations: 468 kB / 0.5391 GB, free: 7.512 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002755/0.3321, allocations: 57.47 kB / 0.5391 GB, free: 7.488 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.3321, allocations: 1.062 kB / 0.5392 GB, free: 7.488 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.3322, allocations: 29.77 kB / 0.5392 GB, free: 7.477 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005828/0.3328, allocations: 33.91 kB / 0.5392 GB, free: 7.457 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008223/0.3337, allocations: 320 kB / 0.5395 GB, free: 7.215 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004341/0.3341, allocations: 0.7211 MB / 0.5402 GB, free: 6.496 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.716e-05/0.3342, allocations: 15.19 kB / 0.5402 GB, free: 6.488 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3342, allocations: 1.656 kB / 0.5402 GB, free: 6.488 MB / 398.1 MB Notification: Performance of Templates: time 0.006111/0.3403, allocations: 2.125 MB / 0.5423 GB, free: 5.383 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches