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.001788/0.001788, allocations: 122.2 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002207/0.002207, allocations: 206 kB / 18.74 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.42/1.42, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001794/0.001794, allocations: 67.88 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2539, allocations: 50.55 MB / 408.7 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.00371/0.2576, allocations: 2.119 MB / 410.9 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001154/0.2588, allocations: 0.5766 MB / 411.4 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001819/0.259, allocations: 7.938 kB / 411.5 MB, free: 14.83 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001781/0.2593, allocations: 35.66 kB / 411.5 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001207/0.2594, allocations: 51.55 kB / 411.5 MB, free: 14.74 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001957/0.2596, allocations: 47.94 kB / 411.6 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002647/0.2599, allocations: 199.1 kB / 411.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001916/0.2601, allocations: 77.14 kB / 411.9 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.2602, allocations: 83.66 kB / 411.9 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001641/0.2604, allocations: 83.58 kB / 412 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.142e-05/0.2604, allocations: 16 kB / 412 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.351e-05/0.2604, allocations: 20 kB / 412.1 MB, free: 14.22 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.321e-05/0.2605, allocations: 35.89 kB / 412.1 MB, free: 14.19 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.487e-05/0.2606, allocations: 95.53 kB / 412.2 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002935/0.2609, allocations: 206.2 kB / 412.4 MB, free: 13.89 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2609, allocations: 0 / 412.4 MB, free: 13.89 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2609, allocations: 0 / 412.4 MB, free: 13.89 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.2609, allocations: 0 / 412.4 MB, free: 13.89 MB / 334.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.0007254/0.2616, allocations: 482.6 kB / 412.9 MB, free: 13.38 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.2617, allocations: 12.03 kB / 412.9 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.815e-05/0.2618, allocations: 50.67 kB / 412.9 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.713e-05/0.2618, allocations: 20.84 kB / 412.9 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003705/0.2622, allocations: 224 kB / 413.2 MB, free: 13.03 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.601e-05/0.2622, allocations: 20.16 kB / 413.2 MB, free: 13.01 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.845e-05/0.2623, allocations: 24.36 kB / 413.2 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003375/0.2626, allocations: 153.7 kB / 413.3 MB, free: 12.83 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.2627, allocations: 0 / 413.3 MB, free: 12.83 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.164e-05/0.2627, allocations: 8 kB / 413.4 MB, free: 12.82 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.2627, allocations: 4 kB / 413.4 MB, free: 12.82 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002308/0.2629, allocations: 99.72 kB / 413.5 MB, free: 12.72 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009666/0.2639, allocations: 0.6084 MB / 414.1 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002561/0.2642, allocations: 114.6 kB / 414.2 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.2643, allocations: 44.84 kB / 414.2 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/0.2643, allocations: 0 / 414.2 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.2644, allocations: 30.56 kB / 414.2 MB, free: 11.85 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.313e-06/0.2644, allocations: 4 kB / 414.3 MB, free: 11.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.001637/0.266, allocations: 0.7985 MB / 415.1 MB, free: 10.95 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/0.2661, allocations: 55.41 kB / 415.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.2663, allocations: 166.2 kB / 415.3 MB, free: 10.71 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.2663, allocations: 25.7 kB / 415.3 MB, free: 10.68 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.2664, allocations: 132.4 kB / 415.4 MB, free: 10.55 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.306e-05/0.2665, allocations: 63.44 kB / 415.5 MB, free: 10.48 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.658e-05/0.2665, allocations: 37.7 kB / 415.5 MB, free: 10.44 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.2667, allocations: 330.8 kB / 415.8 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.2668, allocations: 35.98 kB / 415.9 MB, free: 10.07 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/0.2669, allocations: 82.41 kB / 416 MB, free: 9.984 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002336/0.2672, allocations: 138.8 kB / 416.1 MB, free: 9.84 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.2672, allocations: 3.938 kB / 416.1 MB, free: 9.836 MB / 334.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004046/0.2676, allocations: 210.2 kB / 416.3 MB, free: 9.621 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.2676, allocations: 4 kB / 416.3 MB, free: 9.617 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.2676, allocations: 0 / 416.3 MB, free: 9.617 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001798/0.2678, allocations: 36.84 kB / 416.3 MB, free: 9.578 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001624/0.268, allocations: 39.91 kB / 416.4 MB, free: 9.539 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001486/0.2695, allocations: 1.536 MB / 417.9 MB, free: 7.859 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.2696, allocations: 8.047 kB / 417.9 MB, free: 7.852 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/0.2697, allocations: 12.05 kB / 417.9 MB, free: 7.84 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.0001505/0.2698, allocations: 129.8 kB / 418.1 MB, free: 7.703 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.325e-05/0.2699, allocations: 15.91 kB / 418.1 MB, free: 7.688 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.518e-05/0.2699, allocations: 25.17 kB / 418.1 MB, free: 7.668 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.2699, allocations: 0 / 418.1 MB, free: 7.668 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.2699, allocations: 7.875 kB / 418.1 MB, free: 7.66 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.2699, allocations: 0 / 418.1 MB, free: 7.66 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009577/0.2709, allocations: 0.5906 MB / 418.7 MB, free: 7.004 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.2709, allocations: 0 / 418.7 MB, free: 7.004 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/0.2711, allocations: 27.98 kB / 418.7 MB, free: 6.977 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001373/0.2712, allocations: 32.83 kB / 418.8 MB, free: 6.941 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.2713, allocations: 4 kB / 418.8 MB, free: 6.938 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001309/0.2726, allocations: 1.477 MB / 420.2 MB, free: 5.316 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/0.2726, allocations: 4 kB / 420.2 MB, free: 5.312 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000555/0.2732, allocations: 344 kB / 420.6 MB, free: 4.957 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.457e-05/0.2732, allocations: 89.19 kB / 420.7 MB, free: 4.852 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.083e-05/0.2733, allocations: 4 kB / 420.7 MB, free: 4.848 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.2734, allocations: 4 kB / 420.7 MB, free: 4.844 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.379e-05/0.2735, allocations: 23.95 kB / 420.7 MB, free: 4.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.2735, allocations: 4.062 kB / 420.7 MB, free: 4.816 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001113/0.2736, allocations: 120.1 kB / 420.8 MB, free: 4.699 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2736, allocations: 3.938 kB / 420.8 MB, free: 4.695 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003359/0.2739, allocations: 51.94 kB / 420.9 MB, free: 4.645 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.0009213/0.2749, allocations: 0.8661 MB / 421.7 MB, free: 3.758 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005603/0.2754, allocations: 254.5 kB / 422 MB, free: 3.496 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.2755, allocations: 0 / 422 MB, free: 3.496 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002801/0.2757, allocations: 194.7 kB / 422.2 MB, free: 3.293 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003577/0.2761, allocations: 27.84 kB / 422.2 MB, free: 3.266 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002883/0.279, allocations: 2.134 MB / 424.3 MB, free: 1.027 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/0.2794, allocations: 0.7281 MB / 425.1 MB, free: 280 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.069e-05/0.2795, allocations: 21.53 kB / 425.1 MB, free: 260 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.658e-05/0.2796, allocations: 51.41 kB / 425.1 MB, free: 208 kB / 334.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2796, allocations: 0 / 425.1 MB, free: 208 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03289/0.3125, allocations: 3.751 MB / 428.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.26/10.57, allocations: 8.672 kB / 428.9 MB, free: 12.57 MB / 350.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 & python3 -m fmpy simulate --output-file Modelica_trunk_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_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.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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