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.001187/0.001187, allocations: 113.6 kB / 17.06 MB, free: 6.012 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.001133/0.001133, allocations: 191 kB / 18 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 222.9 MB / 241.7 MB, free: 15.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 35.94 kB / 350.8 MB, free: 3.797 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2622/0.2635, allocations: 49.45 MB / 400.2 MB, free: 8.434 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003703/0.2672, allocations: 2.104 MB / 402.3 MB, free: 6.723 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001095/0.2683, allocations: 0.5376 MB / 402.9 MB, free: 6.18 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002247/0.2686, allocations: 7.938 kB / 402.9 MB, free: 6.172 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001959/0.2688, allocations: 31.72 kB / 402.9 MB, free: 6.141 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001661/0.269, allocations: 59.48 kB / 403 MB, free: 6.082 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002023/0.2692, allocations: 39.95 kB / 403 MB, free: 6.043 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002885/0.2695, allocations: 215 kB / 403.2 MB, free: 5.832 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001919/0.2697, allocations: 85.14 kB / 403.3 MB, free: 5.754 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.2698, allocations: 79.64 kB / 403.4 MB, free: 5.676 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000142/0.27, allocations: 79.64 kB / 403.4 MB, free: 5.598 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.435e-05/0.27, allocations: 20 kB / 403.5 MB, free: 5.578 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.176e-05/0.2701, allocations: 16 kB / 403.5 MB, free: 5.562 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.971e-05/0.2701, allocations: 35.91 kB / 403.5 MB, free: 5.527 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.2702, allocations: 99.47 kB / 403.6 MB, free: 5.43 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003153/0.2706, allocations: 206.2 kB / 403.8 MB, free: 5.23 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.2706, allocations: 0 / 403.8 MB, free: 5.23 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.2706, allocations: 0 / 403.8 MB, free: 5.23 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.322e-05/0.2706, allocations: 0 / 403.8 MB, free: 5.23 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.0007802/0.2714, allocations: 482.6 kB / 404.3 MB, free: 4.711 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.2714, allocations: 8.031 kB / 404.3 MB, free: 4.703 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.079e-05/0.2715, allocations: 54.73 kB / 404.4 MB, free: 4.641 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.596e-05/0.2716, allocations: 20.8 kB / 404.4 MB, free: 4.621 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003602/0.2719, allocations: 224 kB / 404.6 MB, free: 4.363 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.272, allocations: 12.38 kB / 404.6 MB, free: 4.352 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.823e-05/0.272, allocations: 28.3 kB / 404.6 MB, free: 4.324 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003548/0.2724, allocations: 149.5 kB / 404.8 MB, free: 4.172 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.2724, allocations: 8 kB / 404.8 MB, free: 4.164 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.19e-05/0.2724, allocations: 8 kB / 404.8 MB, free: 4.156 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.2725, allocations: 4 kB / 404.8 MB, free: 4.152 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002526/0.2727, allocations: 103.7 kB / 404.9 MB, free: 4.051 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009454/0.2737, allocations: 0.5889 MB / 405.5 MB, free: 3.406 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002453/0.2739, allocations: 118.6 kB / 405.6 MB, free: 3.281 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.422e-05/0.274, allocations: 47.41 kB / 405.6 MB, free: 3.234 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.435e-05/0.2741, allocations: 4 kB / 405.7 MB, free: 3.23 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.2741, allocations: 30.56 kB / 405.7 MB, free: 3.191 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.243e-06/0.2741, allocations: 0 / 405.7 MB, free: 3.191 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.001577/0.2757, allocations: 0.8111 MB / 406.5 MB, free: 2.293 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/0.2758, allocations: 51.41 kB / 406.5 MB, free: 2.23 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.2759, allocations: 162.1 kB / 406.7 MB, free: 2.062 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/0.2759, allocations: 29.7 kB / 406.7 MB, free: 2.027 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.446e-05/0.276, allocations: 136.5 kB / 406.9 MB, free: 1.891 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.733e-05/0.2761, allocations: 63.44 kB / 406.9 MB, free: 1.828 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.881e-05/0.2762, allocations: 37.7 kB / 407 MB, free: 1.785 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.2763, allocations: 326.8 kB / 407.3 MB, free: 1.457 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/0.2764, allocations: 43.98 kB / 407.3 MB, free: 1.414 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.2765, allocations: 72.53 kB / 407.4 MB, free: 1.332 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00022/0.2768, allocations: 139.3 kB / 407.5 MB, free: 1.184 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.2768, allocations: 0 / 407.5 MB, free: 1.184 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003908/0.2772, allocations: 210.2 kB / 407.7 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.2772, allocations: 12.06 kB / 407.7 MB, free: 0.957 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.341e-06/0.2772, allocations: 0 / 407.7 MB, free: 0.957 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000187/0.2774, allocations: 40.81 kB / 407.8 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.2776, allocations: 35.97 kB / 407.8 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001389/0.279, allocations: 1.535 MB / 409.4 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.609e-05/0.2791, allocations: 8.031 kB / 409.4 MB, free: 15.19 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.2791, allocations: 4 kB / 409.4 MB, free: 15.19 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.0001203/0.2793, allocations: 137.8 kB / 409.5 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.921e-05/0.2793, allocations: 15.91 kB / 409.5 MB, free: 15.03 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.457e-05/0.2794, allocations: 25.17 kB / 409.5 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.2794, allocations: 4 kB / 409.5 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.2794, allocations: 3.938 kB / 409.6 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.2794, allocations: 0 / 409.6 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007721/0.2802, allocations: 0.5839 MB / 410.1 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.2802, allocations: 0 / 410.1 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001488/0.2803, allocations: 27.98 kB / 410.2 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001307/0.2805, allocations: 40.77 kB / 410.2 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.2805, allocations: 0 / 410.2 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001046/0.2815, allocations: 1.481 MB / 411.7 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.2816, allocations: 0 / 411.7 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004899/0.282, allocations: 346.6 kB / 412 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.206e-05/0.2821, allocations: 89.05 kB / 412.1 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.391e-05/0.2821, allocations: 4 kB / 412.1 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.2823, allocations: 8 kB / 412.1 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.11e-05/0.2823, allocations: 11.97 kB / 412.1 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.2823, allocations: 8 kB / 412.1 MB, free: 12.15 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.077e-05/0.2824, allocations: 119.2 kB / 412.3 MB, free: 12.04 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2824, allocations: 4.062 kB / 412.3 MB, free: 12.03 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003064/0.2827, allocations: 43.94 kB / 412.3 MB, free: 11.99 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.0008186/0.2836, allocations: 0.8759 MB / 413.2 MB, free: 11.09 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005027/0.2841, allocations: 258.4 kB / 413.4 MB, free: 10.82 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.2841, allocations: 0 / 413.4 MB, free: 10.82 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002718/0.2844, allocations: 189.7 kB / 413.6 MB, free: 10.62 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/0.2847, allocations: 23.52 kB / 413.6 MB, free: 10.61 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002655/0.2874, allocations: 2.138 MB / 415.8 MB, free: 8.367 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002977/0.2877, allocations: 0.7319 MB / 416.5 MB, free: 7.609 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.065e-05/0.2878, allocations: 13.55 kB / 416.5 MB, free: 7.598 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.915e-05/0.2879, allocations: 51.41 kB / 416.6 MB, free: 7.547 MB / 334.1 MB Notification: Performance of SimCode: time 2.334e-06/0.2879, allocations: 4 kB / 416.6 MB, free: 7.543 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03044/0.3184, allocations: 3.755 MB / 420.3 MB, free: 3.906 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.602/9.921, allocations: 3.938 kB / 420.3 MB, free: 3.902 MB / 334.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