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.001828/0.001828, allocations: 99.86 kB / 20.96 MB, free: 3.457 MB / 18.57 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.001969/0.001969, allocations: 149.1 kB / 24.26 MB, free: 164 kB / 18.57 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 1.5/1.5, allocations: 173.3 MB / 200.8 MB, free: 9.301 MB / 186.7 MB " [Timeout remaining time 178] 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.262e-06/1.262e-06, allocations: 0 / 267.3 MB, free: 6.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.504e-05/2.63e-05, allocations: 2.312 kB / 267.3 MB, free: 6.742 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.004003/0.004029, allocations: 2.117 MB / 269.4 MB, free: 4.609 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001035/0.005064, allocations: 0.5376 MB / 269.9 MB, free: 4.066 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001133/0.005177, allocations: 7.938 kB / 270 MB, free: 4.059 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001673/0.005345, allocations: 31.72 kB / 270 MB, free: 4.027 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000117/0.005462, allocations: 51.48 kB / 270 MB, free: 3.977 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001879/0.005649, allocations: 51.88 kB / 270.1 MB, free: 3.926 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003009/0.00595, allocations: 211 kB / 270.3 MB, free: 3.719 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001568/0.006107, allocations: 53.7 kB / 270.3 MB, free: 3.664 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001793/0.006286, allocations: 115.8 kB / 270.5 MB, free: 3.551 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001362/0.006423, allocations: 55.88 kB / 270.5 MB, free: 3.496 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.409e-05/0.006467, allocations: 20 kB / 270.5 MB, free: 3.477 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.652e-05/0.006503, allocations: 16 kB / 270.5 MB, free: 3.461 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.115e-05/0.006554, allocations: 39.83 kB / 270.6 MB, free: 3.422 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.35e-05/0.006648, allocations: 67.83 kB / 270.7 MB, free: 3.355 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003318/0.00698, allocations: 219.2 kB / 270.9 MB, free: 3.141 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.006982, allocations: 0 / 270.9 MB, free: 3.141 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.006983, allocations: 0 / 270.9 MB, free: 3.141 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.006987, allocations: 0 / 270.9 MB, free: 3.141 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.0007847/0.007772, allocations: 0.5072 MB / 271.4 MB, free: 2.598 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.007806, allocations: 8.922 kB / 271.4 MB, free: 2.59 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.27e-05/0.007888, allocations: 40.8 kB / 271.4 MB, free: 2.551 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002633/0.008152, allocations: 164.4 kB / 271.6 MB, free: 2.363 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.008172, allocations: 12.38 kB / 271.6 MB, free: 2.352 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.647e-05/0.008208, allocations: 16.38 kB / 271.6 MB, free: 2.336 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003241/0.008533, allocations: 149.8 kB / 271.8 MB, free: 2.184 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.008548, allocations: 4.125 kB / 271.8 MB, free: 2.18 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.057e-05/0.008568, allocations: 8.375 kB / 271.8 MB, free: 2.172 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.277e-05/0.008581, allocations: 11.94 kB / 271.8 MB, free: 2.16 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002414/0.008823, allocations: 95.94 kB / 271.9 MB, free: 2.066 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001/0.009823, allocations: 0.58 MB / 272.5 MB, free: 1.445 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002685/0.01009, allocations: 119.1 kB / 272.6 MB, free: 1.316 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.946e-05/0.01019, allocations: 43.67 kB / 272.6 MB, free: 1.27 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.01021, allocations: 3.938 kB / 272.6 MB, free: 1.266 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.01025, allocations: 37.39 kB / 272.7 MB, free: 1.219 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.092e-06/0.01025, allocations: 4 kB / 272.7 MB, free: 1.215 MB / 250.7 MB Notification: Performance of matching and sorting (n=18): time 0.001626/0.01188, allocations: 0.6769 MB / 273.3 MB, free: 492 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.927e-05/0.01193, allocations: 55.41 kB / 273.4 MB, free: 424 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/0.01211, allocations: 205.9 kB / 273.6 MB, free: 200 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/0.01214, allocations: 25.7 kB / 273.6 MB, free: 168 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00015/0.01229, allocations: 183.3 kB / 273.8 MB, free: 15.98 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.34e-05/0.01236, allocations: 79.38 kB / 273.9 MB, free: 15.9 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8e-05/0.01244, allocations: 47.36 kB / 273.9 MB, free: 15.84 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002847/0.01272, allocations: 0.504 MB / 274.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/0.01283, allocations: 43.92 kB / 274.5 MB, free: 15.29 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001475/0.01298, allocations: 93.47 kB / 274.6 MB, free: 15.18 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002577/0.01324, allocations: 142.7 kB / 274.7 MB, free: 15.03 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.01324, allocations: 0 / 274.7 MB, free: 15.03 MB / 266.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004419/0.01368, allocations: 221 kB / 274.9 MB, free: 14.8 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.0137, allocations: 4 kB / 274.9 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.0137, allocations: 4 kB / 274.9 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002031/0.01391, allocations: 43.61 kB / 275 MB, free: 14.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/0.01406, allocations: 31.97 kB / 275 MB, free: 14.71 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002062/0.01612, allocations: 1.932 MB / 276.9 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.049e-05/0.01621, allocations: 8 kB / 276.9 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.01622, allocations: 4 kB / 276.9 MB, free: 12.64 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (18): * Single equations (assignments): 17 * 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 0.0001642/0.01638, allocations: 180.5 kB / 277.1 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.824e-05/0.01644, allocations: 23.91 kB / 277.1 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.816e-05/0.01649, allocations: 17.12 kB / 277.2 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.01649, allocations: 4 kB / 277.2 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.0165, allocations: 0 / 277.2 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.0165, allocations: 8.016 kB / 277.2 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009504/0.01745, allocations: 0.5935 MB / 277.8 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.01745, allocations: 0 / 277.8 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001555/0.01761, allocations: 31.92 kB / 277.8 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001307/0.01774, allocations: 35.7 kB / 277.8 MB, free: 11.69 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.675e-05/0.01776, allocations: 4 kB / 277.8 MB, free: 11.69 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001668/0.01943, allocations: 1.873 MB / 279.7 MB, free: 9.684 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.01943, allocations: 4 kB / 279.7 MB, free: 9.68 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005964/0.02003, allocations: 397.9 kB / 280.1 MB, free: 9.27 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.259e-05/0.02005, allocations: 15.89 kB / 280.1 MB, free: 9.254 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.467e-05/0.02007, allocations: 7.938 kB / 280.1 MB, free: 9.246 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.269e-05/0.02017, allocations: 4 kB / 280.1 MB, free: 9.242 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.212e-05/0.02022, allocations: 20.03 kB / 280.1 MB, free: 9.223 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.02023, allocations: 7.938 kB / 280.1 MB, free: 9.215 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000129/0.02036, allocations: 150.4 kB / 280.3 MB, free: 9.07 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.02036, allocations: 0 / 280.3 MB, free: 9.07 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003028/0.02066, allocations: 48 kB / 280.3 MB, free: 9.023 MB / 266.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 0.0001358/0.0208, allocations: 99.19 kB / 280.4 MB, free: 8.918 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005876/0.02138, allocations: 321.5 kB / 280.8 MB, free: 8.582 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.02139, allocations: 4 kB / 280.8 MB, free: 8.578 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003454/0.02174, allocations: 265.3 kB / 281 MB, free: 8.297 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.02208, allocations: 24.22 kB / 281 MB, free: 8.273 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008978/0.02297, allocations: 438.5 kB / 281.5 MB, free: 7.816 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001279/0.0231, allocations: 124.2 kB / 281.6 MB, free: 7.68 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.543e-05/0.02317, allocations: 17.48 kB / 281.6 MB, free: 7.66 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.496e-05/0.02321, allocations: 12.5 kB / 281.6 MB, free: 7.645 MB / 266.7 MB Notification: Performance of SimCode: time 4.71e-07/0.02321, allocations: 4 kB / 281.6 MB, free: 7.641 MB / 266.7 MB Notification: Performance of Templates: time 0.006014/0.02923, allocations: 1.861 MB / 283.5 MB, free: 5.805 MB / 266.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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.320261060027406]