Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.001102/0.001102, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001588/0.00269, 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.001059/0.001059, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001325/0.002384, 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 0.9424/0.9424, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09284/1.035, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.2745/0.2745, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03356/0.308, allocations: 13.1 MB / 291.3 MB, free: 7.375 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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 292.7 MB, free: 6.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.174e-05/3.35e-05, allocations: 4.312 kB / 292.7 MB, free: 6.227 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003029/0.003062, allocations: 1.881 MB / 294.6 MB, free: 4.332 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00174/0.004802, allocations: 1.096 MB / 295.7 MB, free: 3.23 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.511e-05/0.004897, allocations: 4 kB / 295.7 MB, free: 3.227 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004497/0.005347, allocations: 303 kB / 296 MB, free: 2.93 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004504/0.005798, allocations: 251 kB / 296.2 MB, free: 2.684 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000276/0.006074, allocations: 111.6 kB / 296.3 MB, free: 2.574 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003464/0.00642, allocations: 267.2 kB / 296.6 MB, free: 2.312 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.118e-05/0.006471, allocations: 6.469 kB / 296.6 MB, free: 2.309 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002992/0.00677, allocations: 224.1 kB / 296.8 MB, free: 2.09 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002271/0.006997, allocations: 168.1 kB / 297 MB, free: 1.926 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.41e-05/0.007022, allocations: 8 kB / 297 MB, free: 1.918 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.00713, allocations: 47.92 kB / 297 MB, free: 1.871 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001265/0.007257, allocations: 132.3 kB / 297.2 MB, free: 1.742 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.178e-05/0.007339, allocations: 55.69 kB / 297.2 MB, free: 1.688 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003498/0.007689, allocations: 274.9 kB / 297.5 MB, free: 1.418 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.796e-05/0.007707, allocations: 0 / 297.5 MB, free: 1.418 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.007708, allocations: 0 / 297.5 MB, free: 1.418 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.8e-05/0.007726, allocations: 0 / 297.5 MB, free: 1.418 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006962/0.008422, allocations: 0.682 MB / 298.2 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.09e-05/0.008453, allocations: 8.625 kB / 298.2 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.531e-05/0.008498, allocations: 28.91 kB / 298.2 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002631/0.008761, allocations: 305.8 kB / 298.5 MB, free: 356 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.008779, allocations: 8.375 kB / 298.5 MB, free: 348 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.937e-06/0.008788, allocations: 4.375 kB / 298.5 MB, free: 344 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.008923, allocations: 95.42 kB / 298.6 MB, free: 232 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.008931, allocations: 3.938 kB / 298.6 MB, free: 228 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-06/0.008939, allocations: 0 / 298.6 MB, free: 228 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.008945, allocations: 3.938 kB / 298.6 MB, free: 224 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.465e-05/0.008979, allocations: 21.58 kB / 298.6 MB, free: 200 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001324/0.009112, allocations: 118.3 kB / 298.8 MB, free: 60 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/0.009226, allocations: 78.86 kB / 298.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.707e-05/0.009253, allocations: 25.7 kB / 298.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.081e-05/0.009264, allocations: 4 kB / 298.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001245/0.009388, allocations: 99.83 kB / 299 MB, free: 15.81 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.002e-06/0.009389, allocations: 0 / 299 MB, free: 15.81 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001646/0.009554, allocations: 111.7 kB / 299.1 MB, free: 15.69 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/0.009591, allocations: 85.05 kB / 299.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003644/0.009956, allocations: 0.5907 MB / 299.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.009974, allocations: 33.7 kB / 299.8 MB, free: 14.95 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.359e-05/0.01003, allocations: 145.3 kB / 299.9 MB, free: 14.8 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.963e-05/0.01007, allocations: 31.77 kB / 300 MB, free: 14.77 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.715e-05/0.0101, allocations: 25.7 kB / 300 MB, free: 14.73 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.998e-05/0.0102, allocations: 366.7 kB / 300.3 MB, free: 14.37 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.54e-05/0.01023, allocations: 18.83 kB / 300.4 MB, free: 14.35 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.189e-05/0.01026, allocations: 40.91 kB / 300.4 MB, free: 14.3 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.022e-05/0.01032, allocations: 67.83 kB / 300.5 MB, free: 14.21 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.01032, allocations: 4 kB / 300.5 MB, free: 14.21 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001031/0.01043, allocations: 107.2 kB / 300.6 MB, free: 14.1 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.01044, allocations: 4 kB / 300.6 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.01045, allocations: 0 / 300.6 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.01046, allocations: 4 kB / 300.6 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.194e-05/0.01054, allocations: 31.86 kB / 300.6 MB, free: 14.06 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.01054, allocations: 0 / 300.6 MB, free: 14.06 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.816e-05/0.01059, allocations: 11.94 kB / 300.6 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.727e-06/0.0106, allocations: 8 kB / 300.6 MB, free: 14.04 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 9.007e-05/0.01069, allocations: 129.5 kB / 300.8 MB, free: 13.9 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.993e-05/0.01072, allocations: 31.95 kB / 300.8 MB, free: 13.87 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001399/0.01086, allocations: 122 kB / 300.9 MB, free: 13.74 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.01086, allocations: 0 / 300.9 MB, free: 13.74 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.01086, allocations: 7.938 kB / 300.9 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.01087, allocations: 3.984 kB / 300.9 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001295/0.011, allocations: 165.7 kB / 301.1 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.011, allocations: 0 / 301.1 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.303e-05/0.01103, allocations: 15.94 kB / 301.1 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.4e-05/0.01108, allocations: 55.64 kB / 301.2 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.01108, allocations: 7.938 kB / 301.2 MB, free: 13.47 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.01108, allocations: 3.984 kB / 301.2 MB, free: 13.47 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.01109, allocations: 4 kB / 301.2 MB, free: 13.46 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.01109, allocations: 3.938 kB / 301.2 MB, free: 13.46 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001104/0.0112, allocations: 127.2 kB / 301.3 MB, free: 13.31 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.542e-05/0.01123, allocations: 4 kB / 301.3 MB, free: 13.31 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4e-05/0.01127, allocations: 3.984 kB / 301.3 MB, free: 13.3 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.772e-05/0.01129, allocations: 11.98 kB / 301.3 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.01131, allocations: 7.938 kB / 301.3 MB, free: 13.29 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002026/0.01151, allocations: 319.2 kB / 301.6 MB, free: 12.97 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01151, allocations: 4 kB / 301.6 MB, free: 12.97 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001526/0.01166, allocations: 47.94 kB / 301.7 MB, free: 12.92 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.001202/0.01286, allocations: 0.5455 MB / 302.2 MB, free: 12.68 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001184/0.01298, allocations: 64.69 kB / 302.3 MB, free: 12.62 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.221e-05/0.013, allocations: 4 kB / 302.3 MB, free: 12.61 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.51e-05/0.01303, allocations: 32.78 kB / 302.3 MB, free: 12.58 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002115/0.01324, allocations: 98.53 kB / 302.4 MB, free: 12.49 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000754/0.014, allocations: 0.642 MB / 303.1 MB, free: 11.81 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.033e-05/0.01407, allocations: 132.2 kB / 303.2 MB, free: 11.66 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.686e-05/0.01413, allocations: 42.95 kB / 303.2 MB, free: 11.62 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.01424, allocations: 99.28 kB / 303.3 MB, free: 11.52 MB / 298.7 MB Notification: Performance of SimCode: time 8.61e-07/0.01424, allocations: 0 / 303.3 MB, free: 11.52 MB / 298.7 MB Notification: Performance of Templates: time 0.006392/0.02063, allocations: 4.31 MB / 307.6 MB, free: 7.293 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.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.0546967843547463]