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.001265/0.001265, allocations: 109.7 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001376/0.001376, allocations: 210.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.945/1.945, allocations: 227.4 MB / 247.6 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002506/0.002506, allocations: 63.89 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5114/0.514, allocations: 50.54 MB / 409.9 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.006106/0.5201, allocations: 2.12 MB / 412 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001955/0.5221, allocations: 0.5687 MB / 412.6 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003134/0.5225, allocations: 4 kB / 412.6 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003258/0.5229, allocations: 39.59 kB / 412.6 MB, free: 14.87 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002993/0.5232, allocations: 51.55 kB / 412.7 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003589/0.5236, allocations: 55.88 kB / 412.8 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005112/0.5242, allocations: 203.1 kB / 412.9 MB, free: 14.56 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003146/0.5245, allocations: 69.64 kB / 413 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001866/0.5247, allocations: 83.72 kB / 413.1 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002495/0.525, allocations: 83.61 kB / 413.2 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.614e-05/0.5251, allocations: 20 kB / 413.2 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.327e-05/0.5252, allocations: 16 kB / 413.2 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.982e-05/0.5252, allocations: 31.92 kB / 413.2 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001656/0.5254, allocations: 91.53 kB / 413.3 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004719/0.5259, allocations: 220.3 kB / 413.6 MB, free: 13.96 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.5259, allocations: 0 / 413.6 MB, free: 13.96 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.5259, allocations: 0 / 413.6 MB, free: 13.96 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.338e-05/0.526, allocations: 0 / 413.6 MB, free: 13.96 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.00118/0.5272, allocations: 474.8 kB / 414 MB, free: 13.45 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.85e-05/0.5272, allocations: 8.031 kB / 414 MB, free: 13.44 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.625e-05/0.5273, allocations: 20.75 kB / 414 MB, free: 13.42 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005553/0.5279, allocations: 227.9 kB / 414.3 MB, free: 13.16 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.166e-05/0.528, allocations: 16.16 kB / 414.3 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.916e-05/0.528, allocations: 16.38 kB / 414.3 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000603/0.5287, allocations: 153.9 kB / 414.4 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.747e-05/0.5287, allocations: 0 / 414.4 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.616e-05/0.5288, allocations: 15.97 kB / 414.5 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/0.5288, allocations: 4 kB / 414.5 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000461/0.5293, allocations: 107.7 kB / 414.6 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001662/0.5309, allocations: 0.5926 MB / 415.2 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004556/0.5314, allocations: 114.6 kB / 415.3 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001874/0.5316, allocations: 44.84 kB / 415.3 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.407e-05/0.5317, allocations: 3.984 kB / 415.3 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.352e-05/0.5318, allocations: 30.56 kB / 415.4 MB, free: 11.98 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 3.336e-06/0.5318, allocations: 3.938 kB / 415.4 MB, free: 11.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.002833/0.5346, allocations: 0.8015 MB / 416.2 MB, free: 11.09 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.102e-05/0.5347, allocations: 55.41 kB / 416.2 MB, free: 11.02 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002757/0.535, allocations: 158.2 kB / 416.4 MB, free: 10.86 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.328e-05/0.5351, allocations: 33.7 kB / 416.4 MB, free: 10.82 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.5352, allocations: 132.3 kB / 416.5 MB, free: 10.68 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.54e-05/0.5353, allocations: 63.09 kB / 416.6 MB, free: 10.62 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/0.5355, allocations: 37.7 kB / 416.6 MB, free: 10.58 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001949/0.5357, allocations: 326.8 kB / 416.9 MB, free: 10.25 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002153/0.5359, allocations: 43.97 kB / 417 MB, free: 10.21 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002446/0.5362, allocations: 82.78 kB / 417.1 MB, free: 10.12 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004659/0.5367, allocations: 126.6 kB / 417.2 MB, free: 9.984 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.5367, allocations: 0 / 417.2 MB, free: 9.984 MB / 334.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000803/0.5375, allocations: 218 kB / 417.4 MB, free: 9.762 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.5376, allocations: 4 kB / 417.4 MB, free: 9.758 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.5376, allocations: 0 / 417.4 MB, free: 9.758 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002965/0.5379, allocations: 40.83 kB / 417.5 MB, free: 9.715 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002984/0.5382, allocations: 35.92 kB / 417.5 MB, free: 9.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002412/0.5406, allocations: 1.532 MB / 419 MB, free: 8.004 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002003/0.5409, allocations: 11.94 kB / 419 MB, free: 7.992 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.044e-05/0.5409, allocations: 4 kB / 419 MB, free: 7.988 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.0002257/0.5412, allocations: 133.8 kB / 419.2 MB, free: 7.848 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.276e-05/0.5413, allocations: 23.73 kB / 419.2 MB, free: 7.824 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.781e-05/0.5414, allocations: 17.19 kB / 419.2 MB, free: 7.812 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.5414, allocations: 4 kB / 419.2 MB, free: 7.809 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.5414, allocations: 0 / 419.2 MB, free: 7.809 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.5414, allocations: 3.938 kB / 419.2 MB, free: 7.805 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001659/0.5431, allocations: 0.5905 MB / 419.8 MB, free: 7.148 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.5431, allocations: 0 / 419.8 MB, free: 7.148 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003021/0.5434, allocations: 35.92 kB / 419.8 MB, free: 7.113 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002167/0.5437, allocations: 24.84 kB / 419.9 MB, free: 7.086 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.234e-05/0.5437, allocations: 4 kB / 419.9 MB, free: 7.082 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002055/0.5458, allocations: 1.481 MB / 421.3 MB, free: 5.457 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.5458, allocations: 0 / 421.3 MB, free: 5.457 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009882/0.5468, allocations: 340 kB / 421.7 MB, free: 5.105 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001182/0.547, allocations: 89.05 kB / 421.8 MB, free: 5 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.039e-05/0.547, allocations: 0 / 421.8 MB, free: 5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002121/0.5473, allocations: 11.98 kB / 421.8 MB, free: 4.988 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.873e-05/0.5473, allocations: 11.98 kB / 421.8 MB, free: 4.977 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.935e-05/0.5474, allocations: 4 kB / 421.8 MB, free: 4.973 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001842/0.5476, allocations: 123.3 kB / 421.9 MB, free: 4.852 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5476, allocations: 0 / 421.9 MB, free: 4.852 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006373/0.5482, allocations: 44 kB / 422 MB, free: 4.809 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.0001972/0.5485, allocations: 103.1 kB / 422.1 MB, free: 4.699 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009467/0.5494, allocations: 254.5 kB / 422.3 MB, free: 4.438 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.5494, allocations: 4.125 kB / 422.3 MB, free: 4.434 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005047/0.55, allocations: 201.3 kB / 422.5 MB, free: 4.227 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006425/0.5506, allocations: 26.38 kB / 422.5 MB, free: 4.203 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001727/0.5524, allocations: 0.5009 MB / 423 MB, free: 3.668 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004621/0.5529, allocations: 0.7359 MB / 423.8 MB, free: 2.906 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.886e-05/0.553, allocations: 19.44 kB / 423.8 MB, free: 2.887 MB / 334.1 MB Notification: Performance of SimCode: time 7.21e-07/0.553, allocations: 7.938 kB / 423.8 MB, free: 2.879 MB / 334.1 MB Notification: Performance of Templates: time 0.008912/0.5619, allocations: 2.897 MB / 426.7 MB, free: 15.98 MB / 350.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