Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.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.001308/0.001308, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002051/0.003359, 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.001212/0.001212, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00149/0.002703, 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.9374/0.9374, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08633/1.024, allocations: 53.64 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.2484/0.2484, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02721/0.2757, allocations: 13.1 MB / 291.3 MB, free: 7.359 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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 292.7 MB, free: 6.219 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.92e-05/2.035e-05, allocations: 3.078 kB / 292.7 MB, free: 6.215 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.002409/0.002429, allocations: 1.768 MB / 294.5 MB, free: 4.434 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002391/0.004821, allocations: 0.9982 MB / 295.5 MB, free: 3.43 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.791e-05/0.004899, allocations: 0 / 295.5 MB, free: 3.43 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000209/0.005108, allocations: 51.69 kB / 295.5 MB, free: 3.379 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002967/0.005404, allocations: 107.5 kB / 295.6 MB, free: 3.273 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002077/0.005612, allocations: 75.66 kB / 295.7 MB, free: 3.199 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001724/0.005784, allocations: 111.6 kB / 295.8 MB, free: 3.09 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.917e-05/0.005824, allocations: 4.234 kB / 295.8 MB, free: 3.086 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001443/0.005968, allocations: 79.8 kB / 295.9 MB, free: 3.008 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.73e-05/0.006055, allocations: 31.91 kB / 295.9 MB, free: 2.977 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.006069, allocations: 7.938 kB / 295.9 MB, free: 2.969 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.448e-05/0.006153, allocations: 35.92 kB / 296 MB, free: 2.934 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.397e-05/0.006197, allocations: 19.92 kB / 296 MB, free: 2.914 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.283e-05/0.00623, allocations: 11.94 kB / 296 MB, free: 2.902 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001639/0.006394, allocations: 83.62 kB / 296.1 MB, free: 2.82 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.38e-05/0.006408, allocations: 0 / 296.1 MB, free: 2.82 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.006409, allocations: 4 kB / 296.1 MB, free: 2.816 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.413e-05/0.006423, allocations: 0 / 296.1 MB, free: 2.816 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004303/0.006853, allocations: 321.2 kB / 296.4 MB, free: 2.48 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.006887, allocations: 12.03 kB / 296.4 MB, free: 2.469 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.115e-05/0.006918, allocations: 4.938 kB / 296.4 MB, free: 2.465 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/0.007079, allocations: 150.2 kB / 296.6 MB, free: 2.293 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.007093, allocations: 384 / 296.6 MB, free: 2.293 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.748e-06/0.007103, allocations: 4.375 kB / 296.6 MB, free: 2.289 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.007212, allocations: 65.75 kB / 296.6 MB, free: 2.215 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.00722, allocations: 3.938 kB / 296.6 MB, free: 2.211 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.023e-06/0.007227, allocations: 4 kB / 296.6 MB, free: 2.207 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.007231, allocations: 0 / 296.6 MB, free: 2.207 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.466e-05/0.007256, allocations: 4 kB / 296.6 MB, free: 2.203 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.189e-05/0.007348, allocations: 70.69 kB / 296.7 MB, free: 2.117 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.394e-05/0.007432, allocations: 41.38 kB / 296.8 MB, free: 2.066 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.962e-05/0.007451, allocations: 8.859 kB / 296.8 MB, free: 2.055 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.738e-06/0.007461, allocations: 0 / 296.8 MB, free: 2.055 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.302e-05/0.007554, allocations: 58.22 kB / 296.8 MB, free: 1.984 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 8.31e-07/0.007555, allocations: 0 / 296.8 MB, free: 1.984 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001249/0.00768, allocations: 69.8 kB / 296.9 MB, free: 1.91 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.235e-05/0.007712, allocations: 59.34 kB / 296.9 MB, free: 1.84 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.007825, allocations: 173 kB / 297.1 MB, free: 1.656 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.007839, allocations: 25.7 kB / 297.1 MB, free: 1.625 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.974e-05/0.007869, allocations: 96.05 kB / 297.2 MB, free: 1.527 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.837e-05/0.007897, allocations: 11.91 kB / 297.2 MB, free: 1.516 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.761e-05/0.007935, allocations: 21.7 kB / 297.3 MB, free: 1.488 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.287e-05/0.008017, allocations: 322.8 kB / 297.6 MB, free: 1.164 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.775e-05/0.008035, allocations: 10.81 kB / 297.6 MB, free: 1.152 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.343e-05/0.008059, allocations: 21.7 kB / 297.6 MB, free: 1.125 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.443e-05/0.008103, allocations: 43.3 kB / 297.7 MB, free: 1.074 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.008105, allocations: 0 / 297.7 MB, free: 1.074 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.996e-05/0.008185, allocations: 56.5 kB / 297.7 MB, free: 1.012 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.008198, allocations: 4 kB / 297.7 MB, free: 1.008 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.008203, allocations: 0 / 297.7 MB, free: 1.008 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.188e-06/0.008212, allocations: 4 kB / 297.7 MB, free: 1.004 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.533e-05/0.008277, allocations: 15.88 kB / 297.7 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-06/0.00828, allocations: 0 / 297.7 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.373e-05/0.008314, allocations: 7.938 kB / 297.7 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.00832, allocations: 12.02 kB / 297.8 MB, free: 0.9688 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 (7): * Single equations (assignments): 7 * 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.297e-05/0.008383, allocations: 112.7 kB / 297.9 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.233e-05/0.008396, allocations: 4 kB / 297.9 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.33e-05/0.008489, allocations: 66.83 kB / 297.9 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.008491, allocations: 0 / 297.9 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.008494, allocations: 3.938 kB / 297.9 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.008497, allocations: 0 / 297.9 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.224e-05/0.008579, allocations: 93.73 kB / 298 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.008581, allocations: 0 / 298 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.395e-05/0.008605, allocations: 8 kB / 298 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.359e-05/0.008618, allocations: 11.95 kB / 298 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.00862, allocations: 0 / 298 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.2e-06/0.008625, allocations: 192 / 298 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.008627, allocations: 4 kB / 298.1 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.008629, allocations: 3.938 kB / 298.1 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.712e-05/0.008707, allocations: 86.77 kB / 298.1 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.008722, allocations: 0 / 298.1 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.402e-05/0.008746, allocations: 3.984 kB / 298.1 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.354e-05/0.00877, allocations: 7.984 kB / 298.2 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.00878, allocations: 0 / 298.2 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.741e-05/0.008827, allocations: 52.28 kB / 298.2 MB, free: 472 kB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.008828, allocations: 11.88 kB / 298.2 MB, free: 460 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001642/0.008992, allocations: 23.94 kB / 298.2 MB, free: 436 kB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001457/0.01045, allocations: 0.542 MB / 298.8 MB, free: 196 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.32e-05/0.01054, allocations: 32.84 kB / 298.8 MB, free: 160 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.477e-06/0.01055, allocations: 4 kB / 298.8 MB, free: 156 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.168e-05/0.01058, allocations: 24.78 kB / 298.8 MB, free: 128 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001321/0.01072, allocations: 38.42 kB / 298.9 MB, free: 92 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004177/0.01113, allocations: 195.3 kB / 299.1 MB, free: 15.87 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.277e-05/0.01117, allocations: 63.34 kB / 299.1 MB, free: 15.79 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.165e-05/0.0112, allocations: 12.48 kB / 299.1 MB, free: 15.78 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.587e-05/0.01125, allocations: 67.36 kB / 299.2 MB, free: 15.71 MB / 298.7 MB Notification: Performance of SimCode: time 8.82e-07/0.01125, allocations: 0 / 299.2 MB, free: 15.71 MB / 298.7 MB Notification: Performance of Templates: time 0.003249/0.0145, allocations: 1.795 MB / 301 MB, free: 13.95 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.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.8571392679587007]