Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.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.001113/0.001113, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001519/0.002633, allocations: 449.7 kB / 10.37 MB, free: 332 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.001013/0.001013, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001365/0.002378, allocations: 459.6 kB / 11.69 MB, free: 2.48 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.9559/0.9559, allocations: 173.4 MB / 185.8 MB, free: 8.984 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08013/1.036, allocations: 52.5 MB / 238.3 MB, free: 4.426 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.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel") translateModel(Modelica.Mechanics.Rotational.Examples.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 3.938 kB / 239.5 MB, free: 3.184 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.704e-05/1.869e-05, allocations: 2.312 kB / 239.5 MB, free: 3.18 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.002264/0.002283, allocations: 2.171 MB / 241.7 MB, free: 0.9961 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006705/0.002953, allocations: 0.5491 MB / 242.3 MB, free: 452 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.751e-05/0.003051, allocations: 4 kB / 242.3 MB, free: 448 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 8.415e-05/0.003135, allocations: 35.66 kB / 242.3 MB, free: 412 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 7.849e-05/0.003214, allocations: 59.48 kB / 242.4 MB, free: 352 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001065/0.00332, allocations: 55.81 kB / 242.4 MB, free: 296 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001841/0.003504, allocations: 214.9 kB / 242.6 MB, free: 80 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.003616, allocations: 46.44 kB / 242.7 MB, free: 32 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001331/0.003749, allocations: 119.8 kB / 242.8 MB, free: 15.91 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.731e-05/0.003847, allocations: 59.8 kB / 242.8 MB, free: 15.86 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.739e-05/0.003874, allocations: 16 kB / 242.9 MB, free: 15.84 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.026e-05/0.003894, allocations: 16 kB / 242.9 MB, free: 15.82 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.476e-05/0.003919, allocations: 31.88 kB / 242.9 MB, free: 15.79 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.803e-05/0.003967, allocations: 51.94 kB / 243 MB, free: 15.74 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.004129, allocations: 131.5 kB / 243.1 MB, free: 15.61 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.513e-05/0.004144, allocations: 0 / 243.1 MB, free: 15.61 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.004145, allocations: 0 / 243.1 MB, free: 15.61 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.569e-05/0.004161, allocations: 3.938 kB / 243.1 MB, free: 15.61 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0007023/0.004863, allocations: 419.8 kB / 243.5 MB, free: 15.18 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.99e-05/0.004893, allocations: 8.031 kB / 243.5 MB, free: 15.17 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.274e-05/0.004936, allocations: 28.92 kB / 243.5 MB, free: 15.14 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001681/0.005104, allocations: 157.4 kB / 243.7 MB, free: 14.96 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.005116, allocations: 12.38 kB / 243.7 MB, free: 14.95 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.518e-05/0.005141, allocations: 16.38 kB / 243.7 MB, free: 14.93 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.005296, allocations: 126.6 kB / 243.8 MB, free: 14.8 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.005307, allocations: 8.125 kB / 243.9 MB, free: 14.79 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.005319, allocations: 8.375 kB / 243.9 MB, free: 14.79 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.228e-06/0.005328, allocations: 11.88 kB / 243.9 MB, free: 14.77 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.41e-05/0.005392, allocations: 39.75 kB / 243.9 MB, free: 14.73 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004293/0.005822, allocations: 382.7 kB / 244.3 MB, free: 14.34 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.907e-05/0.005921, allocations: 74.47 kB / 244.4 MB, free: 14.26 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.685e-05/0.005948, allocations: 28.8 kB / 244.4 MB, free: 14.23 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.267e-05/0.00596, allocations: 0 / 244.4 MB, free: 14.23 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.986e-05/0.00598, allocations: 34.56 kB / 244.4 MB, free: 14.18 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.005982, allocations: 0 / 244.4 MB, free: 14.18 MB / 250.7 MB Notification: Performance of matching and sorting (n=18): time 0.000769/0.006751, allocations: 0.53 MB / 245 MB, free: 13.6 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.247e-05/0.006773, allocations: 51.41 kB / 245 MB, free: 13.54 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.914e-05/0.006852, allocations: 149.6 kB / 245.1 MB, free: 13.38 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.006864, allocations: 29.7 kB / 245.2 MB, free: 13.35 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.15e-05/0.006916, allocations: 132.4 kB / 245.3 MB, free: 13.21 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.829e-05/0.006954, allocations: 71.41 kB / 245.4 MB, free: 13.14 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.087e-05/0.006995, allocations: 45.55 kB / 245.4 MB, free: 13.09 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.77e-05/0.007063, allocations: 322.8 kB / 245.7 MB, free: 12.77 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.13e-05/0.007084, allocations: 12 kB / 245.7 MB, free: 12.76 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.359e-05/0.007128, allocations: 61.12 kB / 245.8 MB, free: 12.68 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.549e-05/0.007213, allocations: 112.5 kB / 245.9 MB, free: 12.55 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.007214, allocations: 0 / 245.9 MB, free: 12.55 MB / 250.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001574/0.007372, allocations: 142.3 kB / 246.1 MB, free: 12.41 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.007383, allocations: 7.938 kB / 246.1 MB, free: 12.4 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.007387, allocations: 0 / 246.1 MB, free: 12.4 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001124/0.0075, allocations: 40.83 kB / 246.1 MB, free: 12.36 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.007606, allocations: 35.98 kB / 246.1 MB, free: 12.32 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006714/0.008278, allocations: 1.257 MB / 247.4 MB, free: 10.97 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.719e-05/0.008325, allocations: 4 kB / 247.4 MB, free: 10.97 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.008333, allocations: 8 kB / 247.4 MB, free: 10.96 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (20): * Single equations (assignments): 19 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.664e-05/0.0084, allocations: 117.8 kB / 247.5 MB, free: 10.84 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.264e-05/0.008422, allocations: 15.98 kB / 247.5 MB, free: 10.82 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.961e-05/0.008442, allocations: 13.12 kB / 247.5 MB, free: 10.81 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.008444, allocations: 11.97 kB / 247.6 MB, free: 10.8 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.008449, allocations: 4.172 kB / 247.6 MB, free: 10.79 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.008452, allocations: 0 / 247.6 MB, free: 10.79 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003471/0.008799, allocations: 382.3 kB / 247.9 MB, free: 10.39 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.008801, allocations: 0 / 247.9 MB, free: 10.39 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.722e-05/0.008888, allocations: 35.97 kB / 248 MB, free: 10.35 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.138e-05/0.0089, allocations: 11.91 kB / 248 MB, free: 10.34 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.604e-05/0.008966, allocations: 28.84 kB / 248 MB, free: 10.31 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.008973, allocations: 0 / 248 MB, free: 10.31 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005396/0.009512, allocations: 1.233 MB / 249.2 MB, free: 8.984 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.009514, allocations: 0 / 249.2 MB, free: 8.984 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001681/0.009682, allocations: 238.8 kB / 249.5 MB, free: 8.734 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.009694, allocations: 8.062 kB / 249.5 MB, free: 8.727 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.606e-05/0.00974, allocations: 4 kB / 249.5 MB, free: 8.723 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.917e-05/0.009769, allocations: 19.91 kB / 249.5 MB, free: 8.703 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.009773, allocations: 0 / 249.5 MB, free: 8.703 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.253e-05/0.009796, allocations: 31.83 kB / 249.5 MB, free: 8.672 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009796, allocations: 0 / 249.5 MB, free: 8.672 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001662/0.009962, allocations: 48 kB / 249.6 MB, free: 8.625 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inertia.phi,inertia.w) * 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 (15): * Single equations (assignments): 14 * 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 8.144e-05/0.01004, allocations: 80.41 kB / 249.7 MB, free: 8.539 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002196/0.01026, allocations: 223.1 kB / 249.9 MB, free: 8.305 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.237e-06/0.01027, allocations: 4 kB / 249.9 MB, free: 8.301 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.01038, allocations: 179.3 kB / 250.1 MB, free: 8.109 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001614/0.01054, allocations: 35.97 kB / 250.1 MB, free: 8.074 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001881/0.01242, allocations: 420.8 kB / 250.5 MB, free: 7.637 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.325e-05/0.01246, allocations: 75.98 kB / 250.6 MB, free: 7.543 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.727e-05/0.01251, allocations: 17.48 kB / 250.6 MB, free: 7.527 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.362e-05/0.01257, allocations: 71.36 kB / 250.7 MB, free: 7.457 MB / 250.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01257, allocations: 0 / 250.7 MB, free: 7.457 MB / 250.7 MB Notification: Performance of Templates: time 0.00397/0.01654, allocations: 2.008 MB / 252.7 MB, free: 5.473 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.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: 2.533288149163127]