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.001106/0.001105, allocations: 121.7 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001113/0.001112, allocations: 199.8 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.271/1.271, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 67.84 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2603, allocations: 50.54 MB / 408.7 MB, free: 1.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003285/0.2636, allocations: 2.12 MB / 410.9 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001164/0.2648, allocations: 0.5726 MB / 411.4 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002001/0.2651, allocations: 7.938 kB / 411.4 MB, free: 14.81 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001867/0.2653, allocations: 31.66 kB / 411.5 MB, free: 14.78 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001617/0.2654, allocations: 51.56 kB / 411.5 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002106/0.2657, allocations: 47.88 kB / 411.6 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002906/0.266, allocations: 211.1 kB / 411.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002011/0.2662, allocations: 69.66 kB / 411.8 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.2663, allocations: 75.72 kB / 411.9 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001552/0.2665, allocations: 87.61 kB / 412 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.242e-05/0.2665, allocations: 16 kB / 412 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.286e-05/0.2666, allocations: 16 kB / 412 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.827e-05/0.2666, allocations: 39.84 kB / 412.1 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.444e-05/0.2667, allocations: 91.55 kB / 412.2 MB, free: 14.08 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002549/0.267, allocations: 216.9 kB / 412.4 MB, free: 13.87 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.267, allocations: 0 / 412.4 MB, free: 13.87 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.267, allocations: 4 kB / 412.4 MB, free: 13.87 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.295e-06/0.267, allocations: 4 kB / 412.4 MB, free: 13.86 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.0006595/0.2677, allocations: 470.8 kB / 412.8 MB, free: 13.36 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.2677, allocations: 12.03 kB / 412.9 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.756e-05/0.2678, allocations: 46.73 kB / 412.9 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.972e-05/0.2678, allocations: 16.75 kB / 412.9 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000297/0.2681, allocations: 236 kB / 413.2 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.2681, allocations: 12.16 kB / 413.2 MB, free: 12.99 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.655e-05/0.2682, allocations: 16.38 kB / 413.2 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003121/0.2685, allocations: 157.7 kB / 413.3 MB, free: 12.82 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.2685, allocations: 0 / 413.3 MB, free: 12.82 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.475e-05/0.2686, allocations: 7.938 kB / 413.3 MB, free: 12.81 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.2686, allocations: 7.938 kB / 413.3 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002371/0.2688, allocations: 107.7 kB / 413.5 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009138/0.2697, allocations: 0.5887 MB / 414 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002266/0.27, allocations: 114.6 kB / 414.2 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.432e-05/0.2701, allocations: 44.84 kB / 414.2 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.2701, allocations: 4 kB / 414.2 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.2701, allocations: 42.5 kB / 414.2 MB, free: 11.83 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.623e-06/0.2701, allocations: 0 / 414.2 MB, free: 11.83 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.001464/0.2716, allocations: 0.8006 MB / 415 MB, free: 10.94 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.329e-05/0.2717, allocations: 51.41 kB / 415.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.2718, allocations: 162.2 kB / 415.3 MB, free: 10.71 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.2718, allocations: 29.7 kB / 415.3 MB, free: 10.67 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.984e-05/0.2719, allocations: 124.3 kB / 415.4 MB, free: 10.55 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.256e-05/0.272, allocations: 71.08 kB / 415.5 MB, free: 10.48 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.604e-05/0.272, allocations: 29.72 kB / 415.5 MB, free: 10.44 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.2721, allocations: 338.8 kB / 415.8 MB, free: 10.1 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.2722, allocations: 39.98 kB / 415.9 MB, free: 10.06 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.2724, allocations: 82.72 kB / 416 MB, free: 9.973 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002204/0.2726, allocations: 127.4 kB / 416.1 MB, free: 9.836 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.2726, allocations: 8 kB / 416.1 MB, free: 9.828 MB / 334.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003742/0.273, allocations: 202.1 kB / 416.3 MB, free: 9.621 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.273, allocations: 8 kB / 416.3 MB, free: 9.613 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.273, allocations: 7.922 kB / 416.3 MB, free: 9.605 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001775/0.2732, allocations: 44.77 kB / 416.3 MB, free: 9.559 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.2734, allocations: 32.05 kB / 416.4 MB, free: 9.527 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001234/0.2746, allocations: 1.531 MB / 417.9 MB, free: 7.852 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.455e-05/0.2747, allocations: 7.984 kB / 417.9 MB, free: 7.844 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/0.2747, allocations: 8 kB / 417.9 MB, free: 7.836 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.0001138/0.2749, allocations: 137.7 kB / 418.1 MB, free: 7.691 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.75e-05/0.2749, allocations: 12 kB / 418.1 MB, free: 7.68 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.686e-05/0.275, allocations: 21.22 kB / 418.1 MB, free: 7.664 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.275, allocations: 4 kB / 418.1 MB, free: 7.66 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.275, allocations: 12 kB / 418.1 MB, free: 7.648 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.275, allocations: 3.984 kB / 418.1 MB, free: 7.645 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000765/0.2758, allocations: 0.58 MB / 418.7 MB, free: 6.996 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.2758, allocations: 4 kB / 418.7 MB, free: 6.992 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001512/0.2759, allocations: 27.92 kB / 418.7 MB, free: 6.965 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001148/0.2761, allocations: 36.83 kB / 418.8 MB, free: 6.926 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.2761, allocations: 4 kB / 418.8 MB, free: 6.922 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001086/0.2772, allocations: 1.473 MB / 420.2 MB, free: 5.305 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2772, allocations: 0 / 420.2 MB, free: 5.305 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004804/0.2777, allocations: 341 kB / 420.6 MB, free: 4.957 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.999e-05/0.2777, allocations: 89.03 kB / 420.6 MB, free: 4.852 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.142e-05/0.2778, allocations: 4.125 kB / 420.7 MB, free: 4.848 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.2779, allocations: 12 kB / 420.7 MB, free: 4.836 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.191e-05/0.2779, allocations: 11.89 kB / 420.7 MB, free: 4.824 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.2779, allocations: 4 kB / 420.7 MB, free: 4.82 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.611e-05/0.278, allocations: 120.1 kB / 420.8 MB, free: 4.703 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.278, allocations: 0 / 420.8 MB, free: 4.703 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003025/0.2784, allocations: 47.94 kB / 420.8 MB, free: 4.656 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.0007943/0.2792, allocations: 0.8655 MB / 421.7 MB, free: 3.762 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005211/0.2797, allocations: 253.9 kB / 422 MB, free: 3.504 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.2797, allocations: 4.188 kB / 422 MB, free: 3.5 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002679/0.28, allocations: 198.5 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.0003662/0.2804, allocations: 26.64 kB / 422.2 MB, free: 3.27 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002663/0.283, allocations: 2.135 MB / 424.3 MB, free: 1.031 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002719/0.2833, allocations: 0.7242 MB / 425 MB, free: 288 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.859e-05/0.2834, allocations: 17.55 kB / 425.1 MB, free: 272 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.408e-05/0.2835, allocations: 51.36 kB / 425.1 MB, free: 220 kB / 334.1 MB Notification: Performance of SimCode: time 3.9e-07/0.2835, allocations: 0 / 425.1 MB, free: 220 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02523/0.3087, allocations: 3.821 MB / 428.9 MB, free: 12.52 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.147/9.456, allocations: 11.8 kB / 428.9 MB, free: 12.51 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Rotational_Examples_RollingWheel_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 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.mat","/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_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches