Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0007961/0.0007961, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001092/0.001889, allocations: 452 kB / 10.43 MB, free: 264 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.000734/0.000734, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001108/0.001842, allocations: 483.5 kB / 11.8 MB, free: 2.363 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.9163/0.9163, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1527/1.069, allocations: 49.5 MB / 220.7 MB, free: 1.355 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.1487/0.1487, allocations: 32.36 MB / 253.8 MB, free: 224 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02174/0.1705, allocations: 12.31 MB / 266.1 MB, free: 3.871 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.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",fileNamePrefix="ModelicaTest_3.2.3_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",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 267.5 MB, free: 2.48 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.147e-05/2.272e-05, allocations: 6.25 kB / 267.5 MB, free: 2.473 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.002407/0.00243, allocations: 1.906 MB / 269.4 MB, free: 0.543 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00107/0.0035, allocations: 0.9126 MB / 270.3 MB, free: 15.62 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.53e-05/0.003585, allocations: 3.938 kB / 270.3 MB, free: 15.62 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002697/0.003855, allocations: 163.3 kB / 270.5 MB, free: 15.46 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002047/0.00406, allocations: 155.4 kB / 270.6 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002287/0.004288, allocations: 143.6 kB / 270.8 MB, free: 15.16 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002162/0.004505, allocations: 219.2 kB / 271 MB, free: 14.95 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.107e-05/0.004596, allocations: 18.45 kB / 271 MB, free: 14.93 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001778/0.004774, allocations: 172.3 kB / 271.2 MB, free: 14.77 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001196/0.004893, allocations: 103.8 kB / 271.3 MB, free: 14.66 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.248e-05/0.004916, allocations: 8 kB / 271.3 MB, free: 14.66 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.707e-05/0.004993, allocations: 43.86 kB / 271.3 MB, free: 14.61 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.229e-05/0.005045, allocations: 51.8 kB / 271.4 MB, free: 14.56 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.806e-05/0.005083, allocations: 31.88 kB / 271.4 MB, free: 14.53 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001721/0.005255, allocations: 143.4 kB / 271.5 MB, free: 14.39 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.052e-05/0.005266, allocations: 3.938 kB / 271.5 MB, free: 14.39 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.005266, allocations: 3.938 kB / 271.5 MB, free: 14.38 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.358e-06/0.005276, allocations: 0 / 271.5 MB, free: 14.38 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000475/0.005751, allocations: 463 kB / 272 MB, free: 13.91 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.879e-05/0.00578, allocations: 11.89 kB / 272 MB, free: 13.89 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.716e-05/0.005817, allocations: 20.92 kB / 272 MB, free: 13.88 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001704/0.005987, allocations: 184.9 kB / 272.2 MB, free: 13.67 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.006001, allocations: 4.375 kB / 272.2 MB, free: 13.67 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.093e-05/0.006022, allocations: 8.312 kB / 272.2 MB, free: 13.66 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.006155, allocations: 107.4 kB / 272.3 MB, free: 13.54 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.006164, allocations: 3.938 kB / 272.3 MB, free: 13.54 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.006172, allocations: 0 / 272.3 MB, free: 13.54 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.006177, allocations: 3.938 kB / 272.3 MB, free: 13.53 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.677e-05/0.006214, allocations: 25.62 kB / 272.3 MB, free: 13.5 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002574/0.006471, allocations: 292.8 kB / 272.6 MB, free: 13.2 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/0.006603, allocations: 174.6 kB / 272.8 MB, free: 13 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.025e-05/0.006634, allocations: 29.64 kB / 272.8 MB, free: 12.97 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.18e-05/0.006645, allocations: 4 kB / 272.8 MB, free: 12.96 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001213/0.006767, allocations: 107.8 kB / 272.9 MB, free: 12.84 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.392e-06/0.006768, allocations: 0 / 272.9 MB, free: 12.84 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003844/0.007152, allocations: 210.9 kB / 273.1 MB, free: 12.62 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.007189, allocations: 81.11 kB / 273.2 MB, free: 12.53 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.007344, allocations: 276.7 kB / 273.5 MB, free: 12.24 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.007361, allocations: 33.7 kB / 273.5 MB, free: 12.2 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.631e-05/0.007397, allocations: 105 kB / 273.6 MB, free: 12.09 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.728e-05/0.007434, allocations: 55.59 kB / 273.7 MB, free: 12.04 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.013e-05/0.007474, allocations: 33.7 kB / 273.7 MB, free: 12 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.443e-05/0.007559, allocations: 334.8 kB / 274 MB, free: 11.66 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.605e-05/0.007585, allocations: 18.81 kB / 274.1 MB, free: 11.64 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.833e-05/0.007623, allocations: 55.3 kB / 274.1 MB, free: 11.58 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.727e-05/0.007691, allocations: 84.91 kB / 274.2 MB, free: 11.48 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.007692, allocations: 4 kB / 274.2 MB, free: 11.48 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001041/0.007796, allocations: 115.2 kB / 274.3 MB, free: 11.36 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.007808, allocations: 4 kB / 274.3 MB, free: 11.35 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.007813, allocations: 4 kB / 274.3 MB, free: 11.35 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.768e-06/0.007823, allocations: 0 / 274.3 MB, free: 11.35 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.785e-05/0.00791, allocations: 35.92 kB / 274.4 MB, free: 11.31 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.007915, allocations: 4 kB / 274.4 MB, free: 11.31 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4e-05/0.007955, allocations: 11.98 kB / 274.4 MB, free: 11.3 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.007962, allocations: 4 kB / 274.4 MB, free: 11.29 MB / 282.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 (20): * Single equations (assignments): 20 * 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.931e-05/0.008031, allocations: 132.7 kB / 274.5 MB, free: 11.15 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.002e-05/0.008051, allocations: 19.92 kB / 274.5 MB, free: 11.13 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001381/0.008189, allocations: 139.5 kB / 274.7 MB, free: 10.99 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.008192, allocations: 0 / 274.7 MB, free: 10.99 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.008195, allocations: 7.984 kB / 274.7 MB, free: 10.98 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.008199, allocations: 0 / 274.7 MB, free: 10.98 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003117/0.008511, allocations: 499.3 kB / 275.2 MB, free: 10.46 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.008512, allocations: 0 / 275.2 MB, free: 10.46 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.626e-05/0.008559, allocations: 28.73 kB / 275.2 MB, free: 10.44 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.621e-05/0.008575, allocations: 19.92 kB / 275.2 MB, free: 10.42 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.008579, allocations: 4 kB / 275.2 MB, free: 10.41 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.008586, allocations: 0 / 275.2 MB, free: 10.41 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.00859, allocations: 11.92 kB / 275.2 MB, free: 10.4 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.008593, allocations: 4 kB / 275.2 MB, free: 10.4 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001719/0.008765, allocations: 375.1 kB / 275.6 MB, free: 10.01 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.189e-05/0.008787, allocations: 8 kB / 275.6 MB, free: 10 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.984e-05/0.008857, allocations: 11.98 kB / 275.6 MB, free: 9.988 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.008892, allocations: 11.92 kB / 275.6 MB, free: 9.977 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.008907, allocations: 15.92 kB / 275.6 MB, free: 9.961 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.792e-05/0.008985, allocations: 111.5 kB / 275.8 MB, free: 9.848 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008985, allocations: 0 / 275.8 MB, free: 9.848 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001823/0.009167, allocations: 43.98 kB / 275.8 MB, free: 9.805 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (18): * Single equations (assignments): 14 * 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.001235/0.0104, allocations: 0.6364 MB / 276.4 MB, free: 9.152 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001331/0.01054, allocations: 84.67 kB / 276.5 MB, free: 9.066 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.107e-06/0.01054, allocations: 4 kB / 276.5 MB, free: 9.062 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.188e-05/0.01061, allocations: 60.7 kB / 276.6 MB, free: 9 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003764/0.01098, allocations: 353.8 kB / 276.9 MB, free: 8.59 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005921/0.01157, allocations: 392.6 kB / 277.3 MB, free: 8.172 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.837e-05/0.01164, allocations: 83.97 kB / 277.4 MB, free: 8.07 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.23e-05/0.01171, allocations: 34.55 kB / 277.4 MB, free: 8.039 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.01181, allocations: 83.36 kB / 277.5 MB, free: 7.957 MB / 282.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01181, allocations: 0 / 277.5 MB, free: 7.957 MB / 282.7 MB Notification: Performance of Templates: time 0.004906/0.01672, allocations: 3.221 MB / 280.7 MB, free: 4.734 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.831009142100811]