Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.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.000925/0.000925, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001054/0.001054, allocations: 170.7 kB / 24.91 MB, free: 8.723 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.9778/0.9778, allocations: 177.1 MB / 205.3 MB, free: 5.113 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.2887/0.2887, allocations: 34.26 MB / 296.1 MB, free: 0.6953 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.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 325.4 MB, free: 7.582 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.707e-05/1.842e-05, allocations: 4.062 kB / 325.4 MB, free: 7.578 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.002366/0.002384, allocations: 1.809 MB / 327.2 MB, free: 5.758 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00129/0.003674, allocations: 1.002 MB / 328.2 MB, free: 4.75 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.149e-05/0.003746, allocations: 3.938 kB / 328.2 MB, free: 4.746 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002659/0.004012, allocations: 43.77 kB / 328.2 MB, free: 4.703 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002637/0.004275, allocations: 95.47 kB / 328.3 MB, free: 4.609 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001759/0.004451, allocations: 83.59 kB / 328.4 MB, free: 4.527 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001494/0.0046, allocations: 107.6 kB / 328.5 MB, free: 4.422 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.887e-05/0.004669, allocations: 11.92 kB / 328.5 MB, free: 4.41 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.713e-05/0.004746, allocations: 47.91 kB / 328.6 MB, free: 4.363 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.312e-05/0.00481, allocations: 27.91 kB / 328.6 MB, free: 4.336 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.004822, allocations: 4 kB / 328.6 MB, free: 4.332 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.373e-05/0.004895, allocations: 47.91 kB / 328.7 MB, free: 4.285 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.977e-05/0.004935, allocations: 27.86 kB / 328.7 MB, free: 4.258 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.81e-05/0.004963, allocations: 20.44 kB / 328.7 MB, free: 4.238 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001558/0.005119, allocations: 103.6 kB / 328.8 MB, free: 4.137 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.392e-06/0.00512, allocations: 0 / 328.8 MB, free: 4.137 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.51e-07/0.005121, allocations: 0 / 328.8 MB, free: 4.137 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.316e-06/0.005124, allocations: 0 / 328.8 MB, free: 4.137 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003387/0.005463, allocations: 325.5 kB / 329.1 MB, free: 3.797 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.048e-05/0.005493, allocations: 8.031 kB / 329.1 MB, free: 3.789 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.163e-05/0.005525, allocations: 12.91 kB / 329.1 MB, free: 3.777 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.005674, allocations: 150.6 kB / 329.3 MB, free: 3.605 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.005692, allocations: 4.375 kB / 329.3 MB, free: 3.602 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.576e-05/0.005707, allocations: 8.312 kB / 329.3 MB, free: 3.594 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.427e-05/0.005802, allocations: 65.75 kB / 329.4 MB, free: 3.52 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.005813, allocations: 7.938 kB / 329.4 MB, free: 3.512 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.502e-06/0.005819, allocations: 0 / 329.4 MB, free: 3.512 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.005824, allocations: 0 / 329.4 MB, free: 3.512 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.361e-05/0.005848, allocations: 4 kB / 329.4 MB, free: 3.508 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001976/0.006045, allocations: 174 kB / 329.6 MB, free: 3.32 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.684e-05/0.006122, allocations: 89.22 kB / 329.6 MB, free: 3.223 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.778e-05/0.00614, allocations: 8.859 kB / 329.6 MB, free: 3.211 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.736e-06/0.006149, allocations: 8 kB / 329.7 MB, free: 3.203 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.708e-05/0.006226, allocations: 70.14 kB / 329.7 MB, free: 3.121 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.006227, allocations: 0 / 329.7 MB, free: 3.121 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002719/0.006499, allocations: 113.5 kB / 329.8 MB, free: 3.004 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.743e-05/0.006526, allocations: 51.41 kB / 329.9 MB, free: 2.941 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002597/0.006786, allocations: 180.2 kB / 330.1 MB, free: 2.75 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.006798, allocations: 25.7 kB / 330.1 MB, free: 2.719 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002982/0.007096, allocations: 104.1 kB / 330.2 MB, free: 2.613 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.395e-05/0.00712, allocations: 23.78 kB / 330.2 MB, free: 2.59 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.886e-05/0.007149, allocations: 21.7 kB / 330.2 MB, free: 2.562 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.831e-05/0.007217, allocations: 330.8 kB / 330.6 MB, free: 2.23 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002178/0.007435, allocations: 14.77 kB / 330.6 MB, free: 2.215 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.724e-05/0.007462, allocations: 29.62 kB / 330.6 MB, free: 2.18 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.029e-05/0.007503, allocations: 36.53 kB / 330.6 MB, free: 2.137 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.007504, allocations: 0 / 330.6 MB, free: 2.137 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.158e-05/0.007575, allocations: 80.73 kB / 330.7 MB, free: 2.051 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.798e-06/0.007585, allocations: 4 kB / 330.7 MB, free: 2.047 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.00759, allocations: 4 kB / 330.7 MB, free: 2.043 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/0.0076, allocations: 4.031 kB / 330.7 MB, free: 2.039 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.639e-05/0.007657, allocations: 19.98 kB / 330.7 MB, free: 2.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.435e-06/0.007659, allocations: 0 / 330.7 MB, free: 2.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.64e-05/0.007685, allocations: 8 kB / 330.8 MB, free: 2.012 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.638e-06/0.00769, allocations: 0 / 330.8 MB, free: 2.012 MB / 298.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 (10): * Single equations (assignments): 10 * 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 6.132e-05/0.007751, allocations: 124.6 kB / 330.9 MB, free: 1.879 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.164e-05/0.007763, allocations: 11.94 kB / 330.9 MB, free: 1.867 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.234e-05/0.007855, allocations: 75.12 kB / 331 MB, free: 1.785 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.007857, allocations: 0 / 331 MB, free: 1.785 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-06/0.007858, allocations: 3.938 kB / 331 MB, free: 1.781 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.007862, allocations: 8 kB / 331 MB, free: 1.773 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001878/0.008049, allocations: 287.6 kB / 331.2 MB, free: 1.465 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.008052, allocations: 7.938 kB / 331.3 MB, free: 1.457 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.17e-05/0.008073, allocations: 11.98 kB / 331.3 MB, free: 1.445 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.008075, allocations: 0 / 331.3 MB, free: 1.445 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.089e-06/0.00808, allocations: 0 / 331.3 MB, free: 1.445 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.008082, allocations: 4 kB / 331.3 MB, free: 1.441 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.008083, allocations: 0 / 331.3 MB, free: 1.441 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001034/0.008186, allocations: 223 kB / 331.5 MB, free: 1.203 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.171e-05/0.008198, allocations: 11.91 kB / 331.5 MB, free: 1.191 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.008212, allocations: 8.031 kB / 331.5 MB, free: 1.184 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.699e-05/0.008249, allocations: 0 / 331.5 MB, free: 1.184 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.285e-05/0.008272, allocations: 11.97 kB / 331.5 MB, free: 1.172 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.008281, allocations: 4 kB / 331.5 MB, free: 1.168 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.552e-05/0.008336, allocations: 56.69 kB / 331.6 MB, free: 1.109 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008336, allocations: 0 / 331.6 MB, free: 1.109 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000141/0.008477, allocations: 23.94 kB / 331.6 MB, free: 1.086 MB / 298.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 (9): * Single equations (assignments): 7 * 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.00122/0.009698, allocations: 0.5836 MB / 332.2 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.444e-05/0.009782, allocations: 44.77 kB / 332.2 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.009786, allocations: 4 kB / 332.2 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.785e-05/0.009814, allocations: 20.8 kB / 332.3 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001667/0.00998, allocations: 31.91 kB / 332.3 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002733/0.01025, allocations: 235.7 kB / 332.5 MB, free: 452 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.601e-05/0.0103, allocations: 71.33 kB / 332.6 MB, free: 360 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.543e-05/0.01034, allocations: 17.27 kB / 332.6 MB, free: 340 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.973e-05/0.01039, allocations: 63.38 kB / 332.7 MB, free: 276 kB / 298.7 MB Notification: Performance of SimCode: time 6.11e-07/0.0104, allocations: 0 / 332.7 MB, free: 276 kB / 298.7 MB Notification: Performance of Templates: time 0.003321/0.01372, allocations: 2.013 MB / 334.7 MB, free: 14.29 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.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.943104085046798]