Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.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.0008996/0.0008996, allocations: 77.97 kB / 21.42 MB, free: 3.07 MB / 18.57 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.001035/0.001035, allocations: 169.8 kB / 24.82 MB, free: 9.316 MB / 18.57 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.049/1.049, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.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.2583/0.2583, allocations: 32.81 MB / 294.6 MB, free: 1.238 MB / 266.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.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 376.6 MB, free: 4.316 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.782e-05/1.959e-05, allocations: 6.25 kB / 376.6 MB, free: 4.309 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.003002/0.003021, allocations: 1.758 MB / 378.3 MB, free: 2.535 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00172/0.004741, allocations: 0.9897 MB / 379.3 MB, free: 1.539 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.041e-05/0.004832, allocations: 4 kB / 379.3 MB, free: 1.535 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002836/0.005115, allocations: 43.7 kB / 379.4 MB, free: 1.492 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003498/0.005465, allocations: 99.47 kB / 379.5 MB, free: 1.395 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002212/0.005686, allocations: 79.59 kB / 379.5 MB, free: 1.316 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000184/0.00587, allocations: 103.7 kB / 379.6 MB, free: 1.215 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.476e-05/0.005965, allocations: 4 kB / 379.6 MB, free: 1.211 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001239/0.006089, allocations: 59.77 kB / 379.7 MB, free: 1.152 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.577e-05/0.006175, allocations: 27.91 kB / 379.7 MB, free: 1.125 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.975e-05/0.006194, allocations: 4 kB / 379.7 MB, free: 1.121 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.006303, allocations: 47.92 kB / 379.8 MB, free: 1.074 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.491e-05/0.006358, allocations: 19.91 kB / 379.8 MB, free: 1.055 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.233e-05/0.006401, allocations: 19.94 kB / 379.8 MB, free: 1.035 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001979/0.006598, allocations: 99.53 kB / 379.9 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.006601, allocations: 0 / 379.9 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.006601, allocations: 4 kB / 379.9 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.876e-06/0.006604, allocations: 0 / 379.9 MB, free: 0.9336 MB / 346.7 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.0004718/0.007076, allocations: 443.9 kB / 380.3 MB, free: 476 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.007116, allocations: 8.031 kB / 380.4 MB, free: 468 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.03e-05/0.007157, allocations: 8.891 kB / 380.4 MB, free: 460 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/0.00733, allocations: 148.3 kB / 380.5 MB, free: 284 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.007348, allocations: 12.38 kB / 380.5 MB, free: 272 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.613e-05/0.007364, allocations: 384 / 380.5 MB, free: 272 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.007481, allocations: 62.88 kB / 380.6 MB, free: 200 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.007492, allocations: 3.938 kB / 380.6 MB, free: 196 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.007501, allocations: 4 kB / 380.6 MB, free: 192 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.007507, allocations: 0 / 380.6 MB, free: 192 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.275e-05/0.00754, allocations: 11.98 kB / 380.6 MB, free: 180 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002867/0.007826, allocations: 252.4 kB / 380.9 MB, free: 15.9 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.007928, allocations: 51.11 kB / 380.9 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.621e-05/0.007954, allocations: 19.67 kB / 380.9 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.007969, allocations: 4 kB / 380.9 MB, free: 15.81 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001044/0.008073, allocations: 80.92 kB / 381 MB, free: 15.72 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.008075, allocations: 0 / 381 MB, free: 15.72 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003795/0.008454, allocations: 125.5 kB / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.088e-05/0.008485, allocations: 59.34 kB / 381.2 MB, free: 15.52 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.008629, allocations: 214.5 kB / 381.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.008644, allocations: 25.7 kB / 381.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.554e-05/0.00871, allocations: 142.9 kB / 381.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.302e-05/0.008743, allocations: 35.77 kB / 381.6 MB, free: 15.08 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.943e-05/0.008782, allocations: 27.38 kB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.008931, allocations: 0.4962 MB / 382.1 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.689e-05/0.008958, allocations: 11.98 kB / 382.1 MB, free: 14.53 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.873e-05/0.008997, allocations: 31.3 kB / 382.2 MB, free: 14.49 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.726e-05/0.009064, allocations: 43.36 kB / 382.2 MB, free: 14.44 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.009065, allocations: 0 / 382.2 MB, free: 14.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001338/0.009199, allocations: 85.52 kB / 382.3 MB, free: 14.35 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.009215, allocations: 10.19 kB / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.00922, allocations: 4.031 kB / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.009232, allocations: 0 / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.628e-05/0.009309, allocations: 15.98 kB / 382.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.487e-06/0.009312, allocations: 0 / 382.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.025e-05/0.009352, allocations: 8 kB / 382.3 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.00936, allocations: 4 kB / 382.3 MB, free: 14.31 MB / 362.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 (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 8.861e-05/0.009449, allocations: 164.2 kB / 382.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.947e-05/0.009478, allocations: 23.84 kB / 382.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000179/0.009657, allocations: 102.5 kB / 382.6 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.009663, allocations: 3.984 kB / 382.6 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.009664, allocations: 4 kB / 382.6 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.009668, allocations: 4 kB / 382.6 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003514/0.01002, allocations: 353.6 kB / 383 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.01002, allocations: 0 / 383 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.96e-05/0.01006, allocations: 8 kB / 383 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.01006, allocations: 0 / 383 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/0.01007, allocations: 7.984 kB / 383 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.01008, allocations: 384 / 383 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01008, allocations: 0 / 383 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001929/0.01027, allocations: 259.4 kB / 383.2 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.514e-05/0.01029, allocations: 11.98 kB / 383.2 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.114e-05/0.01031, allocations: 8 kB / 383.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.792e-05/0.01037, allocations: 3.984 kB / 383.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.872e-05/0.0104, allocations: 11.92 kB / 383.3 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.01042, allocations: 8 kB / 383.3 MB, free: 13.28 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.877e-05/0.0105, allocations: 156 kB / 383.4 MB, free: 13.12 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.0105, allocations: 0 / 383.4 MB, free: 13.12 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002664/0.01076, allocations: 31.92 kB / 383.5 MB, free: 13.09 MB / 362.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: 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.0008734/0.01164, allocations: 434.7 kB / 383.9 MB, free: 12.82 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.037e-05/0.01173, allocations: 43.59 kB / 383.9 MB, free: 12.78 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.01173, allocations: 4 kB / 383.9 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.251e-05/0.01176, allocations: 23.67 kB / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002188/0.01198, allocations: 35.91 kB / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002566/0.01224, allocations: 206.3 kB / 384.2 MB, free: 12.47 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.458e-05/0.01227, allocations: 67.34 kB / 384.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.316e-05/0.01231, allocations: 21.39 kB / 384.3 MB, free: 12.37 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.29e-05/0.01237, allocations: 86.19 kB / 384.4 MB, free: 12.28 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01237, allocations: 0 / 384.4 MB, free: 12.28 MB / 362.7 MB Notification: Performance of Templates: time 0.003331/0.0157, allocations: 2.05 MB / 386.4 MB, free: 10.27 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.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.097209576983005]