Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009692/0.0009692, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 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.001102/0.001102, allocations: 169.4 kB / 24.91 MB, free: 8.754 MB / 18.57 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.9494/0.9494, allocations: 177.1 MB / 205.3 MB, free: 5.047 MB / 186.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.2503/0.2503, allocations: 34.26 MB / 296.1 MB, free: 0.6641 MB / 266.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.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.1.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.1.0_ModelicaTest.Tables.CombiTimeTable.Test77") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 325.3 MB, free: 7.613 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.116e-05/2.265e-05, allocations: 3.188 kB / 325.3 MB, free: 7.609 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.006035/0.006057, allocations: 1.936 MB / 327.3 MB, free: 5.66 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004737/0.01079, allocations: 1.111 MB / 328.4 MB, free: 4.543 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.077e-05/0.01088, allocations: 4 kB / 328.4 MB, free: 4.539 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003382/0.01122, allocations: 155.3 kB / 328.5 MB, free: 4.387 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004665/0.01169, allocations: 191.2 kB / 328.7 MB, free: 4.199 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002966/0.01199, allocations: 123.5 kB / 328.9 MB, free: 4.078 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003221/0.01231, allocations: 255.2 kB / 329.1 MB, free: 3.828 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.862e-05/0.01241, allocations: 19.11 kB / 329.1 MB, free: 3.812 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002103/0.01262, allocations: 139.6 kB / 329.3 MB, free: 3.676 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001803/0.0128, allocations: 115.7 kB / 329.4 MB, free: 3.562 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.562e-05/0.01282, allocations: 8 kB / 329.4 MB, free: 3.555 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001368/0.01296, allocations: 63.92 kB / 329.4 MB, free: 3.492 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.275e-05/0.01304, allocations: 55.77 kB / 329.5 MB, free: 3.438 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.037e-05/0.0131, allocations: 43.78 kB / 329.5 MB, free: 3.395 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003288/0.01639, allocations: 191.2 kB / 329.7 MB, free: 3.207 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.01639, allocations: 0 / 329.7 MB, free: 3.207 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.0164, allocations: 0 / 329.7 MB, free: 3.207 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.306e-06/0.0164, allocations: 0 / 329.7 MB, free: 3.207 MB / 298.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.000461/0.01686, allocations: 444.5 kB / 330.2 MB, free: 2.75 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.927e-05/0.01689, allocations: 12.03 kB / 330.2 MB, free: 2.738 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.545e-05/0.01693, allocations: 28.84 kB / 330.2 MB, free: 2.711 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/0.01714, allocations: 197.9 kB / 330.4 MB, free: 2.492 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.01715, allocations: 384 / 330.4 MB, free: 2.492 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.377e-05/0.01718, allocations: 12.38 kB / 330.4 MB, free: 2.48 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.01735, allocations: 121.9 kB / 330.5 MB, free: 2.348 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.01736, allocations: 7.875 kB / 330.5 MB, free: 2.34 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.01737, allocations: 3.938 kB / 330.5 MB, free: 2.336 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.01738, allocations: 4 kB / 330.5 MB, free: 2.332 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.438e-05/0.01743, allocations: 25.64 kB / 330.6 MB, free: 2.305 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003602/0.01779, allocations: 300.8 kB / 330.9 MB, free: 1.988 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002287/0.01802, allocations: 174.7 kB / 331 MB, free: 1.797 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.383e-05/0.01807, allocations: 37.89 kB / 331.1 MB, free: 1.754 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/0.01808, allocations: 4 kB / 331.1 MB, free: 1.75 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001455/0.01823, allocations: 112.4 kB / 331.2 MB, free: 1.621 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/0.01823, allocations: 0 / 331.2 MB, free: 1.621 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007399/0.01897, allocations: 314.3 kB / 331.5 MB, free: 1.309 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.01901, allocations: 89.05 kB / 331.6 MB, free: 1.203 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002752/0.01929, allocations: 288.6 kB / 331.9 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.637e-05/0.01931, allocations: 33.7 kB / 331.9 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.666e-05/0.01937, allocations: 117.2 kB / 332 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.822e-05/0.01944, allocations: 75.39 kB / 332.1 MB, free: 0.668 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.146e-05/0.0195, allocations: 41.69 kB / 332.1 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.01961, allocations: 346.7 kB / 332.5 MB, free: 280 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.099e-05/0.01966, allocations: 26.81 kB / 332.5 MB, free: 252 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.483e-05/0.01973, allocations: 58.03 kB / 332.5 MB, free: 184 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001231/0.01985, allocations: 103.2 kB / 332.6 MB, free: 68 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.01985, allocations: 0 / 332.6 MB, free: 68 kB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000205/0.02006, allocations: 135.9 kB / 332.8 MB, free: 15.93 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.02007, allocations: 8 kB / 332.8 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.02008, allocations: 3.984 kB / 332.8 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.02009, allocations: 4 kB / 332.8 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.0202, allocations: 39.98 kB / 332.8 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.02021, allocations: 3.938 kB / 332.8 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.852e-05/0.02027, allocations: 11.94 kB / 332.8 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.02028, allocations: 7.984 kB / 332.8 MB, free: 15.85 MB / 314.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 9.114e-05/0.02037, allocations: 132.7 kB / 333 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.258e-05/0.0204, allocations: 19.97 kB / 333 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002155/0.02062, allocations: 162.5 kB / 333.2 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.02062, allocations: 4 kB / 333.2 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.02062, allocations: 0 / 333.2 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.02063, allocations: 0 / 333.2 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004657/0.02109, allocations: 0.5555 MB / 333.7 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.0211, allocations: 0 / 333.7 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.742e-05/0.02116, allocations: 32.11 kB / 333.7 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.02117, allocations: 7.938 kB / 333.8 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.02118, allocations: 11.98 kB / 333.8 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.598e-06/0.02119, allocations: 7.938 kB / 333.8 MB, free: 14.87 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.02119, allocations: 0 / 333.8 MB, free: 14.87 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002257/0.02141, allocations: 403.5 kB / 334.2 MB, free: 14.45 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.022e-05/0.02145, allocations: 31.73 kB / 334.2 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.078e-05/0.02148, allocations: 11.98 kB / 334.2 MB, free: 14.4 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.02159, allocations: 11.94 kB / 334.2 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.823e-05/0.02162, allocations: 15.97 kB / 334.2 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-05/0.02164, allocations: 16 kB / 334.3 MB, free: 14.36 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001081/0.02175, allocations: 119.5 kB / 334.4 MB, free: 14.24 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02175, allocations: 0 / 334.4 MB, free: 14.24 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003039/0.02206, allocations: 47.94 kB / 334.4 MB, free: 14.2 MB / 314.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.001717/0.02377, allocations: 0.6681 MB / 335.1 MB, free: 13.87 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000188/0.02396, allocations: 108.5 kB / 335.2 MB, free: 13.76 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.593e-06/0.02397, allocations: 8.125 kB / 335.2 MB, free: 13.75 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.582e-05/0.02405, allocations: 56.72 kB / 335.3 MB, free: 13.69 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004285/0.02448, allocations: 64.11 kB / 335.3 MB, free: 13.63 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006382/0.02512, allocations: 459.9 kB / 335.8 MB, free: 13.14 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.038e-05/0.0252, allocations: 88.33 kB / 335.9 MB, free: 13.03 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000106/0.02531, allocations: 46.16 kB / 335.9 MB, free: 12.98 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001418/0.02545, allocations: 99.34 kB / 336 MB, free: 12.88 MB / 314.7 MB Notification: Performance of SimCode: time 5.21e-07/0.02545, allocations: 0 / 336 MB, free: 12.88 MB / 314.7 MB Notification: Performance of Templates: time 0.006496/0.03195, allocations: 3.612 MB / 339.6 MB, free: 9.328 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 2.9540632967837155]