Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001845/0.003157, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001486/0.002655, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.069/1.069, allocations: 177.1 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1182/1.187, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3039/0.3039, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02895/0.3328, allocations: 12.53 MB / 289.3 MB, free: 8.676 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 290.7 MB, free: 7.574 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.228e-05/1.443e-05, allocations: 4.062 kB / 290.7 MB, free: 7.57 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.002265/0.002279, allocations: 1.976 MB / 292.7 MB, free: 5.98 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00151/0.00379, allocations: 1.126 MB / 293.8 MB, free: 5.09 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.664e-05/0.003876, allocations: 4 kB / 293.8 MB, free: 5.086 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002782/0.004154, allocations: 163.3 kB / 294 MB, free: 4.926 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003256/0.00448, allocations: 195.1 kB / 294.2 MB, free: 4.734 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002347/0.004715, allocations: 115.5 kB / 294.3 MB, free: 4.621 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002797/0.004994, allocations: 251.2 kB / 294.5 MB, free: 4.375 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.0051, allocations: 26.59 kB / 294.5 MB, free: 4.352 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002303/0.005331, allocations: 192.8 kB / 294.7 MB, free: 4.16 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001508/0.005481, allocations: 111.7 kB / 294.8 MB, free: 4.051 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.189e-05/0.005503, allocations: 8 kB / 294.8 MB, free: 4.043 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.005617, allocations: 63.92 kB / 294.9 MB, free: 3.98 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.807e-05/0.005685, allocations: 47.8 kB / 295 MB, free: 3.934 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.376e-05/0.005739, allocations: 31.88 kB / 295 MB, free: 3.902 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002343/0.005973, allocations: 179.2 kB / 295.2 MB, free: 3.727 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.545e-05/0.005988, allocations: 4 kB / 295.2 MB, free: 3.723 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.005989, allocations: 0 / 295.2 MB, free: 3.723 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.418e-05/0.006003, allocations: 0 / 295.2 MB, free: 3.723 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005626/0.006566, allocations: 491.4 kB / 295.6 MB, free: 3.219 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.006601, allocations: 16.03 kB / 295.7 MB, free: 3.203 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.911e-05/0.00664, allocations: 16.92 kB / 295.7 MB, free: 3.188 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002625/0.006902, allocations: 213.8 kB / 295.9 MB, free: 2.953 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.349e-05/0.006926, allocations: 384 / 295.9 MB, free: 2.953 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.763e-05/0.006953, allocations: 12.38 kB / 295.9 MB, free: 2.941 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.007125, allocations: 111.3 kB / 296 MB, free: 2.816 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.007136, allocations: 3.938 kB / 296 MB, free: 2.812 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.007146, allocations: 4 kB / 296 MB, free: 2.809 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.007155, allocations: 4 kB / 296 MB, free: 2.805 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.598e-05/0.0072, allocations: 33.62 kB / 296.1 MB, free: 2.77 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003335/0.007534, allocations: 296.8 kB / 296.3 MB, free: 2.457 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002126/0.007747, allocations: 182.6 kB / 296.5 MB, free: 2.258 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.328e-05/0.00778, allocations: 33.89 kB / 296.6 MB, free: 2.219 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.489e-05/0.007795, allocations: 7.938 kB / 296.6 MB, free: 2.211 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001315/0.007926, allocations: 99.88 kB / 296.7 MB, free: 2.094 MB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 8.22e-07/0.007927, allocations: 0 / 296.7 MB, free: 2.094 MB / 282.7 MB Notification: Performance of matching and sorting (n=22): time 0.000658/0.008585, allocations: 328.3 kB / 297 MB, free: 1.766 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/0.008636, allocations: 81.11 kB / 297.1 MB, free: 1.668 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001915/0.008828, allocations: 288.6 kB / 297.3 MB, free: 1.371 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.00885, allocations: 33.7 kB / 297.4 MB, free: 1.332 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.712e-05/0.008897, allocations: 113.2 kB / 297.5 MB, free: 1.219 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.491e-05/0.008952, allocations: 71.44 kB / 297.6 MB, free: 1.148 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.232e-05/0.008995, allocations: 37.69 kB / 297.6 MB, free: 1.105 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.009105, allocations: 346.7 kB / 297.9 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.928e-05/0.009134, allocations: 26.81 kB / 298 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.132e-05/0.009185, allocations: 66.03 kB / 298 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.257e-05/0.009278, allocations: 103.5 kB / 298.1 MB, free: 0.543 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.009281, allocations: 4 kB / 298.1 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.00014/0.009421, allocations: 134.3 kB / 298.3 MB, free: 412 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.009435, allocations: 9.406 kB / 298.3 MB, free: 404 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.009441, allocations: 3.938 kB / 298.3 MB, free: 400 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.009451, allocations: 8.062 kB / 298.3 MB, free: 392 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.466e-05/0.009546, allocations: 47.91 kB / 298.3 MB, free: 344 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.00955, allocations: 4 kB / 298.3 MB, free: 340 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.343e-05/0.009594, allocations: 15.88 kB / 298.3 MB, free: 324 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.009604, allocations: 8 kB / 298.4 MB, free: 316 kB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 7.738e-05/0.009681, allocations: 124.6 kB / 298.5 MB, free: 180 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.295e-05/0.009704, allocations: 23.98 kB / 298.5 MB, free: 156 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001979/0.009902, allocations: 152.2 kB / 298.6 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.009906, allocations: 4 kB / 298.7 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.009908, allocations: 4 kB / 298.7 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.009912, allocations: 0 / 298.7 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004232/0.01034, allocations: 0.5593 MB / 299.2 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.01034, allocations: 0 / 299.2 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.114e-05/0.0104, allocations: 35.98 kB / 299.2 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.415e-05/0.01042, allocations: 35.69 kB / 299.3 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.01043, allocations: 0 / 299.3 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.01044, allocations: 7.984 kB / 299.3 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.01044, allocations: 4.125 kB / 299.3 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.01044, allocations: 4 kB / 299.3 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002098/0.01065, allocations: 427.8 kB / 299.7 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.583e-05/0.01068, allocations: 11.98 kB / 299.7 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.79e-05/0.01074, allocations: 4 kB / 299.7 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.271e-05/0.01079, allocations: 23.97 kB / 299.8 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.0108, allocations: 8 kB / 299.8 MB, free: 14.81 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.691e-05/0.01089, allocations: 123.4 kB / 299.9 MB, free: 14.69 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01089, allocations: 0 / 299.9 MB, free: 14.69 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001944/0.01108, allocations: 47.94 kB / 299.9 MB, free: 14.64 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001581/0.01267, allocations: 0.7291 MB / 300.7 MB, free: 14.32 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001539/0.01282, allocations: 96.69 kB / 300.8 MB, free: 14.22 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/0.01283, allocations: 4 kB / 300.8 MB, free: 14.21 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.892e-05/0.01289, allocations: 60.83 kB / 300.8 MB, free: 14.15 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002996/0.01319, allocations: 88.84 kB / 300.9 MB, free: 14.06 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006466/0.01383, allocations: 465.6 kB / 301.4 MB, free: 13.57 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.315e-05/0.0139, allocations: 92.3 kB / 301.4 MB, free: 13.46 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.321e-05/0.01397, allocations: 45.92 kB / 301.5 MB, free: 13.41 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.01408, allocations: 99.36 kB / 301.6 MB, free: 13.31 MB / 298.7 MB Notification: Performance of SimCode: time 4.01e-07/0.01408, allocations: 0 / 301.6 MB, free: 13.31 MB / 298.7 MB Notification: Performance of Templates: time 0.005484/0.01956, allocations: 3.675 MB / 305.3 MB, free: 9.703 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.20236396510154]