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: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000824/0.000824, allocations: 93.53 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009612/0.0009612, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.199/1.199, allocations: 227.7 MB / 246.8 MB, free: 11.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001955/0.0001956, allocations: 8 kB / 307.8 MB, free: 0.7305 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07688/0.07709, allocations: 51.53 MB / 359.4 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.001905/0.07903, allocations: 1.821 MB / 361.2 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008837/0.07993, allocations: 0.5727 MB / 361.8 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.08006, allocations: 7.938 kB / 361.8 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001098/0.08018, allocations: 23.84 kB / 361.8 MB, free: 10.76 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001091/0.08029, allocations: 39.64 kB / 361.8 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001444/0.08044, allocations: 47.94 kB / 361.9 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001889/0.08064, allocations: 195.1 kB / 362.1 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.08078, allocations: 61.55 kB / 362.1 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.131e-05/0.08087, allocations: 71.66 kB / 362.2 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.08099, allocations: 75.62 kB / 362.3 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.25e-05/0.08102, allocations: 8 kB / 362.3 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.353e-05/0.08104, allocations: 8 kB / 362.3 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.684e-05/0.08108, allocations: 23.92 kB / 362.3 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.391e-05/0.08117, allocations: 109.2 kB / 362.4 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001711/0.08134, allocations: 203.5 kB / 362.6 MB, free: 9.922 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.08135, allocations: 0 / 362.6 MB, free: 9.922 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.08136, allocations: 0 / 362.6 MB, free: 9.922 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.08137, allocations: 0 / 362.6 MB, free: 9.922 MB / 302.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.0005111/0.08189, allocations: 446.9 kB / 363 MB, free: 9.438 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.08193, allocations: 8.031 kB / 363.1 MB, free: 9.43 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.653e-05/0.08198, allocations: 46.73 kB / 363.1 MB, free: 9.375 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.601e-05/0.08202, allocations: 20.75 kB / 363.1 MB, free: 9.355 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001898/0.08222, allocations: 228 kB / 363.3 MB, free: 9.094 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.08224, allocations: 16.31 kB / 363.4 MB, free: 9.078 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.948e-05/0.08227, allocations: 12.38 kB / 363.4 MB, free: 9.066 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000286/0.08256, allocations: 165.5 kB / 363.5 MB, free: 8.898 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.08259, allocations: 0 / 363.5 MB, free: 8.898 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.08261, allocations: 12 kB / 363.5 MB, free: 8.887 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.08262, allocations: 4 kB / 363.5 MB, free: 8.883 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002142/0.08284, allocations: 103.9 kB / 363.6 MB, free: 8.781 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007577/0.08361, allocations: 0.6002 MB / 364.2 MB, free: 8.125 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002134/0.08383, allocations: 118.6 kB / 364.4 MB, free: 8 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.743e-05/0.08393, allocations: 49.03 kB / 364.4 MB, free: 7.949 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.309e-05/0.08395, allocations: 0 / 364.4 MB, free: 7.949 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.08397, allocations: 42.56 kB / 364.5 MB, free: 7.898 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 8.82e-07/0.08398, allocations: 0 / 364.5 MB, free: 7.898 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.001336/0.08532, allocations: 0.7963 MB / 365.2 MB, free: 7.012 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.958e-05/0.08536, allocations: 63.33 kB / 365.3 MB, free: 6.938 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.08549, allocations: 163.9 kB / 365.5 MB, free: 6.77 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.08551, allocations: 29.7 kB / 365.5 MB, free: 6.734 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.382e-05/0.08558, allocations: 132.2 kB / 365.6 MB, free: 6.602 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.122e-05/0.08563, allocations: 63.09 kB / 365.7 MB, free: 6.539 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.105e-05/0.08566, allocations: 21.72 kB / 365.7 MB, free: 6.512 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.567e-05/0.08575, allocations: 326.8 kB / 366 MB, free: 6.184 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.747e-05/0.08586, allocations: 47.97 kB / 366.1 MB, free: 6.137 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001112/0.08598, allocations: 83.34 kB / 366.2 MB, free: 6.043 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002067/0.08619, allocations: 127.4 kB / 366.3 MB, free: 5.906 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.0862, allocations: 0 / 366.3 MB, free: 5.906 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003617/0.08657, allocations: 224.3 kB / 366.5 MB, free: 5.68 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.08659, allocations: 4 kB / 366.5 MB, free: 5.676 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.0866, allocations: 4 kB / 366.5 MB, free: 5.672 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001426/0.08675, allocations: 36.88 kB / 366.5 MB, free: 5.633 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.08689, allocations: 35.97 kB / 366.6 MB, free: 5.598 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001005/0.08791, allocations: 1.425 MB / 368 MB, free: 4.035 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.032e-05/0.088, allocations: 12.09 kB / 368 MB, free: 4.023 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.08802, allocations: 4 kB / 368 MB, free: 4.02 MB / 302.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 9.666e-05/0.08812, allocations: 137.7 kB / 368.2 MB, free: 3.875 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.449e-05/0.08816, allocations: 15.81 kB / 368.2 MB, free: 3.859 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.247e-05/0.08822, allocations: 25.17 kB / 368.2 MB, free: 3.832 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.08822, allocations: 0 / 368.2 MB, free: 3.832 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/0.08823, allocations: 4 kB / 368.2 MB, free: 3.828 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.08824, allocations: 0 / 368.2 MB, free: 3.828 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006993/0.08894, allocations: 0.5916 MB / 368.8 MB, free: 3.172 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.08896, allocations: 0 / 368.8 MB, free: 3.172 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001383/0.0891, allocations: 35.97 kB / 368.8 MB, free: 3.137 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.97e-05/0.08921, allocations: 36.78 kB / 368.9 MB, free: 3.098 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.08923, allocations: 4 kB / 368.9 MB, free: 3.094 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008747/0.09011, allocations: 1.37 MB / 370.2 MB, free: 1.59 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.09012, allocations: 0 / 370.2 MB, free: 1.59 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004429/0.09057, allocations: 340 kB / 370.6 MB, free: 1.238 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.061e-05/0.09063, allocations: 97.06 kB / 370.7 MB, free: 1.125 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.113e-05/0.09065, allocations: 11.94 kB / 370.7 MB, free: 1.113 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.461e-05/0.09075, allocations: 4 kB / 370.7 MB, free: 1.109 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.552e-05/0.0908, allocations: 15.98 kB / 370.7 MB, free: 1.094 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.796e-06/0.09081, allocations: 4 kB / 370.7 MB, free: 1.09 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.378e-05/0.09089, allocations: 115.2 kB / 370.8 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.09089, allocations: 0 / 370.8 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002646/0.09116, allocations: 48 kB / 370.9 MB, free: 0.9297 MB / 302.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.0006556/0.09183, allocations: 0.8797 MB / 371.7 MB, free: 24 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.1278/0.2197, allocations: 254.1 kB / 372 MB, free: 18.74 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2197, allocations: 0.6875 kB / 372 MB, free: 18.74 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002396/0.22, allocations: 188 kB / 372.2 MB, free: 18.63 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003549/0.2203, allocations: 32.03 kB / 372.2 MB, free: 18.63 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002098/0.2224, allocations: 2.257 MB / 374.5 MB, free: 17.19 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001326/0.2226, allocations: 0.7338 MB / 375.2 MB, free: 16.49 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.595e-05/0.2227, allocations: 18.06 kB / 375.2 MB, free: 16.49 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.824e-05/0.2227, allocations: 48.78 kB / 375.3 MB, free: 16.48 MB / 302.1 MB Notification: Performance of SimCode: time 9.72e-07/0.2227, allocations: 1 kB / 375.3 MB, free: 16.48 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4059/0.6287, allocations: 3.374 MB / 378.6 MB, free: 16.19 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001557/0.6289, allocations: 227.4 kB / 378.9 MB, free: 15.93 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.619/2.248, allocations: 0 / 378.9 MB, free: 15.93 MB / 302.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Rotational_Examples_RollingWheel_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Rotational_Examples_RollingWheel.fmu > 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