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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=10000,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=10000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 108.2 kB / 17.74 MB, free: 5.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 183.1 kB / 18.67 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001048/0.001048, allocations: 51.92 kB / 352 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.2955, allocations: 49.43 MB / 401.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003932/0.2995, allocations: 2.112 MB / 403.5 MB, free: 6.738 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001187/0.3007, allocations: 0.5376 MB / 404 MB, free: 6.195 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002259/0.301, allocations: 7.938 kB / 404.1 MB, free: 6.188 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002083/0.3012, allocations: 27.72 kB / 404.1 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001809/0.3014, allocations: 59.48 kB / 404.1 MB, free: 6.102 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002262/0.3017, allocations: 43.94 kB / 404.2 MB, free: 6.059 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003043/0.302, allocations: 219 kB / 404.4 MB, free: 5.844 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000215/0.3022, allocations: 73.62 kB / 404.5 MB, free: 5.773 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001189/0.3023, allocations: 79.66 kB / 404.5 MB, free: 5.695 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001625/0.3025, allocations: 83.62 kB / 404.6 MB, free: 5.613 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.848e-05/0.3026, allocations: 16 kB / 404.6 MB, free: 5.598 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.989e-05/0.3026, allocations: 16 kB / 404.7 MB, free: 5.582 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.722e-05/0.3027, allocations: 35.91 kB / 404.7 MB, free: 5.547 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.999e-05/0.3028, allocations: 95.53 kB / 404.8 MB, free: 5.453 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002703/0.3031, allocations: 208.4 kB / 405 MB, free: 5.254 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.3031, allocations: 0 / 405 MB, free: 5.254 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3031, allocations: 0 / 405 MB, free: 5.254 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.3031, allocations: 4 kB / 405 MB, free: 5.25 MB / 318.1 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.0007408/0.3038, allocations: 474.8 kB / 405.5 MB, free: 4.738 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.3039, allocations: 8.031 kB / 405.5 MB, free: 4.73 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.455e-05/0.304, allocations: 20.75 kB / 405.5 MB, free: 4.711 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003167/0.3043, allocations: 228 kB / 405.7 MB, free: 4.449 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.3043, allocations: 12.38 kB / 405.7 MB, free: 4.438 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.708e-05/0.3044, allocations: 24.31 kB / 405.7 MB, free: 4.414 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003416/0.3047, allocations: 149.7 kB / 405.9 MB, free: 4.262 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.3047, allocations: 3.984 kB / 405.9 MB, free: 4.258 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.074e-05/0.3048, allocations: 8 kB / 405.9 MB, free: 4.25 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.3048, allocations: 4 kB / 405.9 MB, free: 4.246 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002383/0.305, allocations: 107.7 kB / 406 MB, free: 4.141 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009413/0.306, allocations: 0.5926 MB / 406.6 MB, free: 3.492 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002465/0.3062, allocations: 116.8 kB / 406.7 MB, free: 3.371 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.3063, allocations: 44.83 kB / 406.8 MB, free: 3.324 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.3064, allocations: 4 kB / 406.8 MB, free: 3.32 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.3064, allocations: 38.5 kB / 406.8 MB, free: 3.273 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.693e-06/0.3064, allocations: 0 / 406.8 MB, free: 3.273 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.00156/0.308, allocations: 0.7965 MB / 407.6 MB, free: 2.383 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.308, allocations: 55.31 kB / 407.7 MB, free: 2.316 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001655/0.3082, allocations: 158.2 kB / 407.8 MB, free: 2.152 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.3082, allocations: 33.64 kB / 407.8 MB, free: 2.113 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.662e-05/0.3083, allocations: 132.3 kB / 408 MB, free: 1.98 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.122e-05/0.3084, allocations: 59.11 kB / 408 MB, free: 1.922 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.184e-05/0.3085, allocations: 37.7 kB / 408.1 MB, free: 1.879 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.3086, allocations: 330.8 kB / 408.4 MB, free: 1.547 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.3087, allocations: 47.97 kB / 408.4 MB, free: 1.5 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001245/0.3088, allocations: 72.72 kB / 408.5 MB, free: 1.418 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000228/0.3091, allocations: 134.7 kB / 408.6 MB, free: 1.277 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3091, allocations: 0 / 408.6 MB, free: 1.277 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004067/0.3095, allocations: 214 kB / 408.8 MB, free: 1.059 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.3095, allocations: 4 kB / 408.8 MB, free: 1.055 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.3095, allocations: 4 kB / 408.9 MB, free: 1.051 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001929/0.3097, allocations: 36.83 kB / 408.9 MB, free: 1.012 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001641/0.3099, allocations: 36.05 kB / 408.9 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001363/0.3113, allocations: 1.535 MB / 410.5 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.3114, allocations: 7.969 kB / 410.5 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.3114, allocations: 8 kB / 410.5 MB, free: 15.28 MB / 334.1 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.000131/0.3116, allocations: 133.8 kB / 410.6 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.962e-05/0.3116, allocations: 11.91 kB / 410.6 MB, free: 15.13 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.768e-05/0.3117, allocations: 21.19 kB / 410.6 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3117, allocations: 0 / 410.6 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.3117, allocations: 8.062 kB / 410.6 MB, free: 15.1 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.3117, allocations: 3.938 kB / 410.6 MB, free: 15.1 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000926/0.3127, allocations: 0.5866 MB / 411.2 MB, free: 14.45 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3127, allocations: 0 / 411.2 MB, free: 14.45 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001591/0.3128, allocations: 27.98 kB / 411.3 MB, free: 14.42 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001254/0.313, allocations: 36.84 kB / 411.3 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.313, allocations: 0 / 411.3 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001204/0.3142, allocations: 1.488 MB / 412.8 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.3142, allocations: 0 / 412.8 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005222/0.3148, allocations: 339.9 kB / 413.1 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.148e-05/0.3148, allocations: 89.05 kB / 413.2 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.3149, allocations: 4.125 kB / 413.2 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.315, allocations: 15.98 kB / 413.2 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.267e-05/0.315, allocations: 11.98 kB / 413.2 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.3151, allocations: 8 kB / 413.2 MB, free: 12.25 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.386e-05/0.3152, allocations: 115.2 kB / 413.4 MB, free: 12.13 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3152, allocations: 0 / 413.4 MB, free: 12.13 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003176/0.3155, allocations: 44 kB / 413.4 MB, free: 12.09 MB / 334.1 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.0001329/0.3156, allocations: 115.6 kB / 413.5 MB, free: 11.97 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005326/0.3162, allocations: 250.5 kB / 413.8 MB, free: 11.71 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.3162, allocations: 4 kB / 413.8 MB, free: 11.71 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002684/0.3165, allocations: 190.5 kB / 413.9 MB, free: 11.51 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003667/0.3168, allocations: 26.95 kB / 414 MB, free: 11.48 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009656/0.3178, allocations: 0.5128 MB / 414.5 MB, free: 10.94 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.3182, allocations: 0.7398 MB / 415.2 MB, free: 10.18 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.299e-05/0.3182, allocations: 15.44 kB / 415.2 MB, free: 10.16 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3182, allocations: 0 / 415.2 MB, free: 10.16 MB / 334.1 MB Notification: Performance of Templates: time 0.005154/0.3234, allocations: 2.883 MB / 418.1 MB, free: 7.277 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches