Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.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.0008116/0.0008116, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001085/0.001896, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007224/0.0007224, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001167/0.001889, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.051/1.051, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1025/1.153, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.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.277/0.277, allocations: 34.25 MB / 278.2 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02626/0.3033, allocations: 13.1 MB / 291.3 MB, free: 7.371 MB / 282.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.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 292.7 MB, free: 6.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.82e-05/3.003e-05, allocations: 4.312 kB / 292.7 MB, free: 6.219 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.002542/0.002572, allocations: 1.811 MB / 294.5 MB, free: 4.395 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001259/0.003831, allocations: 1.014 MB / 295.5 MB, free: 3.375 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000118/0.003949, allocations: 3.938 kB / 295.5 MB, free: 3.371 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002893/0.004238, allocations: 39.77 kB / 295.6 MB, free: 3.332 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002872/0.004525, allocations: 99.41 kB / 295.7 MB, free: 3.234 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002189/0.004744, allocations: 83.66 kB / 295.8 MB, free: 3.152 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001851/0.004929, allocations: 111.6 kB / 295.9 MB, free: 3.043 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.564e-05/0.005015, allocations: 7.938 kB / 295.9 MB, free: 3.035 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00012/0.005135, allocations: 71.88 kB / 295.9 MB, free: 2.965 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.437e-05/0.005219, allocations: 31.84 kB / 296 MB, free: 2.934 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.005235, allocations: 4 kB / 296 MB, free: 2.93 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.109e-05/0.005326, allocations: 51.84 kB / 296 MB, free: 2.879 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001947/0.005521, allocations: 19.94 kB / 296.1 MB, free: 2.859 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.91e-05/0.00556, allocations: 11.94 kB / 296.1 MB, free: 2.848 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001911/0.005751, allocations: 95.67 kB / 296.2 MB, free: 2.754 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.953e-05/0.005771, allocations: 0 / 296.2 MB, free: 2.754 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.005772, allocations: 7.938 kB / 296.2 MB, free: 2.746 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.064e-05/0.005792, allocations: 0 / 296.2 MB, free: 2.746 MB / 282.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.0004888/0.006281, allocations: 337 kB / 296.5 MB, free: 2.395 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.006316, allocations: 12.02 kB / 296.5 MB, free: 2.383 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.367e-05/0.006349, allocations: 8.938 kB / 296.5 MB, free: 2.375 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001881/0.006537, allocations: 150.5 kB / 296.7 MB, free: 2.203 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.006557, allocations: 4.375 kB / 296.7 MB, free: 2.199 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.811e-05/0.006585, allocations: 12.34 kB / 296.7 MB, free: 2.188 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.006715, allocations: 61.77 kB / 296.7 MB, free: 2.117 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.006725, allocations: 3.938 kB / 296.7 MB, free: 2.113 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.083e-06/0.006732, allocations: 4 kB / 296.7 MB, free: 2.109 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.006737, allocations: 0 / 296.7 MB, free: 2.109 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.73e-05/0.006765, allocations: 12 kB / 296.8 MB, free: 2.098 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002115/0.006976, allocations: 165.9 kB / 296.9 MB, free: 1.918 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.944e-05/0.007066, allocations: 85.23 kB / 297 MB, free: 1.824 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.253e-05/0.007088, allocations: 24.91 kB / 297 MB, free: 1.797 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/0.0071, allocations: 0 / 297 MB, free: 1.797 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001232/0.007223, allocations: 70.09 kB / 297.1 MB, free: 1.715 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.007224, allocations: 4 kB / 297.1 MB, free: 1.711 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003455/0.00757, allocations: 105.6 kB / 297.2 MB, free: 1.602 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/0.007603, allocations: 51.41 kB / 297.3 MB, free: 1.539 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.007713, allocations: 180.8 kB / 297.4 MB, free: 1.348 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.007727, allocations: 33.7 kB / 297.5 MB, free: 1.309 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.081e-05/0.007758, allocations: 92.11 kB / 297.6 MB, free: 1.215 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.81e-05/0.007786, allocations: 31.72 kB / 297.6 MB, free: 1.184 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.404e-05/0.00782, allocations: 25.66 kB / 297.6 MB, free: 1.152 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.119e-05/0.007901, allocations: 326.8 kB / 297.9 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.92e-05/0.007921, allocations: 14.77 kB / 297.9 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.496e-05/0.007946, allocations: 29.7 kB / 298 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.073e-05/0.007986, allocations: 36.52 kB / 298 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.007987, allocations: 0 / 298 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.584e-05/0.008063, allocations: 76.44 kB / 298.1 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.008076, allocations: 8 kB / 298.1 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.008083, allocations: 3.984 kB / 298.1 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.357e-06/0.008092, allocations: 0 / 298.1 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.461e-05/0.008167, allocations: 16 kB / 298.1 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.00817, allocations: 3.938 kB / 298.1 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.796e-05/0.008198, allocations: 12.03 kB / 298.1 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.008205, allocations: 3.984 kB / 298.1 MB, free: 0.6016 MB / 282.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.561e-05/0.008271, allocations: 114.1 kB / 298.2 MB, free: 492 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.506e-05/0.008286, allocations: 19.92 kB / 298.3 MB, free: 472 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001073/0.008393, allocations: 75.06 kB / 298.3 MB, free: 392 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.008396, allocations: 0 / 298.3 MB, free: 392 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-06/0.008397, allocations: 0 / 298.3 MB, free: 392 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.257e-06/0.008401, allocations: 0 / 298.3 MB, free: 392 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000226/0.008627, allocations: 295.4 kB / 298.6 MB, free: 68 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.008629, allocations: 4.031 kB / 298.6 MB, free: 64 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.267e-05/0.008662, allocations: 12 kB / 298.6 MB, free: 52 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.028e-05/0.008672, allocations: 11.91 kB / 298.6 MB, free: 40 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.008674, allocations: 0 / 298.6 MB, free: 40 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.00868, allocations: 384 / 298.6 MB, free: 40 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.008682, allocations: 7.984 kB / 298.7 MB, free: 32 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.008683, allocations: 0 / 298.7 MB, free: 32 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000117/0.0088, allocations: 227 kB / 298.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.008816, allocations: 4 kB / 298.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.053e-05/0.008856, allocations: 4 kB / 298.9 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.355e-05/0.00888, allocations: 7.984 kB / 298.9 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.008893, allocations: 8 kB / 298.9 MB, free: 15.77 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.485e-05/0.008938, allocations: 51.64 kB / 299 MB, free: 15.71 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008938, allocations: 0 / 299 MB, free: 15.71 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001493/0.009087, allocations: 27.92 kB / 299 MB, free: 15.68 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.00143/0.01052, allocations: 0.644 MB / 299.6 MB, free: 15.4 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.145e-05/0.01061, allocations: 40.77 kB / 299.7 MB, free: 15.36 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.966e-06/0.01062, allocations: 4 kB / 299.7 MB, free: 15.35 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.275e-05/0.01065, allocations: 28.92 kB / 299.7 MB, free: 15.32 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001822/0.01083, allocations: 39.92 kB / 299.7 MB, free: 15.28 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007243/0.01156, allocations: 239.6 kB / 300 MB, free: 15.02 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.88e-05/0.0116, allocations: 75.45 kB / 300 MB, free: 14.92 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.625e-05/0.01163, allocations: 8.984 kB / 300 MB, free: 14.91 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.499e-05/0.0117, allocations: 71.36 kB / 300.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of SimCode: time 9.02e-07/0.0117, allocations: 0 / 300.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of Templates: time 0.003558/0.01526, allocations: 2.045 MB / 302.2 MB, free: 12.83 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.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.076026426628232]