Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001217/0.001217, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001839/0.003056, allocations: 453.8 kB / 10.46 MB, free: 236 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.001108/0.001108, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001473/0.002581, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9062/0.9062, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1665/1.073, allocations: 49.5 MB / 220.7 MB, free: 1.348 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 222 MB, free: 60 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.909e-05/2.033e-05, allocations: 2.312 kB / 222 MB, free: 56 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.002629/0.002649, allocations: 2.413 MB / 224.4 MB, free: 13.62 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006613/0.003311, allocations: 0.6279 MB / 225 MB, free: 12.98 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.331e-05/0.003404, allocations: 11.94 kB / 225 MB, free: 12.97 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 7.592e-05/0.00348, allocations: 35.59 kB / 225.1 MB, free: 12.93 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 9.83e-05/0.003578, allocations: 71.34 kB / 225.1 MB, free: 12.86 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001017/0.00368, allocations: 59.8 kB / 225.2 MB, free: 12.8 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002093/0.003889, allocations: 270.7 kB / 225.5 MB, free: 12.54 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.004009, allocations: 66.47 kB / 225.5 MB, free: 12.48 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001756/0.004185, allocations: 167.6 kB / 225.7 MB, free: 12.31 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001144/0.004299, allocations: 87.72 kB / 225.8 MB, free: 12.23 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.107e-05/0.00433, allocations: 23.94 kB / 225.8 MB, free: 12.2 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.481e-05/0.004355, allocations: 16 kB / 225.8 MB, free: 12.19 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.066e-05/0.004386, allocations: 35.88 kB / 225.9 MB, free: 12.15 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.21e-05/0.004438, allocations: 67.88 kB / 225.9 MB, free: 12.09 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.004613, allocations: 151.4 kB / 226.1 MB, free: 11.94 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.518e-06/0.004623, allocations: 0 / 226.1 MB, free: 11.94 MB / 234.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.004623, allocations: 0 / 226.1 MB, free: 11.94 MB / 234.7 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.004631, allocations: 4 kB / 226.1 MB, free: 11.93 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.000523/0.005154, allocations: 475.9 kB / 226.5 MB, free: 11.45 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.005187, allocations: 8.031 kB / 226.5 MB, free: 11.44 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.419e-05/0.005231, allocations: 40.84 kB / 226.6 MB, free: 11.4 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001716/0.005403, allocations: 154.2 kB / 226.7 MB, free: 11.22 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.005416, allocations: 16.88 kB / 226.7 MB, free: 11.21 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.086e-05/0.005447, allocations: 24.33 kB / 226.8 MB, free: 11.18 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.005618, allocations: 176 kB / 226.9 MB, free: 11 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.00563, allocations: 192 / 226.9 MB, free: 11 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.005642, allocations: 12.38 kB / 227 MB, free: 10.98 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.00565, allocations: 7.938 kB / 227 MB, free: 10.98 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.794e-05/0.005718, allocations: 63.39 kB / 227 MB, free: 10.92 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004858/0.006204, allocations: 470.5 kB / 227.5 MB, free: 10.44 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.00632, allocations: 102.5 kB / 227.6 MB, free: 10.33 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.772e-05/0.006358, allocations: 36.8 kB / 227.6 MB, free: 10.29 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/0.006372, allocations: 4 kB / 227.6 MB, free: 10.29 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.006393, allocations: 42.84 kB / 227.7 MB, free: 10.23 MB / 234.7 MB Notification: Performance of pre-optimization done (n=20): time 9.72e-07/0.006394, allocations: 0 / 227.7 MB, free: 10.23 MB / 234.7 MB Notification: Performance of matching and sorting (n=24): time 0.0008638/0.007258, allocations: 0.5755 MB / 228.2 MB, free: 9.602 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.365e-05/0.007281, allocations: 51.41 kB / 228.3 MB, free: 9.539 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.446e-05/0.007366, allocations: 174.5 kB / 228.5 MB, free: 9.355 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.007377, allocations: 29.7 kB / 228.5 MB, free: 9.32 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.893e-05/0.007426, allocations: 140.4 kB / 228.6 MB, free: 9.18 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.901e-05/0.007465, allocations: 91.2 kB / 228.7 MB, free: 9.09 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.11e-05/0.007506, allocations: 45.69 kB / 228.8 MB, free: 9.039 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 6.816e-05/0.007574, allocations: 334.7 kB / 229.1 MB, free: 8.703 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.519e-05/0.007599, allocations: 23.92 kB / 229.1 MB, free: 8.68 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.428e-05/0.007644, allocations: 64.25 kB / 229.2 MB, free: 8.602 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.286e-05/0.007737, allocations: 115.9 kB / 229.3 MB, free: 8.473 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.007738, allocations: 4 kB / 229.3 MB, free: 8.469 MB / 234.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0001472/0.007885, allocations: 154.3 kB / 229.4 MB, free: 8.309 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.007896, allocations: 4 kB / 229.4 MB, free: 8.305 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.007899, allocations: 0 / 229.4 MB, free: 8.305 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.497e-05/0.007984, allocations: 28.78 kB / 229.5 MB, free: 8.273 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.008131, allocations: 63.91 kB / 229.5 MB, free: 8.211 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005869/0.008718, allocations: 1.221 MB / 230.8 MB, free: 6.898 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.949e-05/0.008767, allocations: 11.98 kB / 230.8 MB, free: 6.887 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.008778, allocations: 11.98 kB / 230.8 MB, free: 6.875 MB / 234.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.076e-05/0.008838, allocations: 125.8 kB / 230.9 MB, free: 6.742 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.329e-05/0.008862, allocations: 20.06 kB / 230.9 MB, free: 6.723 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.415e-05/0.008886, allocations: 33.97 kB / 231 MB, free: 6.691 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.008888, allocations: 4 kB / 231 MB, free: 6.688 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.00889, allocations: 0 / 231 MB, free: 6.688 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.008893, allocations: 0 / 231 MB, free: 6.688 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006146/0.009507, allocations: 420.2 kB / 231.4 MB, free: 6.238 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.009509, allocations: 0 / 231.4 MB, free: 6.238 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001176/0.009627, allocations: 55.91 kB / 231.4 MB, free: 6.184 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.507e-05/0.009642, allocations: 11.91 kB / 231.4 MB, free: 6.172 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.015e-05/0.009712, allocations: 36.89 kB / 231.5 MB, free: 6.133 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.009722, allocations: 8 kB / 231.5 MB, free: 6.125 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005263/0.01025, allocations: 1.221 MB / 232.7 MB, free: 4.816 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.01025, allocations: 4 kB / 232.7 MB, free: 4.812 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001898/0.01044, allocations: 290.5 kB / 233 MB, free: 4.504 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.01045, allocations: 11.98 kB / 233 MB, free: 4.492 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.444e-05/0.01051, allocations: 7.984 kB / 233 MB, free: 4.484 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.576e-05/0.01054, allocations: 23.91 kB / 233 MB, free: 4.461 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.01055, allocations: 4 kB / 233 MB, free: 4.457 MB / 234.7 MB Notification: Performance of sorting global known variables: time 3.044e-05/0.01058, allocations: 41.81 kB / 233.1 MB, free: 4.414 MB / 234.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01058, allocations: 0 / 233.1 MB, free: 4.414 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001646/0.01075, allocations: 60 kB / 233.1 MB, free: 4.355 MB / 234.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 6.848e-05/0.01081, allocations: 88.34 kB / 233.2 MB, free: 4.262 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0002248/0.01104, allocations: 238.7 kB / 233.5 MB, free: 4.016 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/0.01105, allocations: 4 kB / 233.5 MB, free: 4.012 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001373/0.01118, allocations: 211.2 kB / 233.7 MB, free: 3.789 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002963/0.01148, allocations: 422.5 kB / 234.1 MB, free: 3.297 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002999/0.01448, allocations: 0.4982 MB / 234.6 MB, free: 2.762 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.087e-05/0.01453, allocations: 84.31 kB / 234.7 MB, free: 2.66 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 5.072e-05/0.01458, allocations: 17.95 kB / 234.7 MB, free: 2.645 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.467e-05/0.01468, allocations: 91.34 kB / 234.8 MB, free: 2.555 MB / 234.7 MB Notification: Performance of SimCode: time 7.61e-07/0.01468, allocations: 0 / 234.8 MB, free: 2.555 MB / 234.7 MB Notification: Performance of Templates: time 0.004176/0.01885, allocations: 2.834 MB / 237.6 MB, free: 15.75 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.6998404674232006]