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.001084/0.001084, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001236/0.001236, allocations: 202 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.355/1.355, allocations: 227.4 MB / 246.9 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 63.89 kB / 358.2 MB, free: 13.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.2652, allocations: 50.54 MB / 408.7 MB, free: 1.648 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003105/0.2684, allocations: 2.124 MB / 410.9 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001024/0.2694, allocations: 0.5687 MB / 411.4 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001241/0.2695, allocations: 7.938 kB / 411.4 MB, free: 14.94 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001689/0.2697, allocations: 35.66 kB / 411.5 MB, free: 14.9 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001236/0.2699, allocations: 59.48 kB / 411.5 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001987/0.2701, allocations: 47.95 kB / 411.6 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002831/0.2704, allocations: 207.1 kB / 411.8 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001808/0.2706, allocations: 61.66 kB / 411.8 MB, free: 14.53 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.3e-05/0.2707, allocations: 79.7 kB / 411.9 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001457/0.2708, allocations: 79.62 kB / 412 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.648e-05/0.2709, allocations: 16 kB / 412 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.156e-05/0.2709, allocations: 23.94 kB / 412 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.015e-05/0.2709, allocations: 35.91 kB / 412.1 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.589e-05/0.271, allocations: 91.55 kB / 412.2 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002642/0.2713, allocations: 216.9 kB / 412.4 MB, free: 14 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.2713, allocations: 0 / 412.4 MB, free: 14 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2713, allocations: 4 kB / 412.4 MB, free: 13.99 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.2713, allocations: 0 / 412.4 MB, free: 13.99 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.0006697/0.272, allocations: 470.8 kB / 412.8 MB, free: 13.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.2721, allocations: 12.03 kB / 412.9 MB, free: 13.47 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.051e-05/0.2721, allocations: 54.73 kB / 412.9 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.211e-05/0.2722, allocations: 16.75 kB / 412.9 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002927/0.2725, allocations: 231.9 kB / 413.1 MB, free: 13.13 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.2725, allocations: 12.16 kB / 413.2 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.405e-05/0.2725, allocations: 20.38 kB / 413.2 MB, free: 13.1 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000302/0.2728, allocations: 157.7 kB / 413.3 MB, free: 12.94 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.2729, allocations: 4 kB / 413.3 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/0.2729, allocations: 8 kB / 413.3 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.2729, allocations: 7.938 kB / 413.4 MB, free: 12.92 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002234/0.2731, allocations: 103.7 kB / 413.5 MB, free: 12.82 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008139/0.2739, allocations: 0.5809 MB / 414 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002312/0.2742, allocations: 126.6 kB / 414.2 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.451e-05/0.2743, allocations: 44.84 kB / 414.2 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.2743, allocations: 4 kB / 414.2 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.2744, allocations: 30.56 kB / 414.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.323e-06/0.2744, allocations: 0 / 414.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.001498/0.2759, allocations: 0.8044 MB / 415 MB, free: 11.06 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/0.2759, allocations: 55.41 kB / 415.1 MB, free: 11 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.2761, allocations: 158.2 kB / 415.3 MB, free: 10.83 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.2761, allocations: 25.7 kB / 415.3 MB, free: 10.8 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.437e-05/0.2762, allocations: 140.3 kB / 415.4 MB, free: 10.66 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.134e-05/0.2762, allocations: 59.09 kB / 415.5 MB, free: 10.6 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.949e-05/0.2763, allocations: 37.7 kB / 415.5 MB, free: 10.56 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.2764, allocations: 330.8 kB / 415.8 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.2765, allocations: 43.92 kB / 415.9 MB, free: 10.18 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.2766, allocations: 72.53 kB / 415.9 MB, free: 10.1 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000222/0.2768, allocations: 139.3 kB / 416.1 MB, free: 9.953 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-06/0.2769, allocations: 0 / 416.1 MB, free: 9.953 MB / 334.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003753/0.2772, allocations: 212.5 kB / 416.3 MB, free: 9.738 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.2773, allocations: 8.062 kB / 416.3 MB, free: 9.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.2773, allocations: 0 / 416.3 MB, free: 9.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001682/0.2774, allocations: 40.83 kB / 416.3 MB, free: 9.688 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.2776, allocations: 27.98 kB / 416.4 MB, free: 9.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001243/0.2789, allocations: 1.535 MB / 417.9 MB, free: 7.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.921e-05/0.279, allocations: 7.984 kB / 417.9 MB, free: 7.973 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.279, allocations: 8 kB / 417.9 MB, free: 7.965 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.0001199/0.2791, allocations: 137.8 kB / 418 MB, free: 7.82 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.237e-05/0.2792, allocations: 15.81 kB / 418.1 MB, free: 7.805 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.899e-05/0.2792, allocations: 17.19 kB / 418.1 MB, free: 7.793 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.2792, allocations: 7.984 kB / 418.1 MB, free: 7.785 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.2792, allocations: 7.875 kB / 418.1 MB, free: 7.777 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.2792, allocations: 0 / 418.1 MB, free: 7.777 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007695/0.28, allocations: 0.5877 MB / 418.7 MB, free: 7.121 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.28, allocations: 0 / 418.7 MB, free: 7.121 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/0.2802, allocations: 27.98 kB / 418.7 MB, free: 7.094 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001161/0.2803, allocations: 32.83 kB / 418.7 MB, free: 7.059 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.2803, allocations: 8 kB / 418.8 MB, free: 7.051 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001062/0.2814, allocations: 1.481 MB / 420.2 MB, free: 5.426 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.2814, allocations: 0 / 420.2 MB, free: 5.426 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000473/0.2819, allocations: 343.3 kB / 420.6 MB, free: 5.074 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.174e-05/0.282, allocations: 89.03 kB / 420.7 MB, free: 4.969 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.016e-05/0.282, allocations: 4 kB / 420.7 MB, free: 4.965 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.937e-05/0.2821, allocations: 4 kB / 420.7 MB, free: 4.961 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.621e-05/0.2822, allocations: 15.89 kB / 420.7 MB, free: 4.945 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.2822, allocations: 4 kB / 420.7 MB, free: 4.941 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.734e-05/0.2823, allocations: 120.1 kB / 420.8 MB, free: 4.824 MB / 334.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2823, allocations: 64 / 420.8 MB, free: 4.824 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003054/0.2826, allocations: 51.94 kB / 420.8 MB, free: 4.773 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.0007423/0.2833, allocations: 0.8609 MB / 421.7 MB, free: 3.887 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004873/0.2838, allocations: 258.4 kB / 422 MB, free: 3.621 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2838, allocations: 0 / 422 MB, free: 3.621 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002633/0.2841, allocations: 190.6 kB / 422.1 MB, free: 3.422 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003476/0.2845, allocations: 26.22 kB / 422.2 MB, free: 3.398 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002596/0.2871, allocations: 2.142 MB / 424.3 MB, free: 1.156 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002691/0.2874, allocations: 0.7281 MB / 425 MB, free: 412 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.184e-05/0.2874, allocations: 13.55 kB / 425.1 MB, free: 400 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.289e-05/0.2875, allocations: 51.36 kB / 425.1 MB, free: 348 kB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2875, allocations: 0 / 425.1 MB, free: 348 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02441/0.312, allocations: 3.82 MB / 428.9 MB, free: 12.64 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.727/10.04, allocations: 11.22 kB / 428.9 MB, free: 12.63 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