Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.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.001364/0.001364, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002537/0.0039, 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.001304/0.001304, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001845/0.00315, 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 0.9762/0.9762, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1031/1.079, allocations: 53.66 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2688/0.2688, allocations: 34.25 MB / 278.2 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0267/0.2955, allocations: 13.1 MB / 291.3 MB, free: 7.371 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test79,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.1.0_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,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.1.0_ModelicaTest.Tables.CombiTimeTable.Test79") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 292.7 MB, free: 6.203 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.442e-05/2.623e-05, allocations: 5.016 kB / 292.7 MB, free: 6.199 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003488/0.003514, allocations: 1.97 MB / 294.7 MB, free: 4.215 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001377/0.004891, allocations: 1.131 MB / 295.8 MB, free: 3.078 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.278e-05/0.004974, allocations: 4 kB / 295.8 MB, free: 3.074 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002937/0.005268, allocations: 219.2 kB / 296.1 MB, free: 2.859 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002935/0.005561, allocations: 219.1 kB / 296.3 MB, free: 2.645 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002035/0.005765, allocations: 115.6 kB / 296.4 MB, free: 2.531 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002822/0.006047, allocations: 263.2 kB / 296.6 MB, free: 2.273 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.00616, allocations: 18.61 kB / 296.7 MB, free: 2.258 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002437/0.006404, allocations: 212.7 kB / 296.9 MB, free: 2.047 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001576/0.006562, allocations: 135.7 kB / 297 MB, free: 1.914 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.978e-05/0.006582, allocations: 8 kB / 297 MB, free: 1.906 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.006686, allocations: 67.91 kB / 297.1 MB, free: 1.84 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.258e-05/0.006748, allocations: 63.72 kB / 297.1 MB, free: 1.777 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.645e-05/0.006795, allocations: 35.88 kB / 297.2 MB, free: 1.742 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002141/0.007009, allocations: 191.2 kB / 297.4 MB, free: 1.555 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.293e-05/0.007022, allocations: 0 / 297.4 MB, free: 1.555 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.007023, allocations: 0 / 297.4 MB, free: 1.555 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.007034, allocations: 0 / 297.4 MB, free: 1.555 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.0006229/0.007656, allocations: 0.5075 MB / 297.9 MB, free: 1.023 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.007705, allocations: 16.02 kB / 297.9 MB, free: 1.008 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.664e-05/0.007762, allocations: 16.92 kB / 297.9 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000266/0.008028, allocations: 213.8 kB / 298.1 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/0.008052, allocations: 8.375 kB / 298.1 MB, free: 0.75 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.71e-05/0.008079, allocations: 12.36 kB / 298.1 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001939/0.008273, allocations: 117.8 kB / 298.2 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.008287, allocations: 3.938 kB / 298.2 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.0083, allocations: 8 kB / 298.2 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.008305, allocations: 0 / 298.2 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.324e-05/0.008358, allocations: 25.64 kB / 298.3 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000334/0.008692, allocations: 300.8 kB / 298.6 MB, free: 260 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002036/0.008896, allocations: 186.8 kB / 298.7 MB, free: 52 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.204e-05/0.008928, allocations: 25.66 kB / 298.8 MB, free: 20 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.398e-05/0.008942, allocations: 7.938 kB / 298.8 MB, free: 12 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001472/0.009089, allocations: 112 kB / 298.9 MB, free: 15.88 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.302e-06/0.009091, allocations: 0 / 298.9 MB, free: 15.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006374/0.009728, allocations: 328 kB / 299.2 MB, free: 15.55 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/0.009766, allocations: 81.11 kB / 299.3 MB, free: 15.46 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001947/0.009961, allocations: 328.6 kB / 299.6 MB, free: 15.12 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.009983, allocations: 33.7 kB / 299.6 MB, free: 15.08 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.837e-05/0.01003, allocations: 121.6 kB / 299.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.353e-05/0.01008, allocations: 67.42 kB / 299.8 MB, free: 14.89 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.501e-05/0.01013, allocations: 45.69 kB / 299.9 MB, free: 14.84 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.313e-05/0.01022, allocations: 350.7 kB / 300.2 MB, free: 14.49 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.341e-05/0.01026, allocations: 22.81 kB / 300.2 MB, free: 14.47 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.504e-05/0.0103, allocations: 54.05 kB / 300.3 MB, free: 14.41 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.179e-05/0.01039, allocations: 107.5 kB / 300.4 MB, free: 14.29 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.01039, allocations: 0 / 300.4 MB, free: 14.29 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001421/0.01054, allocations: 141.4 kB / 300.5 MB, free: 14.14 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.01055, allocations: 8 kB / 300.5 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.01056, allocations: 1.094 kB / 300.5 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.808e-06/0.01057, allocations: 0 / 300.5 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.01067, allocations: 55.91 kB / 300.6 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.01068, allocations: 4 kB / 300.6 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.694e-05/0.01072, allocations: 12 kB / 300.6 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.01073, allocations: 8 kB / 300.6 MB, free: 14.06 MB / 298.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 8.81e-05/0.01082, allocations: 124.7 kB / 300.7 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.678e-05/0.01085, allocations: 23.92 kB / 300.8 MB, free: 13.9 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001962/0.01104, allocations: 164.3 kB / 300.9 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.01105, allocations: 4 kB / 300.9 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.01105, allocations: 0 / 300.9 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.01105, allocations: 0 / 300.9 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004072/0.01146, allocations: 0.5711 MB / 301.5 MB, free: 13.12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.01146, allocations: 0 / 301.5 MB, free: 13.12 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.59e-05/0.01153, allocations: 39.97 kB / 301.5 MB, free: 13.08 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.518e-05/0.01155, allocations: 27.75 kB / 301.6 MB, free: 13.05 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.01156, allocations: 8 kB / 301.6 MB, free: 13.05 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.01157, allocations: 11.94 kB / 301.6 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.01157, allocations: 0 / 301.6 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.01158, allocations: 4 kB / 301.6 MB, free: 13.03 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000212/0.01179, allocations: 420.6 kB / 302 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.787e-05/0.01182, allocations: 12.12 kB / 302 MB, free: 12.58 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.691e-05/0.01189, allocations: 11.98 kB / 302 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.754e-05/0.01193, allocations: 19.97 kB / 302 MB, free: 12.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.671e-05/0.01195, allocations: 8 kB / 302.1 MB, free: 12.54 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001082/0.01206, allocations: 147.4 kB / 302.2 MB, free: 12.39 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01206, allocations: 0 / 302.2 MB, free: 12.39 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000201/0.01226, allocations: 51.86 kB / 302.2 MB, free: 12.34 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.001539/0.0138, allocations: 0.7209 MB / 303 MB, free: 12.02 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001609/0.01396, allocations: 101.7 kB / 303.1 MB, free: 11.92 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.043e-05/0.01397, allocations: 4 kB / 303.1 MB, free: 11.91 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.143e-05/0.01403, allocations: 68.64 kB / 303.1 MB, free: 11.84 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002976/0.01433, allocations: 84.83 kB / 303.2 MB, free: 11.76 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008983/0.01522, allocations: 0.4892 MB / 303.7 MB, free: 11.23 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001085/0.01533, allocations: 104.3 kB / 303.8 MB, free: 11.11 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.351e-05/0.01543, allocations: 33.92 kB / 303.8 MB, free: 11.07 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/0.01555, allocations: 95.34 kB / 303.9 MB, free: 10.98 MB / 298.7 MB Notification: Performance of SimCode: time 8.31e-07/0.01556, allocations: 0 / 303.9 MB, free: 10.98 MB / 298.7 MB Notification: Performance of Templates: time 0.007002/0.02256, allocations: 3.707 MB / 307.6 MB, free: 7.344 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.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: 2.919428571127355]