Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.001019/0.001019, allocations: 76.41 kB / 22.21 MB, free: 2.281 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.001184/0.001184, allocations: 168.6 kB / 25.61 MB, free: 8.883 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.9898/0.9898, allocations: 177.1 MB / 206 MB, free: 4.52 MB / 186.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.1949/0.1949, allocations: 32.8 MB / 295.4 MB, free: 15.4 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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 377.3 MB, free: 25.53 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.442e-05/2.628e-05, allocations: 2.312 kB / 377.3 MB, free: 25.52 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.002337/0.002363, allocations: 1.758 MB / 379.1 MB, free: 23.75 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001544/0.003907, allocations: 1.707 MB / 380.8 MB, free: 22.04 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.713e-05/0.004004, allocations: 11.94 kB / 380.8 MB, free: 22.02 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003037/0.004308, allocations: 39.7 kB / 380.9 MB, free: 21.98 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003446/0.004653, allocations: 103.5 kB / 381 MB, free: 21.88 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002284/0.004881, allocations: 83.53 kB / 381 MB, free: 21.8 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001684/0.005049, allocations: 115.6 kB / 381.2 MB, free: 21.69 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.473e-05/0.005144, allocations: 7.984 kB / 381.2 MB, free: 21.68 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.006e-05/0.005234, allocations: 67.77 kB / 381.2 MB, free: 21.61 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.005347, allocations: 31.89 kB / 381.3 MB, free: 21.58 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.005366, allocations: 8 kB / 381.3 MB, free: 21.57 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001643/0.00553, allocations: 111.9 kB / 381.4 MB, free: 21.46 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.793e-05/0.005578, allocations: 11.94 kB / 381.4 MB, free: 21.45 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.708e-05/0.005615, allocations: 27.91 kB / 381.4 MB, free: 21.43 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002289/0.005844, allocations: 179.3 kB / 381.6 MB, free: 21.25 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.005847, allocations: 0 / 381.6 MB, free: 21.25 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.005848, allocations: 0 / 381.6 MB, free: 21.25 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.005853, allocations: 0 / 381.6 MB, free: 21.25 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004302/0.006283, allocations: 463.7 kB / 382 MB, free: 20.76 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.006326, allocations: 15.98 kB / 382.1 MB, free: 20.75 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.84e-05/0.006374, allocations: 16.83 kB / 382.1 MB, free: 20.73 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001904/0.006564, allocations: 151.3 kB / 382.2 MB, free: 20.56 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.006581, allocations: 8.375 kB / 382.2 MB, free: 20.55 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.0066, allocations: 4.312 kB / 382.2 MB, free: 20.55 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.006751, allocations: 116 kB / 382.4 MB, free: 20.41 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.006763, allocations: 3.938 kB / 382.4 MB, free: 20.41 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.325e-06/0.006772, allocations: 0 / 382.4 MB, free: 20.41 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.006778, allocations: 4 kB / 382.4 MB, free: 20.4 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.807e-05/0.006816, allocations: 11.98 kB / 382.4 MB, free: 20.39 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003168/0.007132, allocations: 264.4 kB / 382.6 MB, free: 20.11 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.007256, allocations: 59.09 kB / 382.7 MB, free: 20.04 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.046e-05/0.007286, allocations: 19.69 kB / 382.7 MB, free: 20.01 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.007305, allocations: 4 kB / 382.7 MB, free: 20.01 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001174/0.007422, allocations: 80.91 kB / 382.8 MB, free: 19.91 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 2.545e-06/0.007425, allocations: 0 / 382.8 MB, free: 19.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003718/0.007796, allocations: 153.6 kB / 382.9 MB, free: 19.76 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.571e-05/0.007822, allocations: 81.11 kB / 383 MB, free: 19.66 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.551e-05/0.007908, allocations: 214.5 kB / 383.2 MB, free: 19.43 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.007918, allocations: 33.7 kB / 383.3 MB, free: 19.39 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.692e-05/0.007955, allocations: 146.8 kB / 383.4 MB, free: 19.25 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.945e-05/0.007985, allocations: 27.84 kB / 383.4 MB, free: 19.22 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-05/0.008019, allocations: 35.34 kB / 383.5 MB, free: 19.18 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.095e-05/0.00807, allocations: 0.4923 MB / 384 MB, free: 18.67 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.763e-05/0.008088, allocations: 11.94 kB / 384 MB, free: 18.66 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.785e-05/0.008125, allocations: 72.34 kB / 384 MB, free: 18.57 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.646e-05/0.008172, allocations: 51.3 kB / 384.1 MB, free: 18.52 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.008173, allocations: 0 / 384.1 MB, free: 18.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001038/0.008277, allocations: 101.5 kB / 384.2 MB, free: 18.41 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.008291, allocations: 10.34 kB / 384.2 MB, free: 18.4 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.008295, allocations: 4.062 kB / 384.2 MB, free: 18.4 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.809e-06/0.008305, allocations: 3.984 kB / 384.2 MB, free: 18.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.29e-05/0.008368, allocations: 16 kB / 384.2 MB, free: 18.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.134e-06/0.00837, allocations: 0 / 384.2 MB, free: 18.38 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.033e-05/0.008401, allocations: 4 kB / 384.2 MB, free: 18.38 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.008407, allocations: 3.984 kB / 384.2 MB, free: 18.37 MB / 314.7 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 (11): * Single equations (assignments): 11 * 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 5.734e-05/0.008464, allocations: 168.5 kB / 384.4 MB, free: 18.2 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.888e-05/0.008483, allocations: 23.84 kB / 384.4 MB, free: 18.17 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001344/0.008617, allocations: 106.4 kB / 384.5 MB, free: 18.06 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.00862, allocations: 4 kB / 384.5 MB, free: 18.06 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.008623, allocations: 4 kB / 384.5 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.008628, allocations: 4 kB / 384.5 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002398/0.008867, allocations: 389.5 kB / 384.9 MB, free: 17.63 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.00887, allocations: 0 / 384.9 MB, free: 17.63 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.539e-05/0.008905, allocations: 12 kB / 384.9 MB, free: 17.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.008908, allocations: 3.984 kB / 384.9 MB, free: 17.62 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.008916, allocations: 4 kB / 384.9 MB, free: 17.61 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.008918, allocations: 0 / 384.9 MB, free: 17.61 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.008919, allocations: 0 / 384.9 MB, free: 17.61 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001198/0.009039, allocations: 271.4 kB / 385.2 MB, free: 17.32 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.2e-05/0.009051, allocations: 11.98 kB / 385.2 MB, free: 17.31 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.009071, allocations: 3.984 kB / 385.2 MB, free: 17.31 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.681e-05/0.009117, allocations: 11.94 kB / 385.2 MB, free: 17.3 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.726e-05/0.009145, allocations: 7.984 kB / 385.2 MB, free: 17.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.009158, allocations: 4 kB / 385.2 MB, free: 17.29 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.598e-05/0.009204, allocations: 160.7 kB / 385.4 MB, free: 17.13 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009204, allocations: 0 / 385.4 MB, free: 17.13 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002148/0.009418, allocations: 47.86 kB / 385.4 MB, free: 17.08 MB / 314.7 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 (11): * Single equations (assignments): 9 * 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.001146/0.01056, allocations: 0.5309 MB / 386 MB, free: 16.76 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001396/0.0107, allocations: 63.59 kB / 386 MB, free: 16.69 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01071, allocations: 0 / 386 MB, free: 16.69 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.537e-05/0.01074, allocations: 31.61 kB / 386.1 MB, free: 16.66 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002498/0.01099, allocations: 40.92 kB / 386.1 MB, free: 16.62 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002996/0.01129, allocations: 231.7 kB / 386.3 MB, free: 16.36 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.676e-05/0.01132, allocations: 67.2 kB / 386.4 MB, free: 16.28 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.767e-05/0.01137, allocations: 24.75 kB / 386.4 MB, free: 16.25 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.336e-05/0.01144, allocations: 102.2 kB / 386.5 MB, free: 16.15 MB / 314.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01144, allocations: 0 / 386.5 MB, free: 16.15 MB / 314.7 MB Notification: Performance of Templates: time 0.004323/0.01576, allocations: 2.962 MB / 389.5 MB, free: 13.23 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.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.377691979985684]