Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001252/0.002326, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001457/0.002469, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9286/0.9286, allocations: 173.4 MB / 186 MB, free: 7.527 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1814/1.11, allocations: 52.49 MB / 238.5 MB, free: 7.645 MB / 234.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.1329/0.1329, allocations: 32.8 MB / 272 MB, free: 6.316 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02441/0.1574, allocations: 12.53 MB / 284.5 MB, free: 9.738 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,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.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,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.Test75") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 0 / 286 MB, free: 8.332 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.841e-05/1.991e-05, allocations: 6.312 kB / 286 MB, free: 8.324 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.002158/0.002178, allocations: 1.946 MB / 287.9 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00117/0.003348, allocations: 0.9933 MB / 288.9 MB, free: 5.367 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.326e-05/0.003432, allocations: 3.938 kB / 288.9 MB, free: 5.363 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003081/0.00374, allocations: 227.2 kB / 289.1 MB, free: 5.141 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002576/0.003997, allocations: 175.3 kB / 289.3 MB, free: 4.969 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00034/0.004337, allocations: 187.4 kB / 289.5 MB, free: 4.785 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002535/0.004591, allocations: 243.2 kB / 289.7 MB, free: 4.547 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.31e-05/0.004684, allocations: 18.45 kB / 289.7 MB, free: 4.531 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002026/0.004886, allocations: 188.2 kB / 289.9 MB, free: 4.348 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001485/0.005035, allocations: 135.6 kB / 290.1 MB, free: 4.215 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.32e-05/0.005058, allocations: 12 kB / 290.1 MB, free: 4.203 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.005171, allocations: 59.92 kB / 290.1 MB, free: 4.145 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.184e-05/0.005233, allocations: 55.78 kB / 290.2 MB, free: 4.09 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.102e-05/0.005274, allocations: 35.81 kB / 290.2 MB, free: 4.055 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002057/0.00548, allocations: 175.3 kB / 290.4 MB, free: 3.883 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.279e-05/0.005492, allocations: 4 kB / 290.4 MB, free: 3.879 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.005494, allocations: 0 / 290.4 MB, free: 3.879 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.778e-06/0.005503, allocations: 0 / 290.4 MB, free: 3.879 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.0005467/0.00605, allocations: 0.5024 MB / 290.9 MB, free: 3.352 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.958e-05/0.00608, allocations: 12.03 kB / 290.9 MB, free: 3.34 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.14e-05/0.006121, allocations: 16.92 kB / 290.9 MB, free: 3.324 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001985/0.00632, allocations: 205.9 kB / 291.1 MB, free: 3.094 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.006338, allocations: 8.359 kB / 291.1 MB, free: 3.086 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.298e-05/0.006361, allocations: 8.375 kB / 291.1 MB, free: 3.078 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.006511, allocations: 111.4 kB / 291.2 MB, free: 2.953 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.006522, allocations: 3.938 kB / 291.2 MB, free: 2.949 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.006531, allocations: 8 kB / 291.3 MB, free: 2.941 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.006537, allocations: 0 / 291.3 MB, free: 2.941 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.047e-05/0.006578, allocations: 25.64 kB / 291.3 MB, free: 2.914 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002956/0.006873, allocations: 312.7 kB / 291.6 MB, free: 2.586 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.007072, allocations: 182.6 kB / 291.8 MB, free: 2.387 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.552e-05/0.007108, allocations: 41.83 kB / 291.8 MB, free: 2.34 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.149e-05/0.007119, allocations: 0 / 291.8 MB, free: 2.34 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001222/0.007242, allocations: 111.9 kB / 291.9 MB, free: 2.211 MB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 6.92e-07/0.007242, allocations: 0 / 291.9 MB, free: 2.211 MB / 282.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006313/0.007874, allocations: 331.1 kB / 292.2 MB, free: 1.879 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/0.007906, allocations: 81.11 kB / 292.3 MB, free: 1.781 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001796/0.008086, allocations: 312.6 kB / 292.6 MB, free: 1.465 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.008106, allocations: 33.7 kB / 292.7 MB, free: 1.426 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.764e-05/0.008154, allocations: 117.2 kB / 292.8 MB, free: 1.305 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.344e-05/0.008207, allocations: 79.36 kB / 292.8 MB, free: 1.227 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.301e-05/0.00825, allocations: 37.69 kB / 292.9 MB, free: 1.184 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.203e-05/0.008332, allocations: 346.7 kB / 293.2 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.215e-05/0.008365, allocations: 26.81 kB / 293.2 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.498e-05/0.00841, allocations: 62.41 kB / 293.3 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.508e-05/0.008495, allocations: 108.9 kB / 293.4 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.008496, allocations: 0 / 293.4 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000132/0.008628, allocations: 139.5 kB / 293.6 MB, free: 484 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.00864, allocations: 4 kB / 293.6 MB, free: 480 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.008645, allocations: 4 kB / 293.6 MB, free: 476 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.008657, allocations: 0 / 293.6 MB, free: 476 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.541e-05/0.008752, allocations: 47.92 kB / 293.6 MB, free: 428 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.008758, allocations: 4.922 kB / 293.6 MB, free: 424 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.316e-05/0.008801, allocations: 15.88 kB / 293.6 MB, free: 408 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.158e-06/0.00881, allocations: 8 kB / 293.6 MB, free: 400 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.643e-05/0.008887, allocations: 128.7 kB / 293.8 MB, free: 260 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.429e-05/0.008911, allocations: 27.97 kB / 293.8 MB, free: 232 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001674/0.009078, allocations: 148.3 kB / 293.9 MB, free: 80 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.009081, allocations: 3.984 kB / 293.9 MB, free: 76 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.009084, allocations: 4 kB / 293.9 MB, free: 72 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.009087, allocations: 3.938 kB / 293.9 MB, free: 68 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003905/0.009478, allocations: 0.5555 MB / 294.5 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.00948, allocations: 0 / 294.5 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.253e-05/0.009543, allocations: 51.98 kB / 294.5 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.715e-05/0.00957, allocations: 27.75 kB / 294.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.009573, allocations: 4 kB / 294.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.009585, allocations: 7.984 kB / 294.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.009587, allocations: 0 / 294.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.009589, allocations: 4 kB / 294.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001928/0.009781, allocations: 420.5 kB / 295 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.729e-05/0.009809, allocations: 11.98 kB / 295 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.362e-05/0.009882, allocations: 4 kB / 295 MB, free: 14.92 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.548e-05/0.009918, allocations: 23.97 kB / 295 MB, free: 14.9 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.009934, allocations: 11.98 kB / 295.1 MB, free: 14.89 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.171e-05/0.01003, allocations: 135.5 kB / 295.2 MB, free: 14.75 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01003, allocations: 0 / 295.2 MB, free: 14.75 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00021/0.01024, allocations: 55.88 kB / 295.2 MB, free: 14.7 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.001574/0.01181, allocations: 0.7226 MB / 296 MB, free: 14.34 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001575/0.01197, allocations: 111.7 kB / 296.1 MB, free: 14.23 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.078e-05/0.01198, allocations: 4 kB / 296.1 MB, free: 14.23 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.244e-05/0.01205, allocations: 76.69 kB / 296.2 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.0003755/0.01243, allocations: 356.1 kB / 296.5 MB, free: 13.75 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007011/0.01313, allocations: 483.8 kB / 297 MB, free: 13.22 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.589e-05/0.01319, allocations: 96.3 kB / 297.1 MB, free: 13.11 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.136e-05/0.01327, allocations: 41.86 kB / 297.1 MB, free: 13.06 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.01338, allocations: 95.34 kB / 297.2 MB, free: 12.97 MB / 298.7 MB Notification: Performance of SimCode: time 1.372e-06/0.01338, allocations: 0 / 297.2 MB, free: 12.97 MB / 298.7 MB Notification: Performance of Templates: time 0.00614/0.01953, allocations: 3.651 MB / 300.9 MB, free: 9.387 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9052524343132973]