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: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001943/0.001943, allocations: 110.2 kB / 16.92 MB, free: 5.785 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.001943/0.001943, allocations: 191.3 kB / 17.85 MB, free: 5.164 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.437/2.437, allocations: 222.9 MB / 241.5 MB, free: 15.23 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 43.58 kB / 300.7 MB, free: 5.723 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1835/0.185, allocations: 49.44 MB / 350.2 MB, free: 4.266 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.006233/0.1913, allocations: 2.102 MB / 352.3 MB, free: 2.145 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001798/0.1932, allocations: 0.5376 MB / 352.8 MB, free: 1.602 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001931/0.1934, allocations: 11.94 kB / 352.8 MB, free: 1.59 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00023/0.1936, allocations: 31.66 kB / 352.8 MB, free: 1.559 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001953/0.1939, allocations: 51.55 kB / 352.9 MB, free: 1.508 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002848/0.1942, allocations: 55.88 kB / 352.9 MB, free: 1.453 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003867/0.1946, allocations: 207.1 kB / 353.1 MB, free: 1.25 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000283/0.1949, allocations: 77.45 kB / 353.2 MB, free: 1.172 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001407/0.195, allocations: 79.66 kB / 353.3 MB, free: 1.094 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002904/0.1953, allocations: 87.61 kB / 353.4 MB, free: 1.008 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.062e-05/0.1954, allocations: 16 kB / 353.4 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.382e-05/0.1955, allocations: 16 kB / 353.4 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.363e-05/0.1956, allocations: 35.92 kB / 353.5 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001453/0.1957, allocations: 91.53 kB / 353.5 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003629/0.1961, allocations: 211.5 kB / 353.8 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.1961, allocations: 0 / 353.8 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.905e-06/0.1961, allocations: 0 / 353.8 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.1961, allocations: 0 / 353.8 MB, free: 0.6445 MB / 286.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.001081/0.1972, allocations: 470.9 kB / 354.2 MB, free: 140 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.959e-05/0.1973, allocations: 8.031 kB / 354.2 MB, free: 132 kB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.431e-05/0.1974, allocations: 46.73 kB / 354.3 MB, free: 76 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.749e-05/0.1975, allocations: 24.66 kB / 354.3 MB, free: 52 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004439/0.198, allocations: 224 kB / 354.5 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.441e-05/0.198, allocations: 16.38 kB / 354.5 MB, free: 15.78 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.286e-05/0.1981, allocations: 16.28 kB / 354.5 MB, free: 15.76 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005719/0.1987, allocations: 169.3 kB / 354.7 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/0.1987, allocations: 0 / 354.7 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.857e-05/0.1987, allocations: 4 kB / 354.7 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.1988, allocations: 4 kB / 354.7 MB, free: 15.58 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003834/0.1992, allocations: 99.94 kB / 354.8 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00152/0.2007, allocations: 0.5927 MB / 355.4 MB, free: 14.83 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003981/0.2011, allocations: 118.5 kB / 355.5 MB, free: 14.71 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001507/0.2013, allocations: 44.78 kB / 355.6 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.2013, allocations: 8 kB / 355.6 MB, free: 14.65 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/0.2014, allocations: 30.56 kB / 355.6 MB, free: 14.61 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 2.424e-06/0.2014, allocations: 0 / 355.6 MB, free: 14.61 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.002531/0.2039, allocations: 0.8068 MB / 356.4 MB, free: 13.72 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.762e-05/0.204, allocations: 55.34 kB / 356.5 MB, free: 13.65 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003697/0.2044, allocations: 158.2 kB / 356.6 MB, free: 13.49 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.818e-05/0.2044, allocations: 25.7 kB / 356.6 MB, free: 13.46 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/0.2046, allocations: 132.3 kB / 356.8 MB, free: 13.32 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001858/0.2048, allocations: 67 kB / 356.8 MB, free: 13.26 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.2049, allocations: 41.7 kB / 356.9 MB, free: 13.21 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002362/0.2051, allocations: 330.8 kB / 357.2 MB, free: 12.88 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001804/0.2053, allocations: 39.98 kB / 357.2 MB, free: 12.84 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002415/0.2056, allocations: 78.53 kB / 357.3 MB, free: 12.75 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004254/0.206, allocations: 135.3 kB / 357.4 MB, free: 12.61 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2061, allocations: 0 / 357.4 MB, free: 12.61 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006708/0.2067, allocations: 208.7 kB / 357.6 MB, free: 12.4 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.23e-05/0.2068, allocations: 11.98 kB / 357.7 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.2068, allocations: 0 / 357.7 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002798/0.2071, allocations: 40.91 kB / 357.7 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002607/0.2074, allocations: 27.98 kB / 357.7 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002887/0.2103, allocations: 1.535 MB / 359.3 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001715/0.2105, allocations: 8.031 kB / 359.3 MB, free: 10.63 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/0.2105, allocations: 4 kB / 359.3 MB, free: 10.62 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 0.000274/0.2108, allocations: 133.8 kB / 359.4 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.47e-05/0.2109, allocations: 19.81 kB / 359.4 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.52e-05/0.211, allocations: 21.17 kB / 359.4 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.211, allocations: 0 / 359.4 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-05/0.211, allocations: 7.938 kB / 359.5 MB, free: 10.44 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.211, allocations: 0 / 359.5 MB, free: 10.44 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00146/0.2125, allocations: 0.5878 MB / 360 MB, free: 9.785 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.896e-06/0.2125, allocations: 4 kB / 360 MB, free: 9.781 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002379/0.2128, allocations: 23.98 kB / 360.1 MB, free: 9.758 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000206/0.213, allocations: 40.8 kB / 360.1 MB, free: 9.715 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.198e-05/0.213, allocations: 4 kB / 360.1 MB, free: 9.711 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002497/0.2155, allocations: 1.481 MB / 361.6 MB, free: 8.086 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.2156, allocations: 0 / 361.6 MB, free: 8.086 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009234/0.2165, allocations: 346.6 kB / 361.9 MB, free: 7.73 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.2166, allocations: 88.95 kB / 362 MB, free: 7.625 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.42e-05/0.2167, allocations: 4 kB / 362 MB, free: 7.621 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/0.2169, allocations: 8.125 kB / 362 MB, free: 7.613 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.413e-05/0.2169, allocations: 11.98 kB / 362 MB, free: 7.602 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.185e-05/0.217, allocations: 7.984 kB / 362.1 MB, free: 7.594 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001644/0.2171, allocations: 124.1 kB / 362.2 MB, free: 7.473 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2172, allocations: 0 / 362.2 MB, free: 7.473 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006995/0.2179, allocations: 47.94 kB / 362.2 MB, free: 7.426 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.001399/0.2193, allocations: 0.873 MB / 363.1 MB, free: 6.523 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009652/0.2203, allocations: 266.4 kB / 363.4 MB, free: 6.25 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.2203, allocations: 4.188 kB / 363.4 MB, free: 6.246 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004069/0.2207, allocations: 186.6 kB / 363.5 MB, free: 6.051 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007024/0.2214, allocations: 30.28 kB / 363.6 MB, free: 6.023 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005106/0.2266, allocations: 2.112 MB / 365.7 MB, free: 3.805 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000593/0.2272, allocations: 0.7242 MB / 366.4 MB, free: 3.055 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001479/0.2273, allocations: 17.55 kB / 366.4 MB, free: 3.039 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001298/0.2275, allocations: 51.42 kB / 366.5 MB, free: 2.988 MB / 302.1 MB Notification: Performance of SimCode: time 1.362e-06/0.2275, allocations: 0 / 366.5 MB, free: 2.988 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3331/0.5606, allocations: 3.66 MB / 370.1 MB, free: 26 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.01/15.57, allocations: 7.594 kB / 370.1 MB, free: 26 MB / 302.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_RollingWheel.fmu > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.csv","/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