Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_3_2_3_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.001301/0.001301, allocations: 114 kB / 17.74 MB, free: 5.355 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.001298/0.001299, allocations: 183.1 kB / 18.66 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.382/1.382, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 55.94 kB / 328 MB, free: 3.836 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09632/0.09768, allocations: 46.62 MB / 374.6 MB, free: 5.109 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003685/0.1014, allocations: 2.121 MB / 376.8 MB, free: 2.977 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001211/0.1027, allocations: 0.5889 MB / 377.3 MB, free: 2.379 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002265/0.1029, allocations: 4 kB / 377.3 MB, free: 2.375 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002177/0.1032, allocations: 35.66 kB / 377.4 MB, free: 2.34 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001943/0.1034, allocations: 47.5 kB / 377.4 MB, free: 2.293 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002423/0.1036, allocations: 55.94 kB / 377.5 MB, free: 2.238 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000337/0.104, allocations: 207 kB / 377.7 MB, free: 2.035 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002099/0.1042, allocations: 73.62 kB / 377.8 MB, free: 1.965 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000145/0.1044, allocations: 71.78 kB / 377.8 MB, free: 1.895 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001545/0.1045, allocations: 83.62 kB / 377.9 MB, free: 1.812 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.61e-05/0.1046, allocations: 19.98 kB / 377.9 MB, free: 1.793 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.599e-05/0.1046, allocations: 20 kB / 377.9 MB, free: 1.773 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.338e-05/0.1047, allocations: 39.78 kB / 378 MB, free: 1.734 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.1048, allocations: 91.61 kB / 378.1 MB, free: 1.645 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002779/0.105, allocations: 219.1 kB / 378.3 MB, free: 1.43 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.1051, allocations: 0 / 378.3 MB, free: 1.43 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1051, allocations: 0 / 378.3 MB, free: 1.43 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.1051, allocations: 0 / 378.3 MB, free: 1.43 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.0007127/0.1058, allocations: 478.6 kB / 378.8 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.1059, allocations: 8.031 kB / 378.8 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.655e-05/0.1059, allocations: 50.73 kB / 378.8 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.814e-05/0.106, allocations: 24.8 kB / 378.8 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003033/0.1063, allocations: 216.1 kB / 379 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.1063, allocations: 16.38 kB / 379.1 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.719e-05/0.1063, allocations: 20.33 kB / 379.1 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000318/0.1067, allocations: 169.2 kB / 379.2 MB, free: 376 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.1068, allocations: 0 / 379.2 MB, free: 376 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.956e-05/0.1068, allocations: 8 kB / 379.3 MB, free: 368 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.1068, allocations: 8 kB / 379.3 MB, free: 360 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002417/0.107, allocations: 95.94 kB / 379.4 MB, free: 264 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1877/0.2947, allocations: 0.5807 MB / 379.9 MB, free: 12.78 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002612/0.295, allocations: 115 kB / 380.1 MB, free: 12.75 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.416e-05/0.2951, allocations: 44.86 kB / 380.1 MB, free: 12.75 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.2952, allocations: 2.125 kB / 380.1 MB, free: 12.75 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.2952, allocations: 35.81 kB / 380.1 MB, free: 12.71 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 2.155e-06/0.2952, allocations: 0 / 380.1 MB, free: 12.71 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.001483/0.2967, allocations: 0.8047 MB / 380.9 MB, free: 12.24 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.2967, allocations: 54 kB / 381 MB, free: 12.18 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.2969, allocations: 164.2 kB / 381.1 MB, free: 12.07 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.2969, allocations: 30.39 kB / 381.2 MB, free: 12.04 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.602e-05/0.297, allocations: 128.4 kB / 381.3 MB, free: 11.95 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.661e-05/0.297, allocations: 64.05 kB / 381.4 MB, free: 11.91 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.622e-05/0.2971, allocations: 36.2 kB / 381.4 MB, free: 11.89 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.955e-05/0.2971, allocations: 324.4 kB / 381.7 MB, free: 11.58 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.592e-05/0.2972, allocations: 43.67 kB / 381.8 MB, free: 11.58 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/0.2973, allocations: 84.12 kB / 381.8 MB, free: 11.54 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001986/0.2975, allocations: 133 kB / 382 MB, free: 11.51 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.2976, allocations: 0 / 382 MB, free: 11.51 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003649/0.2979, allocations: 213.2 kB / 382.2 MB, free: 11.46 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.298, allocations: 6.125 kB / 382.2 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.298, allocations: 3.109 kB / 382.2 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001953/0.2982, allocations: 37.41 kB / 382.2 MB, free: 11.45 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/0.2984, allocations: 33.78 kB / 382.3 MB, free: 11.45 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001038/0.2994, allocations: 1.538 MB / 383.8 MB, free: 10.05 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.129e-05/0.2995, allocations: 7.734 kB / 383.8 MB, free: 10.04 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.697e-05/0.2995, allocations: 9.922 kB / 383.8 MB, free: 10.04 MB / 318.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.513e-05/0.2996, allocations: 134.3 kB / 383.9 MB, free: 9.906 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.302e-05/0.2997, allocations: 16.05 kB / 384 MB, free: 9.898 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.263e-05/0.2997, allocations: 18.44 kB / 384 MB, free: 9.891 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.2997, allocations: 2.125 kB / 384 MB, free: 9.891 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.2998, allocations: 1 kB / 384 MB, free: 9.891 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.2998, allocations: 2.5 kB / 384 MB, free: 9.891 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008254/0.3006, allocations: 0.5988 MB / 384.6 MB, free: 9.434 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3006, allocations: 1.406 kB / 384.6 MB, free: 9.434 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001472/0.3008, allocations: 28.91 kB / 384.6 MB, free: 9.434 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001054/0.3009, allocations: 34.73 kB / 384.6 MB, free: 9.422 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.3009, allocations: 5.062 kB / 384.7 MB, free: 9.418 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007978/0.3017, allocations: 1.473 MB / 386.1 MB, free: 7.957 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.3017, allocations: 9.188 kB / 386.1 MB, free: 7.949 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004363/0.3022, allocations: 334 kB / 386.5 MB, free: 7.734 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.179e-05/0.3022, allocations: 92.62 kB / 386.6 MB, free: 7.629 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.3022, allocations: 6.016 kB / 386.6 MB, free: 7.625 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.804e-05/0.3023, allocations: 4.516 kB / 386.6 MB, free: 7.625 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.422e-05/0.3024, allocations: 17.72 kB / 386.6 MB, free: 7.617 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.3024, allocations: 5.406 kB / 386.6 MB, free: 7.617 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.674e-05/0.3025, allocations: 116.3 kB / 386.7 MB, free: 7.531 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3025, allocations: 0 / 386.7 MB, free: 7.531 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002957/0.3028, allocations: 47.3 kB / 386.7 MB, free: 7.523 MB / 318.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.0006246/0.3034, allocations: 0.8724 MB / 387.6 MB, free: 6.77 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004545/0.3039, allocations: 250.8 kB / 387.9 MB, free: 6.617 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3039, allocations: 1.469 kB / 387.9 MB, free: 6.617 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002295/0.3041, allocations: 201.7 kB / 388.1 MB, free: 6.469 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003613/0.3045, allocations: 34.33 kB / 388.1 MB, free: 6.457 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002201/0.3067, allocations: 2.137 MB / 390.2 MB, free: 4.816 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001747/0.3069, allocations: 0.7378 MB / 391 MB, free: 4.105 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.08e-05/0.307, allocations: 17.45 kB / 391 MB, free: 4.102 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.687e-05/0.3071, allocations: 47.98 kB / 391 MB, free: 4.066 MB / 318.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3071, allocations: 1.156 kB / 391 MB, free: 4.066 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02252/0.3296, allocations: 3.75 MB / 394.8 MB, free: 3.324 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.482/9.812, allocations: 13.36 kB / 394.8 MB, free: 3.312 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Mechanics_Rotational_Examples_RollingWheel.fmu > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches