Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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.0007008/0.0007008, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001078/0.001779, allocations: 449.8 kB / 10.44 MB, free: 252 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.0006601/0.0006601, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009685/0.001629, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9535/0.9535, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08328/1.037, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] 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(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.1.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.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.36e-05/2.579e-05, allocations: 2.312 kB / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003862/0.003888, allocations: 2.432 MB / 247.1 MB, free: 11.78 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001213/0.0051, allocations: 0.6695 MB / 247.8 MB, free: 11.1 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001518/0.005252, allocations: 7.938 kB / 247.8 MB, free: 11.09 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001186/0.005371, allocations: 31.66 kB / 247.8 MB, free: 11.06 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001799/0.005551, allocations: 79.27 kB / 247.9 MB, free: 10.98 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002002/0.005751, allocations: 71.78 kB / 248 MB, free: 10.91 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002996/0.006051, allocations: 266.6 kB / 248.2 MB, free: 10.65 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000154/0.006205, allocations: 62.52 kB / 248.3 MB, free: 10.59 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003376/0.006542, allocations: 182.3 kB / 248.5 MB, free: 10.42 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001463/0.006689, allocations: 75.78 kB / 248.6 MB, free: 10.34 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.733e-05/0.006726, allocations: 20 kB / 248.6 MB, free: 10.32 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.282e-05/0.006819, allocations: 23.94 kB / 248.6 MB, free: 10.3 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.316e-05/0.006862, allocations: 39.81 kB / 248.6 MB, free: 10.26 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.382e-05/0.006936, allocations: 67.88 kB / 248.7 MB, free: 10.2 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002719/0.007208, allocations: 159.4 kB / 248.9 MB, free: 10.04 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.258e-05/0.00722, allocations: 0 / 248.9 MB, free: 10.04 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.007221, allocations: 3.938 kB / 248.9 MB, free: 10.04 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.17e-05/0.007233, allocations: 0 / 248.9 MB, free: 10.04 MB / 250.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.000635/0.007868, allocations: 479.8 kB / 249.3 MB, free: 9.543 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.0079, allocations: 8.031 kB / 249.3 MB, free: 9.535 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002182/0.008118, allocations: 122 kB / 249.5 MB, free: 9.398 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002398/0.008358, allocations: 166.1 kB / 249.6 MB, free: 9.207 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.257e-05/0.00838, allocations: 16.88 kB / 249.6 MB, free: 9.191 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.862e-05/0.008429, allocations: 24.38 kB / 249.7 MB, free: 9.168 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002706/0.0087, allocations: 172 kB / 249.8 MB, free: 8.988 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.008716, allocations: 192 / 249.8 MB, free: 8.988 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.873e-05/0.008734, allocations: 12.38 kB / 249.8 MB, free: 8.977 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.008745, allocations: 11.88 kB / 249.9 MB, free: 8.965 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000114/0.008859, allocations: 55.45 kB / 249.9 MB, free: 8.906 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007561/0.009615, allocations: 478.4 kB / 250.4 MB, free: 8.422 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.009781, allocations: 106.4 kB / 250.5 MB, free: 8.309 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.557e-05/0.009837, allocations: 36.78 kB / 250.5 MB, free: 8.27 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.009854, allocations: 4 kB / 250.5 MB, free: 8.266 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.009879, allocations: 38.56 kB / 250.6 MB, free: 8.219 MB / 250.7 MB Notification: Performance of pre-optimization done (n=20): time 1.753e-06/0.009881, allocations: 0 / 250.6 MB, free: 8.219 MB / 250.7 MB Notification: Performance of matching and sorting (n=24): time 0.001132/0.01101, allocations: 0.5788 MB / 251.1 MB, free: 7.586 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.01104, allocations: 51.41 kB / 251.2 MB, free: 7.523 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.01116, allocations: 167.9 kB / 251.4 MB, free: 7.348 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.01118, allocations: 37.64 kB / 251.4 MB, free: 7.305 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.917e-05/0.01125, allocations: 132.4 kB / 251.5 MB, free: 7.172 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.491e-05/0.01132, allocations: 91.2 kB / 251.6 MB, free: 7.082 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.318e-05/0.01138, allocations: 45.69 kB / 251.7 MB, free: 7.031 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.01148, allocations: 334.7 kB / 252 MB, free: 6.695 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.631e-05/0.01153, allocations: 31.97 kB / 252 MB, free: 6.664 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.854e-05/0.0116, allocations: 64.5 kB / 252.1 MB, free: 6.586 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001615/0.01176, allocations: 118.8 kB / 252.2 MB, free: 6.457 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.01176, allocations: 0 / 252.2 MB, free: 6.457 MB / 250.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002449/0.01201, allocations: 147 kB / 252.3 MB, free: 6.305 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.01202, allocations: 8.109 kB / 252.3 MB, free: 6.297 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.01203, allocations: 11.94 kB / 252.4 MB, free: 6.285 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001289/0.01216, allocations: 32.78 kB / 252.4 MB, free: 6.25 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002156/0.01238, allocations: 55.91 kB / 252.4 MB, free: 6.195 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009634/0.01334, allocations: 1.221 MB / 253.7 MB, free: 4.883 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.212e-05/0.01343, allocations: 16.02 kB / 253.7 MB, free: 4.867 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.01344, allocations: 4 kB / 253.7 MB, free: 4.863 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 8.778e-05/0.01353, allocations: 125.8 kB / 253.8 MB, free: 4.73 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.982e-05/0.01357, allocations: 23.92 kB / 253.8 MB, free: 4.707 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.848e-05/0.01361, allocations: 25.95 kB / 253.9 MB, free: 4.68 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.01361, allocations: 144 / 253.9 MB, free: 4.68 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.01362, allocations: 4 kB / 253.9 MB, free: 4.676 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.01362, allocations: 3.984 kB / 253.9 MB, free: 4.672 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005811/0.0142, allocations: 427 kB / 254.3 MB, free: 4.219 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.01421, allocations: 0 / 254.3 MB, free: 4.219 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002088/0.01442, allocations: 54.31 kB / 254.3 MB, free: 4.168 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.349e-05/0.01444, allocations: 15.91 kB / 254.3 MB, free: 4.152 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.936e-05/0.01454, allocations: 28.83 kB / 254.4 MB, free: 4.121 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.01455, allocations: 4 kB / 254.4 MB, free: 4.117 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009293/0.01548, allocations: 1.234 MB / 255.6 MB, free: 2.801 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.01548, allocations: 0 / 255.6 MB, free: 2.801 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003081/0.01579, allocations: 287 kB / 255.9 MB, free: 2.496 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.01581, allocations: 4 kB / 255.9 MB, free: 2.492 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.01591, allocations: 11.94 kB / 255.9 MB, free: 2.48 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.063e-05/0.01595, allocations: 20.19 kB / 255.9 MB, free: 2.461 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.01597, allocations: 4 kB / 255.9 MB, free: 2.457 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.225e-05/0.01602, allocations: 44.81 kB / 256 MB, free: 2.41 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01602, allocations: 0 / 256 MB, free: 2.41 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002821/0.0163, allocations: 56 kB / 256 MB, free: 2.355 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 0.0001086/0.01641, allocations: 96.38 kB / 256.1 MB, free: 2.254 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003469/0.01676, allocations: 239.6 kB / 256.4 MB, free: 2.004 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.274e-05/0.01677, allocations: 4 kB / 256.4 MB, free: 2 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002314/0.017, allocations: 202.3 kB / 256.6 MB, free: 1.789 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004456/0.01745, allocations: 409.8 kB / 257 MB, free: 1.312 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005075/0.02252, allocations: 0.521 MB / 257.5 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.301e-05/0.02259, allocations: 84.31 kB / 257.6 MB, free: 0.6562 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001011/0.02269, allocations: 21.95 kB / 257.6 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001402/0.02284, allocations: 91.34 kB / 257.7 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of SimCode: time 1.423e-06/0.02284, allocations: 0 / 257.7 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of Templates: time 0.00467/0.02751, allocations: 2.837 MB / 260.5 MB, free: 13.76 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.3790531493723392]