Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.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.001276/0.001276, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001612/0.002888, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.001073/0.001073, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001342/0.002415, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9586/0.9586, allocations: 158.6 MB / 171 MB, free: 2.184 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1752/1.134, allocations: 49.49 MB / 220.5 MB, free: 5.27 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1246/0.1246, allocations: 32.34 MB / 253.6 MB, free: 4.172 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02244/0.147, allocations: 12.3 MB / 265.9 MB, free: 7.836 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.173e-06/1.173e-06, allocations: 0 / 267.3 MB, free: 6.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.227e-05/2.344e-05, allocations: 10.25 kB / 267.3 MB, free: 6.453 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.003546/0.00357, allocations: 1.778 MB / 269.1 MB, free: 4.656 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002272/0.005841, allocations: 0.7998 MB / 269.9 MB, free: 3.848 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.899e-05/0.00591, allocations: 0 / 269.9 MB, free: 3.848 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002137/0.006124, allocations: 47.69 kB / 269.9 MB, free: 3.801 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001661/0.00629, allocations: 59.64 kB / 270 MB, free: 3.742 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002091/0.006499, allocations: 83.69 kB / 270.1 MB, free: 3.66 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001429/0.006642, allocations: 91.72 kB / 270.1 MB, free: 3.57 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.307e-05/0.006715, allocations: 12.22 kB / 270.2 MB, free: 3.559 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/0.006841, allocations: 79.77 kB / 270.2 MB, free: 3.48 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.983e-05/0.006911, allocations: 19.92 kB / 270.3 MB, free: 3.461 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.006927, allocations: 4 kB / 270.3 MB, free: 3.457 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.867e-05/0.007016, allocations: 47.91 kB / 270.3 MB, free: 3.41 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.045e-05/0.007056, allocations: 19.92 kB / 270.3 MB, free: 3.391 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.473e-05/0.007091, allocations: 11.94 kB / 270.3 MB, free: 3.379 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003169/0.01026, allocations: 95.61 kB / 270.4 MB, free: 3.285 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.478e-05/0.01027, allocations: 0 / 270.4 MB, free: 3.285 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.01028, allocations: 3.938 kB / 270.4 MB, free: 3.281 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.396e-05/0.01029, allocations: 8 kB / 270.4 MB, free: 3.273 MB / 266.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.0004347/0.01072, allocations: 323.9 kB / 270.8 MB, free: 2.934 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.083e-05/0.01075, allocations: 12.03 kB / 270.8 MB, free: 2.922 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.198e-05/0.01079, allocations: 4.938 kB / 270.8 MB, free: 2.918 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000156/0.01094, allocations: 145.5 kB / 270.9 MB, free: 2.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.01096, allocations: 4.375 kB / 270.9 MB, free: 2.746 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.658e-05/0.01098, allocations: 384 / 270.9 MB, free: 2.746 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.01109, allocations: 65.75 kB / 271 MB, free: 2.672 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.0111, allocations: 7.938 kB / 271 MB, free: 2.664 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.873e-06/0.01111, allocations: 0 / 271 MB, free: 2.664 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.01111, allocations: 7.938 kB / 271 MB, free: 2.656 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.651e-05/0.01114, allocations: 4 kB / 271 MB, free: 2.652 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002392/0.01138, allocations: 170 kB / 271.2 MB, free: 2.469 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.01149, allocations: 89.28 kB / 271.3 MB, free: 2.371 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.305e-05/0.01151, allocations: 8.859 kB / 271.3 MB, free: 2.359 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.01153, allocations: 7.984 kB / 271.3 MB, free: 2.352 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001158/0.01164, allocations: 74.09 kB / 271.3 MB, free: 2.266 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.412e-06/0.01164, allocations: 0 / 271.3 MB, free: 2.266 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003276/0.01197, allocations: 109.5 kB / 271.5 MB, free: 2.152 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.01201, allocations: 63.33 kB / 271.5 MB, free: 2.078 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.01214, allocations: 164.3 kB / 271.7 MB, free: 1.902 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.01215, allocations: 25.7 kB / 271.7 MB, free: 1.871 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.254e-05/0.01218, allocations: 92.08 kB / 271.8 MB, free: 1.777 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.855e-05/0.01221, allocations: 27.83 kB / 271.8 MB, free: 1.75 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-05/0.01225, allocations: 21.72 kB / 271.8 MB, free: 1.723 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.122e-05/0.01233, allocations: 326.8 kB / 272.2 MB, free: 1.395 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.038e-05/0.01235, allocations: 10.81 kB / 272.2 MB, free: 1.383 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.478e-05/0.01238, allocations: 21.72 kB / 272.2 MB, free: 1.355 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.206e-05/0.01243, allocations: 56.5 kB / 272.2 MB, free: 1.293 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.01243, allocations: 0 / 272.2 MB, free: 1.293 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.05e-05/0.01252, allocations: 72.39 kB / 272.3 MB, free: 1.215 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.01253, allocations: 7.984 kB / 272.3 MB, free: 1.207 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.01254, allocations: 3.984 kB / 272.3 MB, free: 1.203 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.165e-06/0.01255, allocations: 0 / 272.3 MB, free: 1.203 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.307e-05/0.01262, allocations: 16 kB / 272.3 MB, free: 1.188 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.495e-06/0.01262, allocations: 0 / 272.3 MB, free: 1.188 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.442e-05/0.01266, allocations: 11.92 kB / 272.4 MB, free: 1.176 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.01266, allocations: 4.031 kB / 272.4 MB, free: 1.172 MB / 266.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.352e-05/0.01273, allocations: 116.7 kB / 272.5 MB, free: 1.047 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.569e-05/0.01274, allocations: 11.92 kB / 272.5 MB, free: 1.035 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001064/0.01285, allocations: 78.39 kB / 272.6 MB, free: 0.957 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.01285, allocations: 0 / 272.6 MB, free: 0.957 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.01285, allocations: 0 / 272.6 MB, free: 0.957 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.01285, allocations: 0 / 272.6 MB, free: 0.957 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002338/0.01309, allocations: 291.4 kB / 272.8 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.01309, allocations: 0 / 272.8 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.434e-05/0.01312, allocations: 11.98 kB / 272.9 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.403e-05/0.01314, allocations: 19.94 kB / 272.9 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.01314, allocations: 0 / 272.9 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.67e-06/0.01315, allocations: 4 kB / 272.9 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.01315, allocations: 3.938 kB / 272.9 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.01315, allocations: 0 / 272.9 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001114/0.01326, allocations: 211 kB / 273.1 MB, free: 388 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/0.01328, allocations: 8.375 kB / 273.1 MB, free: 380 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.542e-05/0.01334, allocations: 0 / 273.1 MB, free: 380 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.817e-05/0.01336, allocations: 15.86 kB / 273.1 MB, free: 364 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.01338, allocations: 8 kB / 273.1 MB, free: 356 kB / 266.7 MB Notification: Performance of sorting global known variables: time 4.546e-05/0.01342, allocations: 52.52 kB / 273.2 MB, free: 300 kB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01342, allocations: 0 / 273.2 MB, free: 300 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001986/0.01362, allocations: 20 kB / 273.2 MB, free: 280 kB / 266.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.004773/0.01839, allocations: 0.6361 MB / 273.8 MB, free: 15.62 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001025/0.0185, allocations: 48.77 kB / 273.9 MB, free: 15.57 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/0.0185, allocations: 4 kB / 273.9 MB, free: 15.57 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.257e-05/0.01854, allocations: 24.78 kB / 273.9 MB, free: 15.54 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.01876, allocations: 47.81 kB / 274 MB, free: 15.49 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004748/0.01923, allocations: 218.6 kB / 274.2 MB, free: 15.25 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.532e-05/0.01928, allocations: 67.33 kB / 274.2 MB, free: 15.16 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.714e-05/0.01932, allocations: 12.62 kB / 274.2 MB, free: 15.15 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.053e-05/0.01939, allocations: 71.36 kB / 274.3 MB, free: 15.08 MB / 282.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01939, allocations: 0 / 274.3 MB, free: 15.08 MB / 282.7 MB Notification: Performance of Templates: time 0.01066/0.03005, allocations: 2.029 MB / 276.3 MB, free: 13.05 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.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.8165867859497666]