Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.00154/0.00154, allocations: 84.66 kB / 20.68 MB, free: 1.039 MB / 14.72 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.001413/0.001413, allocations: 168.5 kB / 23.95 MB, free: 4.172 MB / 14.72 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.534/1.534, allocations: 177.2 MB / 204.3 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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.2568/0.2568, allocations: 34.28 MB / 295 MB, free: 14.56 MB / 286.1 MB " [Timeout remaining time 179] 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.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 442.8 MB, free: 5.297 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.898e-05/3.033e-05, allocations: 2.281 kB / 442.8 MB, free: 5.293 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.003521/0.003551, allocations: 1.72 MB / 444.5 MB, free: 3.559 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001992/0.005543, allocations: 0.9704 MB / 445.5 MB, free: 2.582 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.005648, allocations: 3.938 kB / 445.5 MB, free: 2.578 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000345/0.005993, allocations: 43.81 kB / 445.5 MB, free: 2.535 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004013/0.006394, allocations: 107.5 kB / 445.6 MB, free: 2.43 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002883/0.006683, allocations: 87.53 kB / 445.7 MB, free: 2.344 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002586/0.006941, allocations: 103.6 kB / 445.8 MB, free: 2.242 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.007044, allocations: 8 kB / 445.8 MB, free: 2.234 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.007183, allocations: 59.81 kB / 445.9 MB, free: 2.176 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.56e-05/0.007279, allocations: 23.92 kB / 445.9 MB, free: 2.152 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.5e-05/0.007304, allocations: 4 kB / 445.9 MB, free: 2.148 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001256/0.007429, allocations: 39.98 kB / 445.9 MB, free: 2.109 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.269e-05/0.007512, allocations: 35.78 kB / 446 MB, free: 2.074 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.917e-05/0.007571, allocations: 27.92 kB / 446 MB, free: 2.047 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002811/0.007852, allocations: 139.5 kB / 446.1 MB, free: 1.91 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.007857, allocations: 0 / 446.1 MB, free: 1.91 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.007858, allocations: 0 / 446.1 MB, free: 1.91 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.007864, allocations: 0 / 446.1 MB, free: 1.91 MB / 366.1 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.0006441/0.008508, allocations: 369.3 kB / 446.5 MB, free: 1.52 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.008546, allocations: 8.031 kB / 446.5 MB, free: 1.512 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.708e-05/0.008603, allocations: 16.84 kB / 446.5 MB, free: 1.496 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002754/0.008878, allocations: 166.5 kB / 446.7 MB, free: 1.305 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.008895, allocations: 4.359 kB / 446.7 MB, free: 1.301 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.465e-05/0.00892, allocations: 12.31 kB / 446.7 MB, free: 1.289 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.009095, allocations: 58.17 kB / 446.8 MB, free: 1.227 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.009109, allocations: 3.938 kB / 446.8 MB, free: 1.223 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.009121, allocations: 0 / 446.8 MB, free: 1.223 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.707e-06/0.009129, allocations: 0 / 446.8 MB, free: 1.223 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.052e-05/0.00922, allocations: 19.98 kB / 446.8 MB, free: 1.203 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004002/0.00962, allocations: 240.6 kB / 447 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002121/0.009832, allocations: 58.62 kB / 447.1 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.889e-05/0.009901, allocations: 28.78 kB / 447.1 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.009918, allocations: 3.938 kB / 447.1 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001712/0.01009, allocations: 67.39 kB / 447.2 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.833e-06/0.01009, allocations: 0 / 447.2 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.00066/0.01075, allocations: 201.4 kB / 447.4 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.338e-05/0.0108, allocations: 51.41 kB / 447.4 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003015/0.01111, allocations: 275 kB / 447.7 MB, free: 220 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.01113, allocations: 25.7 kB / 447.7 MB, free: 188 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.461e-05/0.01121, allocations: 116.1 kB / 447.8 MB, free: 68 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.058e-05/0.01125, allocations: 31.77 kB / 447.8 MB, free: 36 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.097e-05/0.0113, allocations: 25.72 kB / 447.9 MB, free: 4 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.2354/0.2467, allocations: 325.5 kB / 448.2 MB, free: 19.01 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.2468, allocations: 22.22 kB / 448.2 MB, free: 19.01 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.131e-05/0.2469, allocations: 42.41 kB / 448.3 MB, free: 18.99 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/0.247, allocations: 59.84 kB / 448.3 MB, free: 18.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.247, allocations: 1.281 kB / 448.3 MB, free: 18.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000253/0.2473, allocations: 106.1 kB / 448.4 MB, free: 18.95 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.2473, allocations: 6.312 kB / 448.4 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.2473, allocations: 0.625 kB / 448.4 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/0.2473, allocations: 1.094 kB / 448.4 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.2474, allocations: 21.03 kB / 448.4 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.2474, allocations: 4.406 kB / 448.5 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.076e-05/0.2475, allocations: 6.734 kB / 448.5 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.2475, allocations: 2.625 kB / 448.5 MB, free: 18.95 MB / 366.1 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 0.0001072/0.2476, allocations: 134.9 kB / 448.6 MB, free: 18.83 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.243e-05/0.2477, allocations: 18.5 kB / 448.6 MB, free: 18.83 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002805/0.2479, allocations: 127.7 kB / 448.7 MB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.2479, allocations: 1.156 kB / 448.7 MB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.2479, allocations: 5.797 kB / 448.7 MB, free: 18.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.248, allocations: 0.6094 kB / 448.7 MB, free: 18.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004332/0.2484, allocations: 357.3 kB / 449.1 MB, free: 18.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.2484, allocations: 0 / 449.1 MB, free: 18.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.416e-05/0.2484, allocations: 14.7 kB / 449.1 MB, free: 18.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.2484, allocations: 1.062 kB / 449.1 MB, free: 18.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.2484, allocations: 9.875 kB / 449.1 MB, free: 18.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.2485, allocations: 1.156 kB / 449.1 MB, free: 18.55 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.2485, allocations: 1.797 kB / 449.1 MB, free: 18.55 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002342/0.2487, allocations: 220.9 kB / 449.3 MB, free: 18.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.118e-05/0.2487, allocations: 15.22 kB / 449.3 MB, free: 18.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.802e-05/0.2487, allocations: 9.578 kB / 449.4 MB, free: 18.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.849e-05/0.2488, allocations: 6.547 kB / 449.4 MB, free: 18.4 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.612e-05/0.2489, allocations: 6.906 kB / 449.4 MB, free: 18.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.772e-05/0.2489, allocations: 4.031 kB / 449.4 MB, free: 18.4 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000167/0.249, allocations: 207.3 kB / 449.6 MB, free: 18.33 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.249, allocations: 0 / 449.6 MB, free: 18.33 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002798/0.2493, allocations: 27.25 kB / 449.6 MB, free: 18.33 MB / 366.1 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.001869/0.2512, allocations: 0.4931 MB / 450.1 MB, free: 18.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000204/0.2514, allocations: 58.02 kB / 450.2 MB, free: 18.17 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2514, allocations: 7.938 kB / 450.2 MB, free: 18.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.084e-05/0.2515, allocations: 30.62 kB / 450.2 MB, free: 18.15 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003726/0.2519, allocations: 30.55 kB / 450.2 MB, free: 18.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005573/0.2524, allocations: 300.9 kB / 450.5 MB, free: 17.96 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.398e-05/0.2525, allocations: 114.4 kB / 450.6 MB, free: 17.88 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.002e-05/0.2526, allocations: 11.78 kB / 450.6 MB, free: 17.87 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.157e-05/0.2526, allocations: 17.92 kB / 450.7 MB, free: 17.86 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2526, allocations: 0 / 450.7 MB, free: 17.86 MB / 366.1 MB Notification: Performance of Templates: time 0.005975/0.2586, allocations: 1.874 MB / 452.5 MB, free: 17.61 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.16707868129015]