Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001244/0.001244, allocations: 82.66 kB / 21.42 MB, free: 3.07 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.0009957/0.0009957, allocations: 166.8 kB / 24.82 MB, free: 9.211 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 1.041/1.041, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.2327/0.2327, allocations: 32.8 MB / 294.6 MB, free: 1.164 MB / 266.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.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.0.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.0.0_ModelicaTest.Tables.CombiTimeTable.Test79") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 376.6 MB, free: 4.277 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.449e-05/1.606e-05, allocations: 6.25 kB / 376.6 MB, free: 4.27 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.004871/0.004887, allocations: 1.921 MB / 378.5 MB, free: 2.336 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005532/0.01042, allocations: 1.091 MB / 379.6 MB, free: 1.238 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.119e-05/0.01051, allocations: 3.938 kB / 379.6 MB, free: 1.234 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004126/0.01092, allocations: 223.3 kB / 379.8 MB, free: 1.016 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003945/0.01132, allocations: 223 kB / 380 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002122/0.01153, allocations: 119.5 kB / 380.1 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002612/0.01179, allocations: 267.2 kB / 380.4 MB, free: 428 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.527e-05/0.01189, allocations: 13.97 kB / 380.4 MB, free: 416 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001655/0.01205, allocations: 151.6 kB / 380.6 MB, free: 264 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001707/0.01222, allocations: 151.7 kB / 380.7 MB, free: 112 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.287e-05/0.01225, allocations: 12 kB / 380.7 MB, free: 100 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001108/0.01236, allocations: 63.86 kB / 380.8 MB, free: 36 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.054e-05/0.01245, allocations: 71.69 kB / 380.9 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.066e-05/0.01251, allocations: 47.78 kB / 380.9 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000248/0.01276, allocations: 195.2 kB / 381.1 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.01276, allocations: 0 / 381.1 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.01276, allocations: 0 / 381.1 MB, free: 15.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.01276, allocations: 0 / 381.1 MB, free: 15.73 MB / 362.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.003107/0.01587, allocations: 0.6079 MB / 381.7 MB, free: 15.08 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.0159, allocations: 8.031 kB / 381.7 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.214e-05/0.01595, allocations: 36.75 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001883/0.01614, allocations: 232.5 kB / 382 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.01616, allocations: 384 / 382 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/0.01618, allocations: 16.36 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.01631, allocations: 106.3 kB / 382.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.01633, allocations: 7.891 kB / 382.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.01634, allocations: 7.984 kB / 382.1 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.01634, allocations: 0 / 382.1 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.077e-05/0.01638, allocations: 31.91 kB / 382.1 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003185/0.0167, allocations: 467.2 kB / 382.6 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001803/0.01688, allocations: 122.1 kB / 382.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.31e-05/0.01691, allocations: 31.36 kB / 382.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/0.01693, allocations: 4 kB / 382.8 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001195/0.01705, allocations: 120.4 kB / 382.9 MB, free: 13.78 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 9.02e-07/0.01705, allocations: 0 / 382.9 MB, free: 13.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005789/0.01763, allocations: 369.7 kB / 383.2 MB, free: 13.41 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/0.01766, allocations: 85.05 kB / 383.3 MB, free: 13.31 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004694/0.01813, allocations: 394.1 kB / 383.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.01815, allocations: 33.7 kB / 383.7 MB, free: 12.88 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.883e-05/0.01824, allocations: 223.2 kB / 384 MB, free: 12.65 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.439e-05/0.01828, allocations: 71.41 kB / 384 MB, free: 12.58 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.462e-05/0.01832, allocations: 47.34 kB / 384.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.01845, allocations: 0.5274 MB / 384.6 MB, free: 11.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.985e-05/0.01848, allocations: 27.98 kB / 384.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.154e-05/0.01853, allocations: 74.69 kB / 384.7 MB, free: 11.87 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.057e-05/0.01862, allocations: 106.7 kB / 384.8 MB, free: 11.75 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.01862, allocations: 0 / 384.8 MB, free: 11.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001613/0.01878, allocations: 193.4 kB / 385 MB, free: 11.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.01879, allocations: 10.03 kB / 385 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.0188, allocations: 3.938 kB / 385 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.01881, allocations: 4.062 kB / 385 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.984e-05/0.01889, allocations: 39.98 kB / 385 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.01889, allocations: 0 / 385 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.283e-05/0.01893, allocations: 19.86 kB / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.01894, allocations: 12 kB / 385.1 MB, free: 11.46 MB / 362.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.796e-05/0.01902, allocations: 160.6 kB / 385.2 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.198e-05/0.01905, allocations: 39.81 kB / 385.3 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002198/0.01927, allocations: 221 kB / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.01927, allocations: 4 kB / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.01928, allocations: 8 kB / 385.5 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.01928, allocations: 11.92 kB / 385.5 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000437/0.01972, allocations: 0.687 MB / 386.2 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01972, allocations: 0 / 386.2 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.167e-05/0.01977, allocations: 35.92 kB / 386.2 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.01978, allocations: 3.938 kB / 386.2 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.01978, allocations: 8 kB / 386.2 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.01979, allocations: 4 kB / 386.3 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.01979, allocations: 4.109 kB / 386.3 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002462/0.02003, allocations: 0.5042 MB / 386.8 MB, free: 9.684 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.301e-05/0.02006, allocations: 35.73 kB / 386.8 MB, free: 9.648 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.189e-05/0.02008, allocations: 8 kB / 386.8 MB, free: 9.641 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.43e-05/0.02015, allocations: 11.98 kB / 386.8 MB, free: 9.629 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.165e-05/0.02019, allocations: 19.97 kB / 386.8 MB, free: 9.609 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.0202, allocations: 8 kB / 386.8 MB, free: 9.602 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001162/0.02032, allocations: 254.9 kB / 387.1 MB, free: 9.352 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02032, allocations: 0 / 387.1 MB, free: 9.352 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002143/0.02053, allocations: 55.92 kB / 387.1 MB, free: 9.297 MB / 362.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.0009107/0.02144, allocations: 489.9 kB / 387.6 MB, free: 9 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001366/0.02158, allocations: 116 kB / 387.7 MB, free: 8.883 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.243e-06/0.02158, allocations: 128 / 387.7 MB, free: 8.883 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.457e-05/0.02164, allocations: 79.5 kB / 387.8 MB, free: 8.801 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/0.02197, allocations: 69.38 kB / 387.9 MB, free: 8.734 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004733/0.02244, allocations: 497.2 kB / 388.4 MB, free: 8.195 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.189e-05/0.0225, allocations: 104.3 kB / 388.5 MB, free: 8.074 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.48e-05/0.02257, allocations: 38.17 kB / 388.5 MB, free: 8.039 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.02267, allocations: 118.2 kB / 388.6 MB, free: 7.922 MB / 362.7 MB Notification: Performance of SimCode: time 4.41e-07/0.02267, allocations: 4 kB / 388.6 MB, free: 7.918 MB / 362.7 MB Notification: Performance of Templates: time 0.005153/0.02783, allocations: 3.675 MB / 392.3 MB, free: 4.309 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 3.069375785999]