Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.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.0009901/0.0009901, 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.001864/0.001864, allocations: 169.9 kB / 24.91 MB, free: 9.184 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.9554/0.9554, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.2513/0.2513, allocations: 32.81 MB / 294.6 MB, free: 1.172 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.Test74,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.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,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.Test74") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.22e-07/8.22e-07, allocations: 0 / 323.3 MB, free: 9.574 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.107e-05/1.189e-05, allocations: 2.312 kB / 323.3 MB, free: 9.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.002204/0.002216, allocations: 1.922 MB / 325.2 MB, free: 7.637 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001235/0.003451, allocations: 1.114 MB / 326.4 MB, free: 6.516 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.129e-05/0.003512, allocations: 0 / 326.4 MB, free: 6.516 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003097/0.003822, allocations: 263.1 kB / 326.6 MB, free: 6.258 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002929/0.004115, allocations: 227.1 kB / 326.8 MB, free: 6.035 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001593/0.004274, allocations: 131.5 kB / 327 MB, free: 5.906 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002088/0.004483, allocations: 279.2 kB / 327.2 MB, free: 5.633 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.28e-05/0.004546, allocations: 19.25 kB / 327.3 MB, free: 5.617 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001401/0.004686, allocations: 159.6 kB / 327.4 MB, free: 5.461 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001358/0.004821, allocations: 167.6 kB / 327.6 MB, free: 5.297 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.004838, allocations: 8 kB / 327.6 MB, free: 5.289 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.071e-05/0.004919, allocations: 63.92 kB / 327.6 MB, free: 5.227 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.582e-05/0.004974, allocations: 67.75 kB / 327.7 MB, free: 5.16 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.299e-05/0.005017, allocations: 51.73 kB / 327.8 MB, free: 5.109 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001903/0.005208, allocations: 207.2 kB / 328 MB, free: 4.906 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.372e-06/0.005209, allocations: 0 / 328 MB, free: 4.906 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.00521, allocations: 0 / 328 MB, free: 4.906 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.465e-06/0.005212, allocations: 0 / 328 MB, free: 4.906 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.0003895/0.005602, allocations: 499.8 kB / 328.5 MB, free: 4.395 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.281e-05/0.005625, allocations: 8.031 kB / 328.5 MB, free: 4.387 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.353e-05/0.005658, allocations: 32.91 kB / 328.5 MB, free: 4.355 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001697/0.005828, allocations: 216.2 kB / 328.7 MB, free: 4.117 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.005842, allocations: 12.31 kB / 328.7 MB, free: 4.105 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.802e-05/0.00586, allocations: 8.375 kB / 328.7 MB, free: 4.098 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.005977, allocations: 119.3 kB / 328.8 MB, free: 3.965 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.005987, allocations: 3.938 kB / 328.8 MB, free: 3.961 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.324e-06/0.005994, allocations: 0 / 328.8 MB, free: 3.961 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.005999, allocations: 4 kB / 328.9 MB, free: 3.957 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.72e-05/0.006036, allocations: 29.62 kB / 328.9 MB, free: 3.926 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002341/0.00627, allocations: 300.8 kB / 329.2 MB, free: 3.609 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001628/0.006433, allocations: 182.6 kB / 329.4 MB, free: 3.41 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.325e-05/0.006466, allocations: 41.89 kB / 329.4 MB, free: 3.363 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.658e-06/0.006476, allocations: 3.938 kB / 329.4 MB, free: 3.359 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001173/0.006593, allocations: 112.6 kB / 329.5 MB, free: 3.23 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 8.12e-07/0.006594, allocations: 0 / 329.5 MB, free: 3.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0004918/0.007086, allocations: 319.7 kB / 329.8 MB, free: 2.914 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.307e-05/0.007119, allocations: 85.09 kB / 329.9 MB, free: 2.812 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001905/0.007309, allocations: 349.1 kB / 330.2 MB, free: 2.461 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.007326, allocations: 41.69 kB / 330.3 MB, free: 2.414 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.207e-05/0.007368, allocations: 121.5 kB / 330.4 MB, free: 2.289 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.366e-05/0.007412, allocations: 75.38 kB / 330.5 MB, free: 2.215 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.756e-05/0.00745, allocations: 37.69 kB / 330.5 MB, free: 2.172 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.68e-05/0.007536, allocations: 354.7 kB / 330.9 MB, free: 1.816 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.996e-05/0.007566, allocations: 26.81 kB / 330.9 MB, free: 1.789 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.198e-05/0.007608, allocations: 54.03 kB / 330.9 MB, free: 1.727 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.619e-05/0.007695, allocations: 108.9 kB / 331 MB, free: 1.605 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.007696, allocations: 0 / 331 MB, free: 1.605 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001169/0.007813, allocations: 140.4 kB / 331.2 MB, free: 1.461 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.708e-06/0.007822, allocations: 4 kB / 331.2 MB, free: 1.457 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.007827, allocations: 7.938 kB / 331.2 MB, free: 1.449 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.709e-06/0.007837, allocations: 0 / 331.2 MB, free: 1.449 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.568e-05/0.007913, allocations: 43.92 kB / 331.2 MB, free: 1.406 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.007918, allocations: 7.984 kB / 331.2 MB, free: 1.398 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.091e-05/0.007958, allocations: 11.94 kB / 331.3 MB, free: 1.387 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.575e-06/0.007966, allocations: 4 kB / 331.3 MB, free: 1.383 MB / 298.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.063e-05/0.008037, allocations: 128.7 kB / 331.4 MB, free: 1.246 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.431e-05/0.008061, allocations: 27.97 kB / 331.4 MB, free: 1.219 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001618/0.008223, allocations: 161.7 kB / 331.6 MB, free: 1.043 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.008225, allocations: 0 / 331.6 MB, free: 1.043 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.008226, allocations: 4 kB / 331.6 MB, free: 1.039 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.00823, allocations: 0 / 331.6 MB, free: 1.039 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006072/0.008837, allocations: 0.571 MB / 332.1 MB, free: 440 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.008839, allocations: 0 / 332.1 MB, free: 440 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.097e-05/0.00889, allocations: 36.11 kB / 332.2 MB, free: 404 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.008895, allocations: 7.938 kB / 332.2 MB, free: 396 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.008903, allocations: 7.938 kB / 332.2 MB, free: 388 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.008904, allocations: 0 / 332.2 MB, free: 388 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.008906, allocations: 4 kB / 332.2 MB, free: 384 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001749/0.009081, allocations: 412.8 kB / 332.6 MB, free: 15.94 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.221e-05/0.009104, allocations: 31.7 kB / 332.6 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.428e-05/0.009128, allocations: 8 kB / 332.6 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.194e-05/0.0092, allocations: 11.98 kB / 332.7 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.852e-05/0.009228, allocations: 19.97 kB / 332.7 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.009241, allocations: 8 kB / 332.7 MB, free: 15.86 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001051/0.009346, allocations: 163.5 kB / 332.8 MB, free: 15.7 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009346, allocations: 0 / 332.8 MB, free: 15.7 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001924/0.009538, allocations: 51.94 kB / 332.9 MB, free: 15.65 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.001305/0.01084, allocations: 0.6758 MB / 333.6 MB, free: 15.32 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001207/0.01096, allocations: 100.5 kB / 333.7 MB, free: 15.21 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.01097, allocations: 4.125 kB / 333.7 MB, free: 15.21 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.26e-05/0.01102, allocations: 60.7 kB / 333.7 MB, free: 15.15 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002635/0.01128, allocations: 74.27 kB / 333.8 MB, free: 15.08 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004888/0.01177, allocations: 0.517 MB / 334.3 MB, free: 14.52 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.81e-05/0.01183, allocations: 100.3 kB / 334.4 MB, free: 14.4 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.585e-05/0.0119, allocations: 37.92 kB / 334.5 MB, free: 14.37 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.234e-05/0.01199, allocations: 95.34 kB / 334.5 MB, free: 14.27 MB / 314.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01199, allocations: 0 / 334.5 MB, free: 14.27 MB / 314.7 MB Notification: Performance of Templates: time 0.004951/0.01694, allocations: 3.651 MB / 338.2 MB, free: 10.69 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.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.880851572845131]