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.00134/0.001346, allocations: 106.5 kB / 17.73 MB, free: 5.363 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.00197/0.00197, allocations: 187.1 kB / 18.66 MB, free: 4.438 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.489/1.489, 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.001605/0.001605, allocations: 55.92 kB / 328 MB, free: 3.832 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09138/0.093, allocations: 46.62 MB / 374.6 MB, free: 5.102 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003449/0.0965, allocations: 2.124 MB / 376.8 MB, free: 2.965 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009772/0.0975, allocations: 0.5811 MB / 377.3 MB, free: 2.375 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.09761, allocations: 7.938 kB / 377.3 MB, free: 2.367 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001712/0.0978, allocations: 31.72 kB / 377.4 MB, free: 2.336 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001018/0.09791, allocations: 55.48 kB / 377.4 MB, free: 2.281 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001663/0.09808, allocations: 47.94 kB / 377.5 MB, free: 2.234 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002542/0.09834, allocations: 211 kB / 377.7 MB, free: 2.027 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001715/0.09852, allocations: 77.62 kB / 377.8 MB, free: 1.953 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.804e-05/0.09862, allocations: 71.72 kB / 377.8 MB, free: 1.883 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.09876, allocations: 83.62 kB / 377.9 MB, free: 1.801 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.315e-05/0.0988, allocations: 16 kB / 377.9 MB, free: 1.785 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.344e-05/0.09884, allocations: 16 kB / 377.9 MB, free: 1.77 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.363e-05/0.09889, allocations: 43.84 kB / 378 MB, free: 1.727 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001053/0.099, allocations: 91.59 kB / 378.1 MB, free: 1.637 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002651/0.09927, allocations: 211.1 kB / 378.3 MB, free: 1.43 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.09928, allocations: 0 / 378.3 MB, free: 1.43 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.09929, allocations: 0 / 378.3 MB, free: 1.43 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.0993, 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.0007685/0.1001, allocations: 478.6 kB / 378.8 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.1001, allocations: 12.03 kB / 378.8 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.58e-05/0.1002, allocations: 54.73 kB / 378.8 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.308e-05/0.1002, allocations: 20.8 kB / 378.8 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002976/0.1005, allocations: 220.1 kB / 379.1 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.1006, allocations: 12.38 kB / 379.1 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.195e-05/0.1006, allocations: 24.27 kB / 379.1 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003242/0.1009, allocations: 157.3 kB / 379.2 MB, free: 380 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.101, allocations: 7.984 kB / 379.2 MB, free: 372 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.719e-05/0.101, allocations: 4 kB / 379.3 MB, free: 368 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.101, allocations: 8 kB / 379.3 MB, free: 360 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002373/0.1012, allocations: 103.9 kB / 379.4 MB, free: 256 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1769/0.2782, allocations: 0.5763 MB / 379.9 MB, free: 10.87 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002862/0.2785, allocations: 120.6 kB / 380.1 MB, free: 10.84 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.2787, allocations: 42.17 kB / 380.1 MB, free: 10.84 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/0.2787, allocations: 1.375 kB / 380.1 MB, free: 10.84 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.762e-05/0.2787, allocations: 32.97 kB / 380.1 MB, free: 10.8 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 3.106e-06/0.2787, allocations: 0 / 380.1 MB, free: 10.8 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.001578/0.2803, allocations: 0.8035 MB / 380.9 MB, free: 10.33 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.703e-05/0.2804, allocations: 57.59 kB / 381 MB, free: 10.27 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.2805, allocations: 161.4 kB / 381.1 MB, free: 10.16 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.2805, allocations: 25.7 kB / 381.2 MB, free: 10.13 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.423e-05/0.2806, allocations: 130.8 kB / 381.3 MB, free: 10.04 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.098e-05/0.2806, allocations: 69.8 kB / 381.4 MB, free: 10 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.168e-05/0.2807, allocations: 38.3 kB / 381.4 MB, free: 9.984 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.873e-05/0.2808, allocations: 325.2 kB / 381.7 MB, free: 9.672 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.2809, allocations: 44.84 kB / 381.8 MB, free: 9.672 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.281, allocations: 78.39 kB / 381.8 MB, free: 9.637 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002062/0.2812, allocations: 132.6 kB / 382 MB, free: 9.605 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.2813, allocations: 2.578 kB / 382 MB, free: 9.605 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003925/0.2817, allocations: 212.2 kB / 382.2 MB, free: 9.559 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.2817, allocations: 7.844 kB / 382.2 MB, free: 9.559 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.2817, allocations: 1.969 kB / 382.2 MB, free: 9.559 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001971/0.2819, allocations: 40.97 kB / 382.2 MB, free: 9.547 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001918/0.2821, allocations: 33.12 kB / 382.3 MB, free: 9.547 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001094/0.2832, allocations: 1.536 MB / 383.8 MB, free: 8.199 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.935e-05/0.2833, allocations: 8 kB / 383.8 MB, free: 8.199 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.057e-05/0.2834, allocations: 5.906 kB / 383.8 MB, free: 8.199 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 0.0001025/0.2835, allocations: 130.3 kB / 383.9 MB, free: 8.082 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.485e-05/0.2835, allocations: 15.47 kB / 384 MB, free: 8.074 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.664e-05/0.2836, allocations: 25.5 kB / 384 MB, free: 8.07 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.2836, allocations: 5.562 kB / 384 MB, free: 8.07 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.2836, allocations: 3.188 kB / 384 MB, free: 8.07 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.2836, allocations: 1.625 kB / 384 MB, free: 8.07 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008396/0.2844, allocations: 0.5969 MB / 384.6 MB, free: 7.711 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.2845, allocations: 0 / 384.6 MB, free: 7.711 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000147/0.2846, allocations: 27.2 kB / 384.6 MB, free: 7.711 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001202/0.2847, allocations: 32.59 kB / 384.6 MB, free: 7.703 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.2848, allocations: 7.531 kB / 384.7 MB, free: 7.703 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008367/0.2856, allocations: 1.475 MB / 386.1 MB, free: 6.348 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2856, allocations: 1.344 kB / 386.1 MB, free: 6.348 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004766/0.2861, allocations: 342.3 kB / 386.5 MB, free: 6.191 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.958e-05/0.2862, allocations: 90.72 kB / 386.6 MB, free: 6.09 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/0.2862, allocations: 2.609 kB / 386.6 MB, free: 6.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.787e-05/0.2863, allocations: 7.656 kB / 386.6 MB, free: 6.09 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.464e-05/0.2863, allocations: 14.27 kB / 386.6 MB, free: 6.09 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.2864, allocations: 3.875 kB / 386.6 MB, free: 6.09 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.468e-05/0.2865, allocations: 126.8 kB / 386.7 MB, free: 6.012 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.2865, allocations: 0 / 386.7 MB, free: 6.012 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000315/0.2868, allocations: 42.44 kB / 386.7 MB, free: 6.012 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.0006746/0.2875, allocations: 0.8671 MB / 387.6 MB, free: 5.332 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004838/0.288, allocations: 256.5 kB / 387.9 MB, free: 5.188 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.288, allocations: 0 / 387.9 MB, free: 5.188 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002343/0.2882, allocations: 194.5 kB / 388.1 MB, free: 5.047 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003578/0.2886, allocations: 25.27 kB / 388.1 MB, free: 5.035 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002356/0.291, allocations: 2.16 MB / 390.2 MB, free: 3.379 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001809/0.2911, allocations: 0.7322 MB / 391 MB, free: 2.676 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.882e-05/0.2912, allocations: 14.17 kB / 391 MB, free: 2.676 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.677e-05/0.2913, allocations: 52.44 kB / 391 MB, free: 2.637 MB / 318.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2913, allocations: 0 / 391 MB, free: 2.637 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03349/0.3248, allocations: 3.748 MB / 394.8 MB, free: 1.898 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.09/10.42, allocations: 10.17 kB / 394.8 MB, free: 1.891 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