Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.000897/0.000897, 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.0009648/0.0009648, allocations: 171.5 kB / 24.91 MB, free: 8.77 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.9555/0.9555, 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.2379/0.2379, allocations: 32.81 MB / 294.6 MB, free: 1.238 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.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.0.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.0.0_ModelicaTest.Tables.CombiTimeTable.Test77") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 323.3 MB, free: 9.605 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.673e-05/2.869e-05, allocations: 6.25 kB / 323.3 MB, free: 9.598 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.002715/0.002743, allocations: 1.92 MB / 325.2 MB, free: 7.664 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00151/0.004253, allocations: 1.115 MB / 326.4 MB, free: 6.543 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.004359, allocations: 0 / 326.4 MB, free: 6.543 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003697/0.004729, allocations: 159.3 kB / 326.5 MB, free: 6.387 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004077/0.005136, allocations: 191.2 kB / 326.7 MB, free: 6.199 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002631/0.005399, allocations: 119.5 kB / 326.8 MB, free: 6.082 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002617/0.005661, allocations: 255.2 kB / 327.1 MB, free: 5.832 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.851e-05/0.00576, allocations: 23.22 kB / 327.1 MB, free: 5.812 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001553/0.005915, allocations: 135.6 kB / 327.2 MB, free: 5.68 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001439/0.006059, allocations: 115.7 kB / 327.3 MB, free: 5.566 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.123e-05/0.00608, allocations: 8 kB / 327.3 MB, free: 5.559 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/0.006199, allocations: 63.92 kB / 327.4 MB, free: 5.496 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.408e-05/0.006263, allocations: 55.77 kB / 327.5 MB, free: 5.441 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.494e-05/0.006318, allocations: 47.78 kB / 327.5 MB, free: 5.395 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002293/0.006547, allocations: 183.2 kB / 327.7 MB, free: 5.215 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.006551, allocations: 0 / 327.7 MB, free: 5.215 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.006553, allocations: 0 / 327.7 MB, free: 5.215 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.006558, allocations: 0 / 327.7 MB, free: 5.215 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.0004648/0.007023, allocations: 464.2 kB / 328.1 MB, free: 4.738 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.007056, allocations: 8.031 kB / 328.2 MB, free: 4.73 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.943e-05/0.007095, allocations: 20.92 kB / 328.2 MB, free: 4.711 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000217/0.007312, allocations: 197.9 kB / 328.4 MB, free: 4.492 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.007331, allocations: 8.375 kB / 328.4 MB, free: 4.484 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.278e-05/0.007353, allocations: 4.375 kB / 328.4 MB, free: 4.48 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.007508, allocations: 126.1 kB / 328.5 MB, free: 4.344 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.007518, allocations: 3.938 kB / 328.5 MB, free: 4.34 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.007526, allocations: 0 / 328.5 MB, free: 4.34 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.007531, allocations: 4 kB / 328.5 MB, free: 4.336 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.117e-05/0.007572, allocations: 33.62 kB / 328.5 MB, free: 4.301 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002961/0.007868, allocations: 304.8 kB / 328.8 MB, free: 3.98 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002051/0.008073, allocations: 178.8 kB / 329 MB, free: 3.785 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.191e-05/0.008105, allocations: 29.66 kB / 329 MB, free: 3.75 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.422e-05/0.008119, allocations: 3.938 kB / 329 MB, free: 3.746 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001203/0.00824, allocations: 114.2 kB / 329.2 MB, free: 3.617 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.453e-06/0.008241, allocations: 4 kB / 329.2 MB, free: 3.613 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006128/0.008854, allocations: 312.8 kB / 329.5 MB, free: 3.301 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.008898, allocations: 85.09 kB / 329.6 MB, free: 3.199 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/0.009077, allocations: 288.6 kB / 329.8 MB, free: 2.902 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.009095, allocations: 29.7 kB / 329.9 MB, free: 2.867 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.349e-05/0.009139, allocations: 117.2 kB / 330 MB, free: 2.746 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.878e-05/0.009188, allocations: 71.39 kB / 330 MB, free: 2.676 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.259e-05/0.00924, allocations: 45.69 kB / 330.1 MB, free: 2.621 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.045e-05/0.009331, allocations: 346.7 kB / 330.4 MB, free: 2.273 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.555e-05/0.009366, allocations: 26.81 kB / 330.5 MB, free: 2.246 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.655e-05/0.009413, allocations: 51.41 kB / 330.5 MB, free: 2.184 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.112e-05/0.009504, allocations: 108.1 kB / 330.6 MB, free: 2.066 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.009506, allocations: 0 / 330.6 MB, free: 2.066 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001348/0.009641, allocations: 135.2 kB / 330.7 MB, free: 1.926 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.009655, allocations: 4 kB / 330.7 MB, free: 1.922 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.009662, allocations: 4 kB / 330.8 MB, free: 1.918 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.009676, allocations: 4.062 kB / 330.8 MB, free: 1.914 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.812e-05/0.009764, allocations: 43.92 kB / 330.8 MB, free: 1.871 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.009769, allocations: 4 kB / 330.8 MB, free: 1.867 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.451e-05/0.009814, allocations: 15.92 kB / 330.8 MB, free: 1.852 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.009824, allocations: 7.938 kB / 330.8 MB, free: 1.844 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 8.851e-05/0.009913, allocations: 124.7 kB / 330.9 MB, free: 1.711 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.78e-05/0.00994, allocations: 31.91 kB / 331 MB, free: 1.68 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000188/0.01013, allocations: 157.9 kB / 331.1 MB, free: 1.52 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.01013, allocations: 0 / 331.1 MB, free: 1.52 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.01013, allocations: 8 kB / 331.1 MB, free: 1.512 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.01014, allocations: 0 / 331.1 MB, free: 1.512 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004379/0.01057, allocations: 0.5555 MB / 331.7 MB, free: 0.918 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.01058, allocations: 0 / 331.7 MB, free: 0.918 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.324e-05/0.01063, allocations: 27.98 kB / 331.7 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.219e-06/0.01064, allocations: 11.88 kB / 331.7 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.01065, allocations: 11.98 kB / 331.7 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.01065, allocations: 3.938 kB / 331.7 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.01065, allocations: 8.125 kB / 331.8 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001986/0.01085, allocations: 403.2 kB / 332.2 MB, free: 444 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.53e-05/0.01088, allocations: 31.73 kB / 332.2 MB, free: 412 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/0.0109, allocations: 11.98 kB / 332.2 MB, free: 400 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.234e-05/0.01098, allocations: 8 kB / 332.2 MB, free: 392 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.853e-05/0.01102, allocations: 19.97 kB / 332.2 MB, free: 372 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.978e-05/0.01104, allocations: 11.98 kB / 332.2 MB, free: 360 kB / 298.7 MB Notification: Performance of sorting global known variables: time 9.221e-05/0.01113, allocations: 115.5 kB / 332.3 MB, free: 244 kB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01113, allocations: 0 / 332.3 MB, free: 244 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002148/0.01134, allocations: 51.94 kB / 332.4 MB, free: 192 kB / 298.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.001443/0.01279, allocations: 0.6634 MB / 333.1 MB, free: 15.86 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001933/0.01298, allocations: 108.5 kB / 333.2 MB, free: 15.75 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.01298, allocations: 0 / 333.2 MB, free: 15.75 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.945e-05/0.01304, allocations: 60.72 kB / 333.2 MB, free: 15.69 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.01336, allocations: 75.97 kB / 333.3 MB, free: 15.62 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005494/0.01391, allocations: 457.6 kB / 333.7 MB, free: 15.13 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.217e-05/0.01397, allocations: 88.33 kB / 333.8 MB, free: 15.02 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.065e-05/0.01405, allocations: 37.92 kB / 333.9 MB, free: 14.98 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/0.01417, allocations: 103.3 kB / 334 MB, free: 14.88 MB / 314.7 MB Notification: Performance of SimCode: time 1.142e-06/0.01417, allocations: 3.938 kB / 334 MB, free: 14.88 MB / 314.7 MB Notification: Performance of Templates: time 0.005648/0.01981, allocations: 3.615 MB / 337.6 MB, free: 11.32 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.9996290360577404]