Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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.001152/0.001152, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001778/0.002929, 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.0008687/0.0008687, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00144/0.002309, 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.9858/0.9858, allocations: 173.4 MB / 186 MB, free: 7.527 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1462/1.132, allocations: 52.48 MB / 238.5 MB, free: 7.621 MB / 234.7 MB " [Timeout remaining time 179] 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(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded") translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 239.7 MB, free: 6.367 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.846e-05/1.993e-05, allocations: 5.969 kB / 239.7 MB, free: 6.363 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.002372/0.002392, allocations: 2.424 MB / 242.2 MB, free: 3.941 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006125/0.003005, allocations: 0.5896 MB / 242.8 MB, free: 3.355 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.715e-05/0.003092, allocations: 11.94 kB / 242.8 MB, free: 3.344 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 7.873e-05/0.00317, allocations: 31.59 kB / 242.8 MB, free: 3.312 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 9.474e-05/0.003265, allocations: 75.34 kB / 242.9 MB, free: 3.238 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.851e-05/0.003364, allocations: 55.84 kB / 242.9 MB, free: 3.184 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001957/0.003559, allocations: 262.7 kB / 243.2 MB, free: 2.926 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.003686, allocations: 64.3 kB / 243.2 MB, free: 2.863 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000179/0.003865, allocations: 175.5 kB / 243.4 MB, free: 2.691 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.003976, allocations: 79.72 kB / 243.5 MB, free: 2.613 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.001e-05/0.004006, allocations: 21.06 kB / 243.5 MB, free: 2.594 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.473e-05/0.004031, allocations: 20 kB / 243.5 MB, free: 2.574 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.257e-05/0.004063, allocations: 38.88 kB / 243.6 MB, free: 2.539 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.444e-05/0.004118, allocations: 67.88 kB / 243.6 MB, free: 2.473 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000173/0.004291, allocations: 159.3 kB / 243.8 MB, free: 2.316 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.097e-06/0.0043, allocations: 0 / 243.8 MB, free: 2.316 MB / 234.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.0043, allocations: 0 / 243.8 MB, free: 2.316 MB / 234.7 MB Notification: Performance of Transformations before backend: time 8.896e-06/0.004309, allocations: 0 / 243.8 MB, free: 2.316 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0004723/0.004781, allocations: 475.9 kB / 244.3 MB, free: 1.828 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.96e-05/0.004811, allocations: 9 kB / 244.3 MB, free: 1.82 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.558e-05/0.004857, allocations: 32.92 kB / 244.3 MB, free: 1.789 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000165/0.005022, allocations: 167 kB / 244.5 MB, free: 1.598 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.005035, allocations: 16.88 kB / 244.5 MB, free: 1.582 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.077e-05/0.005065, allocations: 18.16 kB / 244.5 MB, free: 1.566 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.005245, allocations: 180 kB / 244.7 MB, free: 1.379 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.005257, allocations: 8.141 kB / 244.7 MB, free: 1.371 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.005269, allocations: 8.375 kB / 244.7 MB, free: 1.363 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.005276, allocations: 8.594 kB / 244.7 MB, free: 1.355 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.622e-05/0.005342, allocations: 51.47 kB / 244.7 MB, free: 1.309 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006048/0.005947, allocations: 481.1 kB / 245.2 MB, free: 0.8164 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.006068, allocations: 106.4 kB / 245.3 MB, free: 0.7031 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.775e-05/0.006106, allocations: 36.83 kB / 245.4 MB, free: 0.6641 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.006122, allocations: 4 kB / 245.4 MB, free: 0.6602 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.00614, allocations: 32.03 kB / 245.4 MB, free: 0.6211 MB / 234.7 MB Notification: Performance of pre-optimization done (n=20): time 1.233e-06/0.006142, allocations: 0 / 245.4 MB, free: 0.6211 MB / 234.7 MB Notification: Performance of matching and sorting (n=24): time 0.0007862/0.006928, allocations: 0.5847 MB / 246 MB, free: 15.99 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.756e-05/0.006955, allocations: 55.41 kB / 246 MB, free: 15.92 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.617e-05/0.007042, allocations: 162.6 kB / 246.2 MB, free: 15.75 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.007054, allocations: 29.7 kB / 246.2 MB, free: 15.71 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.318e-05/0.007107, allocations: 145.5 kB / 246.4 MB, free: 15.57 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.849e-05/0.007145, allocations: 87.2 kB / 246.4 MB, free: 15.48 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.713e-05/0.007192, allocations: 53.62 kB / 246.5 MB, free: 15.43 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.061e-05/0.007273, allocations: 339.7 kB / 246.8 MB, free: 15.09 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.605e-05/0.007299, allocations: 16 kB / 246.8 MB, free: 15.07 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.719e-05/0.007346, allocations: 64.25 kB / 246.9 MB, free: 14.99 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.072e-05/0.007437, allocations: 114 kB / 247 MB, free: 14.87 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.007438, allocations: 0 / 247 MB, free: 14.87 MB / 250.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0001628/0.007601, allocations: 158.4 kB / 247.2 MB, free: 14.71 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.007614, allocations: 8 kB / 247.2 MB, free: 14.7 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.007618, allocations: 3.938 kB / 247.2 MB, free: 14.7 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.702e-05/0.007715, allocations: 32.77 kB / 247.2 MB, free: 14.66 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/0.007859, allocations: 55.97 kB / 247.3 MB, free: 14.61 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006351/0.008495, allocations: 1.229 MB / 248.5 MB, free: 13.28 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.904e-05/0.008544, allocations: 11.94 kB / 248.5 MB, free: 13.27 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.008558, allocations: 8 kB / 248.5 MB, free: 13.26 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.76e-05/0.008626, allocations: 121.8 kB / 248.6 MB, free: 13.13 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.479e-05/0.00865, allocations: 19.92 kB / 248.7 MB, free: 13.11 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.666e-05/0.008677, allocations: 25.97 kB / 248.7 MB, free: 13.09 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.00868, allocations: 4 kB / 248.7 MB, free: 13.09 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.008682, allocations: 0 / 248.7 MB, free: 13.09 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.008686, allocations: 4.016 kB / 248.7 MB, free: 13.08 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003664/0.009052, allocations: 416.1 kB / 249.1 MB, free: 12.64 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.009055, allocations: 4 kB / 249.1 MB, free: 12.63 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001225/0.009178, allocations: 55.97 kB / 249.2 MB, free: 12.58 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.516e-05/0.009193, allocations: 15.86 kB / 249.2 MB, free: 12.56 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.779e-05/0.009261, allocations: 32.83 kB / 249.2 MB, free: 12.53 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.009269, allocations: 8 kB / 249.2 MB, free: 12.52 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005626/0.009832, allocations: 1.225 MB / 250.4 MB, free: 11.21 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.009833, allocations: 0 / 250.4 MB, free: 11.21 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001958/0.01003, allocations: 289.9 kB / 250.7 MB, free: 10.91 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.01004, allocations: 7.938 kB / 250.7 MB, free: 10.9 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.47e-05/0.0101, allocations: 12.03 kB / 250.7 MB, free: 10.89 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.193e-05/0.01013, allocations: 15.95 kB / 250.8 MB, free: 10.87 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.251e-06/0.01013, allocations: 8 kB / 250.8 MB, free: 10.86 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.948e-05/0.01016, allocations: 41.81 kB / 250.8 MB, free: 10.82 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01016, allocations: 0 / 250.8 MB, free: 10.82 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001608/0.01032, allocations: 56 kB / 250.9 MB, free: 10.77 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 7.252e-05/0.0104, allocations: 84.36 kB / 250.9 MB, free: 10.67 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002376/0.01063, allocations: 240.1 kB / 251.2 MB, free: 10.42 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/0.01064, allocations: 4 kB / 251.2 MB, free: 10.42 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001399/0.01078, allocations: 206.6 kB / 251.4 MB, free: 10.2 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002968/0.01108, allocations: 414.3 kB / 251.8 MB, free: 9.723 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002998/0.01408, allocations: 0.5177 MB / 252.3 MB, free: 9.172 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.736e-05/0.01413, allocations: 88.31 kB / 252.4 MB, free: 9.066 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.481e-05/0.01417, allocations: 17.95 kB / 252.4 MB, free: 9.051 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.85e-05/0.01426, allocations: 87.36 kB / 252.5 MB, free: 8.965 MB / 250.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01426, allocations: 0 / 252.5 MB, free: 8.965 MB / 250.7 MB Notification: Performance of Templates: time 0.004336/0.0186, allocations: 2.839 MB / 255.3 MB, free: 6.18 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.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.5121876131743193]