Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00121/0.00121, allocations: 113.7 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.001349/0.001349, allocations: 206.7 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.365/1.365, 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.2054/0.2054, allocations: 46.11 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 76.2 kB / 482.1 MB, free: 3.969 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.2959, allocations: 62.43 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.002846/0.2988, allocations: 1.734 MB / 0.5334 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001519/0.3003, allocations: 1.022 MB / 0.5344 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.625e-05/0.3004, allocations: 3.938 kB / 0.5344 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002785/0.3007, allocations: 42.77 kB / 0.5345 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002901/0.301, allocations: 93.66 kB / 0.5346 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001904/0.3012, allocations: 76.36 kB / 0.5346 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001724/0.3014, allocations: 104.9 kB / 0.5347 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.374e-05/0.3015, allocations: 18.86 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.478e-05/0.3015, allocations: 36.3 kB / 0.5348 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.533e-05/0.3016, allocations: 41.39 kB / 0.5348 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.3017, allocations: 4.125 kB / 0.5348 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.265e-05/0.3018, allocations: 39.48 kB / 0.5349 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.69e-05/0.3018, allocations: 14.81 kB / 0.5349 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.04e-05/0.3019, allocations: 39.97 kB / 0.5349 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001927/0.3021, allocations: 123.8 kB / 0.535 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3021, allocations: 1.438 kB / 0.535 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3021, allocations: 0 / 0.535 GB, free: 11.04 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.3021, allocations: 4 kB / 0.535 GB, free: 11.03 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.0004934/0.3026, allocations: 402 kB / 0.5354 GB, free: 10.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.3026, allocations: 9.562 kB / 0.5354 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.444e-05/0.3027, allocations: 13.47 kB / 0.5354 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002526/0.303, allocations: 211.9 kB / 0.5357 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.303, allocations: 1.5 kB / 0.5357 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.557e-05/0.303, allocations: 6.562 kB / 0.5357 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.3032, allocations: 61.67 kB / 0.5357 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.3032, allocations: 3.984 kB / 0.5357 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.3032, allocations: 1.469 kB / 0.5357 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.3032, allocations: 0 / 0.5357 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.398e-05/0.3033, allocations: 22.83 kB / 0.5357 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003454/0.3037, allocations: 286.2 kB / 0.536 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.3038, allocations: 66.2 kB / 0.5361 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.144e-05/0.3039, allocations: 17.83 kB / 0.5361 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.3039, allocations: 0 / 0.5361 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001367/0.3041, allocations: 69.41 kB / 0.5362 GB, free: 9.871 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.3041, allocations: 0 / 0.5362 GB, free: 9.871 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005446/0.3046, allocations: 178.7 kB / 0.5363 GB, free: 9.766 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.277e-05/0.3047, allocations: 56.56 kB / 0.5364 GB, free: 9.699 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001724/0.3048, allocations: 185.8 kB / 0.5366 GB, free: 9.555 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.3049, allocations: 26.89 kB / 0.5366 GB, free: 9.523 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.423e-05/0.3049, allocations: 104.5 kB / 0.5367 GB, free: 9.422 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.806e-05/0.305, allocations: 23.22 kB / 0.5367 GB, free: 9.402 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.434e-05/0.305, allocations: 25.14 kB / 0.5367 GB, free: 9.379 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.3051, allocations: 328.9 kB / 0.5371 GB, free: 9.051 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.229e-05/0.3052, allocations: 19.58 kB / 0.5371 GB, free: 9.043 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.113e-05/0.3053, allocations: 43.28 kB / 0.5371 GB, free: 9.008 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.3054, allocations: 59.39 kB / 0.5372 GB, free: 8.969 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.3054, allocations: 0 / 0.5372 GB, free: 8.969 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001818/0.3056, allocations: 103.4 kB / 0.5373 GB, free: 8.902 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.3056, allocations: 5.531 kB / 0.5373 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.3056, allocations: 0 / 0.5373 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.3056, allocations: 1.438 kB / 0.5373 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.77e-05/0.3057, allocations: 20.88 kB / 0.5373 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.3057, allocations: 1.188 kB / 0.5373 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.845e-05/0.3058, allocations: 10.48 kB / 0.5373 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.3058, allocations: 2.562 kB / 0.5373 GB, free: 8.887 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 9.857e-05/0.3059, allocations: 126.6 kB / 0.5374 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.363e-05/0.3059, allocations: 13.03 kB / 0.5374 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.47e-05/0.306, allocations: 18.39 kB / 0.5375 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.306, allocations: 0 / 0.5375 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.306, allocations: 5.375 kB / 0.5375 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.306, allocations: 3.938 kB / 0.5375 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004223/0.3064, allocations: 389.5 kB / 0.5378 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3065, allocations: 0 / 0.5378 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.384e-05/0.3065, allocations: 12.14 kB / 0.5378 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.3065, allocations: 1.281 kB / 0.5379 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.3065, allocations: 9.031 kB / 0.5379 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.3065, allocations: 1.375 kB / 0.5379 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3065, allocations: 0 / 0.5379 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002236/0.3068, allocations: 204.5 kB / 0.5381 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.527e-05/0.3068, allocations: 87.89 kB / 0.5381 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.61e-05/0.3069, allocations: 10.61 kB / 0.5381 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.783e-05/0.3069, allocations: 1.219 kB / 0.5382 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.094e-05/0.307, allocations: 8.125 kB / 0.5382 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.898e-05/0.307, allocations: 6.609 kB / 0.5382 GB, free: 8.043 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001239/0.3071, allocations: 140 kB / 0.5383 GB, free: 7.941 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3071, allocations: 0 / 0.5383 GB, free: 7.941 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002637/0.3074, allocations: 29.27 kB / 0.5383 GB, free: 7.93 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.001023/0.3084, allocations: 458.9 kB / 0.5388 GB, free: 7.695 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001784/0.3086, allocations: 61.33 kB / 0.5388 GB, free: 7.668 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.3086, allocations: 1.031 kB / 0.5388 GB, free: 7.668 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.179e-05/0.3087, allocations: 28.98 kB / 0.5389 GB, free: 7.656 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003575/0.3091, allocations: 30.2 kB / 0.5389 GB, free: 7.641 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004323/0.3095, allocations: 250.2 kB / 0.5391 GB, free: 7.418 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002564/0.3098, allocations: 0.7083 MB / 0.5398 GB, free: 6.703 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.697e-05/0.3098, allocations: 20.02 kB / 0.5398 GB, free: 6.695 MB / 398.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3098, allocations: 0 / 0.5398 GB, free: 6.695 MB / 398.1 MB Notification: Performance of Templates: time 0.003603/0.3134, allocations: 1.927 MB / 0.5417 GB, free: 5.715 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches