Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008737/0.0008737, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001127/0.002001, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007006/0.0007006, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009873/0.001688, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9575/0.9575, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1927/1.15, allocations: 52.49 MB / 238.5 MB, free: 7.625 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1378/0.1378, allocations: 32.8 MB / 272 MB, free: 6.297 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02318/0.161, allocations: 12.54 MB / 284.5 MB, free: 9.707 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 285.9 MB, free: 8.336 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.194e-05/2.327e-05, allocations: 2.312 kB / 285.9 MB, free: 8.332 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.005885/0.005909, allocations: 1.861 MB / 287.8 MB, free: 6.461 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001978/0.007887, allocations: 1.722 MB / 289.5 MB, free: 4.73 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.41e-05/0.007961, allocations: 0 / 289.5 MB, free: 4.73 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001988/0.00816, allocations: 47.59 kB / 289.6 MB, free: 4.684 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002196/0.00838, allocations: 95.47 kB / 289.6 MB, free: 4.59 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003696/0.008749, allocations: 179.3 kB / 289.8 MB, free: 4.414 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000223/0.008972, allocations: 191.3 kB / 290 MB, free: 4.227 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.087e-05/0.009013, allocations: 6.469 kB / 290 MB, free: 4.223 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001836/0.009197, allocations: 136.4 kB / 290.1 MB, free: 4.09 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001343/0.009331, allocations: 55.81 kB / 290.2 MB, free: 4.035 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.328e-05/0.009354, allocations: 8 kB / 290.2 MB, free: 4.027 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001431/0.009497, allocations: 71.83 kB / 290.3 MB, free: 3.957 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.065e-05/0.009548, allocations: 23.88 kB / 290.3 MB, free: 3.934 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.005e-05/0.009588, allocations: 23.94 kB / 290.3 MB, free: 3.91 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002108/0.009799, allocations: 147.4 kB / 290.5 MB, free: 3.766 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.116e-05/0.00981, allocations: 4 kB / 290.5 MB, free: 3.762 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.009811, allocations: 0 / 290.5 MB, free: 3.762 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.009818, allocations: 0 / 290.5 MB, free: 3.762 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.0004779/0.0103, allocations: 391.5 kB / 290.9 MB, free: 3.355 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.01033, allocations: 8.031 kB / 290.9 MB, free: 3.348 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.245e-05/0.01037, allocations: 12.92 kB / 290.9 MB, free: 3.336 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001961/0.01057, allocations: 177.2 kB / 291.1 MB, free: 3.137 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.01058, allocations: 4.375 kB / 291.1 MB, free: 3.133 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.423e-05/0.0106, allocations: 4.375 kB / 291.1 MB, free: 3.129 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.01076, allocations: 164.6 kB / 291.2 MB, free: 2.934 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.01077, allocations: 3.938 kB / 291.2 MB, free: 2.93 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.01078, allocations: 3.984 kB / 291.2 MB, free: 2.926 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.01079, allocations: 0 / 291.2 MB, free: 2.926 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.632e-05/0.01082, allocations: 25.58 kB / 291.3 MB, free: 2.898 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001056/0.01093, allocations: 90.33 kB / 291.3 MB, free: 2.789 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/0.01104, allocations: 74.86 kB / 291.4 MB, free: 2.695 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.279e-05/0.01107, allocations: 29.66 kB / 291.4 MB, free: 2.66 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.159e-05/0.01108, allocations: 4 kB / 291.4 MB, free: 2.656 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001212/0.01121, allocations: 95.88 kB / 291.5 MB, free: 2.543 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 8.22e-07/0.01121, allocations: 0 / 291.5 MB, free: 2.543 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.003182/0.01439, allocations: 95.25 kB / 291.6 MB, free: 2.441 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/0.01442, allocations: 81.05 kB / 291.7 MB, free: 2.344 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.01458, allocations: 202.2 kB / 291.9 MB, free: 2.129 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.0146, allocations: 29.64 kB / 291.9 MB, free: 2.094 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.489e-05/0.01463, allocations: 100.1 kB / 292 MB, free: 1.992 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.774e-05/0.01467, allocations: 27.75 kB / 292.1 MB, free: 1.965 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.447e-05/0.01471, allocations: 37.69 kB / 292.1 MB, free: 1.922 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.063e-05/0.0148, allocations: 330.8 kB / 292.4 MB, free: 1.59 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.29e-05/0.01484, allocations: 18.81 kB / 292.4 MB, free: 1.57 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.537e-05/0.0149, allocations: 100.5 kB / 292.5 MB, free: 1.441 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.444e-05/0.01498, allocations: 71.81 kB / 292.6 MB, free: 1.355 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.01498, allocations: 0 / 292.6 MB, free: 1.355 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001219/0.0151, allocations: 91.88 kB / 292.7 MB, free: 1.258 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.01512, allocations: 8.094 kB / 292.7 MB, free: 1.25 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.984e-06/0.01512, allocations: 11.94 kB / 292.7 MB, free: 1.238 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.01513, allocations: 0 / 292.7 MB, free: 1.238 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.506e-05/0.01523, allocations: 31.86 kB / 292.8 MB, free: 1.207 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.01523, allocations: 0 / 292.8 MB, free: 1.207 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.527e-05/0.01529, allocations: 8 kB / 292.8 MB, free: 1.199 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-06/0.01529, allocations: 0 / 292.8 MB, free: 1.199 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_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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 7.825e-05/0.01537, allocations: 133.1 kB / 292.9 MB, free: 1.059 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.34e-05/0.0154, allocations: 11.98 kB / 292.9 MB, free: 1.047 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001333/0.01553, allocations: 94.73 kB / 293 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.01553, allocations: 4 kB / 293 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.01553, allocations: 3.938 kB / 293 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.01554, allocations: 0 / 293 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.01565, allocations: 105.8 kB / 293.1 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.01565, allocations: 0 / 293.1 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.812e-05/0.01569, allocations: 15.92 kB / 293.1 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.757e-05/0.0157, allocations: 15.91 kB / 293.1 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.01571, allocations: 0 / 293.1 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.01571, allocations: 0 / 293.1 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.01572, allocations: 4 kB / 293.1 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.01572, allocations: 7.938 kB / 293.1 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001187/0.01584, allocations: 130.3 kB / 293.3 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.199e-05/0.01586, allocations: 0 / 293.3 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.233e-05/0.0159, allocations: 8 kB / 293.3 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.089e-05/0.01593, allocations: 15.86 kB / 293.3 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.01595, allocations: 12.05 kB / 293.3 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.04e-05/0.01602, allocations: 68.89 kB / 293.4 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01602, allocations: 0 / 293.4 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002036/0.01622, allocations: 39.92 kB / 293.4 MB, free: 488 kB / 282.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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,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 (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.004522/0.02074, allocations: 0.607 MB / 294 MB, free: 172 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001262/0.02087, allocations: 64.7 kB / 294.1 MB, free: 104 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/0.02088, allocations: 0 / 294.1 MB, free: 104 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.41e-05/0.02093, allocations: 41.03 kB / 294.1 MB, free: 60 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005596/0.02149, allocations: 352.8 kB / 294.5 MB, free: 15.66 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005046/0.022, allocations: 259.6 kB / 294.7 MB, free: 15.38 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.758e-05/0.02203, allocations: 68 kB / 294.8 MB, free: 15.29 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.344e-05/0.02211, allocations: 38.19 kB / 294.8 MB, free: 15.26 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.02224, allocations: 107.2 kB / 294.9 MB, free: 15.15 MB / 298.7 MB Notification: Performance of SimCode: time 7.11e-07/0.02224, allocations: 0 / 294.9 MB, free: 15.15 MB / 298.7 MB Notification: Performance of Templates: time 0.008454/0.03069, allocations: 3.232 MB / 298.2 MB, free: 11.98 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.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.8337729973718524]