Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001458/0.001458, allocations: 121.7 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001502/0.001501, allocations: 208.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 59.91 kB / 359.4 MB, free: 12.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.2763, allocations: 50.54 MB / 409.9 MB, free: 1.637 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003557/0.2799, allocations: 2.121 MB / 412 MB, free: 15.51 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001231/0.2812, allocations: 0.5649 MB / 412.6 MB, free: 14.94 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002175/0.2815, allocations: 11.88 kB / 412.6 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002018/0.2817, allocations: 31.72 kB / 412.6 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001683/0.2819, allocations: 55.5 kB / 412.7 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000223/0.2821, allocations: 55.92 kB / 412.8 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002966/0.2824, allocations: 203.1 kB / 412.9 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001819/0.2826, allocations: 69.66 kB / 413 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.2827, allocations: 79.64 kB / 413.1 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001644/0.2829, allocations: 83.62 kB / 413.2 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.437e-05/0.283, allocations: 19.94 kB / 413.2 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.575e-05/0.283, allocations: 16 kB / 413.2 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.503e-05/0.283, allocations: 35.92 kB / 413.2 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.2832, allocations: 99.52 kB / 413.3 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002629/0.2834, allocations: 208.4 kB / 413.5 MB, free: 13.98 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2834, allocations: 0 / 413.5 MB, free: 13.98 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2834, allocations: 0 / 413.5 MB, free: 13.98 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.2835, allocations: 0 / 413.5 MB, free: 13.98 MB / 334.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.0007071/0.2842, allocations: 470.8 kB / 414 MB, free: 13.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.2842, allocations: 12.03 kB / 414 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.381e-05/0.2843, allocations: 24.73 kB / 414 MB, free: 13.44 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003367/0.2846, allocations: 228 kB / 414.3 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.262e-05/0.2847, allocations: 16.16 kB / 414.3 MB, free: 13.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.836e-05/0.2847, allocations: 20.31 kB / 414.3 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003455/0.285, allocations: 153.9 kB / 414.5 MB, free: 12.99 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.2851, allocations: 0 / 414.5 MB, free: 12.99 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.966e-05/0.2851, allocations: 8 kB / 414.5 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.2851, allocations: 11.98 kB / 414.5 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002257/0.2853, allocations: 107.7 kB / 414.6 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008943/0.2862, allocations: 0.5887 MB / 415.2 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002337/0.2865, allocations: 110.6 kB / 415.3 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.169e-05/0.2866, allocations: 52.83 kB / 415.3 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.2866, allocations: 0 / 415.3 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.2867, allocations: 34.56 kB / 415.4 MB, free: 12 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.192e-06/0.2867, allocations: 0 / 415.4 MB, free: 12 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.001587/0.2883, allocations: 0.8004 MB / 416.2 MB, free: 11.11 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/0.2883, allocations: 55.41 kB / 416.2 MB, free: 11.05 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.2885, allocations: 166.1 kB / 416.4 MB, free: 10.88 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.2885, allocations: 25.7 kB / 416.4 MB, free: 10.84 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.98e-05/0.2886, allocations: 132.3 kB / 416.5 MB, free: 10.71 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.558e-05/0.2886, allocations: 59.11 kB / 416.6 MB, free: 10.65 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.253e-05/0.2887, allocations: 41.7 kB / 416.6 MB, free: 10.61 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.2888, allocations: 330.8 kB / 417 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.752e-05/0.289, allocations: 39.97 kB / 417 MB, free: 10.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001207/0.2891, allocations: 82.97 kB / 417.1 MB, free: 10.14 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000229/0.2893, allocations: 130.9 kB / 417.2 MB, free: 10.01 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.2893, allocations: 0 / 417.2 MB, free: 10.01 MB / 334.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003878/0.2897, allocations: 210 kB / 417.4 MB, free: 9.793 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.2897, allocations: 7.938 kB / 417.4 MB, free: 9.785 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.2898, allocations: 0 / 417.4 MB, free: 9.785 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001721/0.2899, allocations: 44.89 kB / 417.5 MB, free: 9.738 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001519/0.2901, allocations: 31.98 kB / 417.5 MB, free: 9.707 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00138/0.2915, allocations: 1.532 MB / 419 MB, free: 8.031 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.2916, allocations: 11.97 kB / 419 MB, free: 8.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.2916, allocations: 4 kB / 419 MB, free: 8.016 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.0001407/0.2918, allocations: 141.7 kB / 419.2 MB, free: 7.867 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.093e-05/0.2918, allocations: 15.81 kB / 419.2 MB, free: 7.852 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.571e-05/0.2919, allocations: 21.25 kB / 419.2 MB, free: 7.836 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.2919, allocations: 0 / 419.2 MB, free: 7.836 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.2919, allocations: 0 / 419.2 MB, free: 7.836 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.2919, allocations: 3.938 kB / 419.2 MB, free: 7.832 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008368/0.2927, allocations: 0.5916 MB / 419.8 MB, free: 7.172 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.2928, allocations: 0 / 419.8 MB, free: 7.172 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001508/0.2929, allocations: 31.98 kB / 419.8 MB, free: 7.141 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001139/0.293, allocations: 28.84 kB / 419.9 MB, free: 7.109 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.2931, allocations: 4 kB / 419.9 MB, free: 7.105 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00115/0.2942, allocations: 1.473 MB / 421.3 MB, free: 5.488 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.2942, allocations: 3.984 kB / 421.3 MB, free: 5.484 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000489/0.2947, allocations: 343.3 kB / 421.7 MB, free: 5.133 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.322e-05/0.2948, allocations: 85.05 kB / 421.8 MB, free: 5.031 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.628e-05/0.2948, allocations: 12 kB / 421.8 MB, free: 5.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.295, allocations: 3.984 kB / 421.8 MB, free: 5.016 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.024e-05/0.295, allocations: 15.98 kB / 421.8 MB, free: 5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.295, allocations: 4 kB / 421.8 MB, free: 4.996 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.142e-05/0.2951, allocations: 115.2 kB / 421.9 MB, free: 4.883 MB / 334.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.2951, allocations: 0 / 421.9 MB, free: 4.883 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003214/0.2955, allocations: 48 kB / 422 MB, free: 4.836 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.0001322/0.2956, allocations: 111.2 kB / 422.1 MB, free: 4.719 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004933/0.2961, allocations: 246.5 kB / 422.3 MB, free: 4.465 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2961, allocations: 0 / 422.3 MB, free: 4.465 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002637/0.2964, allocations: 202.5 kB / 422.5 MB, free: 4.254 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003462/0.2967, allocations: 30.52 kB / 422.5 MB, free: 4.227 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008962/0.2976, allocations: 0.4969 MB / 423 MB, free: 3.695 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000315/0.298, allocations: 0.7398 MB / 423.8 MB, free: 2.93 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.698e-05/0.298, allocations: 19.38 kB / 423.8 MB, free: 2.91 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.298, allocations: 0 / 423.8 MB, free: 2.91 MB / 334.1 MB Notification: Performance of Templates: time 0.004881/0.3029, allocations: 2.89 MB / 426.7 MB, free: 20 kB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches