Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00253/0.00253, allocations: 115.6 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002538/0.002538, allocations: 209.4 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.552/1.552, allocations: 230.6 MB / 257.5 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001847/0.001847, allocations: 47.92 kB / 377.8 MB, free: 3.227 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/0.2725, allocations: 53.37 MB / 431.1 MB, free: 6.867 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.01011/0.2826, allocations: 7.07 MB / 438.2 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006976/0.2896, allocations: 3.201 MB / 441.4 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009557/0.2906, allocations: 31.88 kB / 441.4 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002419/0.293, allocations: 0.9145 MB / 442.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00323/0.2962, allocations: 1.374 MB / 443.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001546/0.2978, allocations: 0.5303 MB / 444.3 MB, free: 9.695 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003958/0.3017, allocations: 2.757 MB / 447 MB, free: 6.934 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001929/0.3037, allocations: 1.22 MB / 448.2 MB, free: 5.699 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001637/0.3053, allocations: 0.8758 MB / 449.1 MB, free: 4.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003909/0.3092, allocations: 2.26 MB / 451.4 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000671/0.3099, allocations: 180 kB / 451.6 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002547/0.3124, allocations: 1.002 MB / 452.6 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001623/0.314, allocations: 1.137 MB / 453.7 MB, free: 240 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00251/0.3166, allocations: 1.297 MB / 455 MB, free: 14.93 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00698/0.3235, allocations: 4.412 MB / 459.4 MB, free: 10.5 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.3235, allocations: 0 / 459.4 MB, free: 10.5 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3235, allocations: 0 / 459.4 MB, free: 10.5 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001532/0.3237, allocations: 0 / 459.4 MB, free: 10.5 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 947 * Number of variables: 947 Notification: Performance of Generate backend data structure: time 0.01027/0.334, allocations: 3.368 MB / 462.8 MB, free: 7.09 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/0.334, allocations: 12.03 kB / 462.8 MB, free: 7.078 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001053/0.3351, allocations: 454.3 kB / 463.2 MB, free: 6.625 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00622/0.3413, allocations: 1.684 MB / 464.9 MB, free: 4.938 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004807/0.3461, allocations: 1.669 MB / 466.6 MB, free: 3.238 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001877/0.3463, allocations: 127.2 kB / 466.7 MB, free: 3.113 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006478/0.3469, allocations: 171.8 kB / 466.9 MB, free: 2.945 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01394/0.3609, allocations: 6.596 MB / 473.5 MB, free: 11.81 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001435/0.361, allocations: 35.7 kB / 473.5 MB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006082/0.3616, allocations: 91.83 kB / 473.6 MB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002635/0.3643, allocations: 1.327 MB / 474.9 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01256/0.3768, allocations: 5.851 MB / 480.8 MB, free: 4.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0411/0.4179, allocations: 27.9 MB / 0.4967 GB, free: 7.746 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006926/0.4248, allocations: 2.247 MB / 0.4989 GB, free: 5.457 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002003/0.4268, allocations: 1.22 MB / 0.5001 GB, free: 4.223 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005571/0.4274, allocations: 192.2 kB / 0.5003 GB, free: 4.035 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.594e-05/0.4275, allocations: 47 kB / 0.5004 GB, free: 3.98 MB / 414.1 MB Notification: Performance of pre-optimization done (n=129): time 4.989e-06/0.4275, allocations: 4 kB / 0.5004 GB, free: 3.977 MB / 414.1 MB Notification: Performance of matching and sorting (n=163): time 0.07742/0.5049, allocations: 20.91 MB / 0.5208 GB, free: 15 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001221/0.505, allocations: 175.2 kB / 0.521 GB, free: 14.79 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005204/0.5102, allocations: 2.8 MB / 0.5237 GB, free: 11.98 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003152/0.5105, allocations: 49.7 kB / 0.5237 GB, free: 11.92 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001938/0.5125, allocations: 2.163 MB / 0.5259 GB, free: 9.734 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009532/0.5134, allocations: 0.6628 MB / 0.5265 GB, free: 9.066 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00263/0.516, allocations: 0.9965 MB / 0.5275 GB, free: 8.059 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.5162, allocations: 301.1 kB / 0.5278 GB, free: 7.762 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003971/0.5202, allocations: 2.223 MB / 0.5299 GB, free: 5.531 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2522/0.7723, allocations: 5.137 MB / 0.5349 GB, free: 98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01026/0.7826, allocations: 7.96 MB / 0.5427 GB, free: 92.27 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003221/0.7829, allocations: 30.03 kB / 0.5427 GB, free: 92.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=641) (initialization): time 0.02222/0.8051, allocations: 10.25 MB / 0.5528 GB, free: 89.02 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.936e-05/0.8052, allocations: 48.09 kB / 0.5528 GB, free: 89.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.294e-05/0.8053, allocations: 102 kB / 0.5529 GB, free: 89.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01064/0.8159, allocations: 3.437 MB / 0.5563 GB, free: 87.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00358/0.8195, allocations: 1.076 MB / 0.5573 GB, free: 86.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01651/0.836, allocations: 12.74 MB / 0.5698 GB, free: 74.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004099/0.8401, allocations: 333.4 kB / 0.5701 GB, free: 73.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005415/0.8406, allocations: 311.6 kB / 0.5704 GB, free: 73.41 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 469 * Number of states: 0 () * Number of discrete variables: 15 (world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],wheel1.body.sphereColor[3],wheel1.body.sphereColor[2],wheel1.body.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (573): * Single equations (assignments): 562 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 6 systems {(2,100.0%), (2,100.0%), (2,100.0%), (3,88.9%), (3,88.9%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(6,23,80.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001954/0.8426, allocations: 1.462 MB / 0.5718 GB, free: 71.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005408/0.8431, allocations: 264.8 kB / 0.572 GB, free: 71.87 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0144/0.8575, allocations: 5.976 MB / 0.5779 GB, free: 65.87 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.373e-05/0.8576, allocations: 27.98 kB / 0.5779 GB, free: 65.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.936e-05/0.8576, allocations: 12 kB / 0.5779 GB, free: 65.83 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.893e-05/0.8577, allocations: 4.859 kB / 0.5779 GB, free: 65.83 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02547/0.8831, allocations: 13.19 MB / 0.5908 GB, free: 52.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.922e-05/0.8832, allocations: 0.5469 kB / 0.5908 GB, free: 52.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00107/0.8842, allocations: 233.2 kB / 0.591 GB, free: 52.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01122/0.8955, allocations: 4.015 MB / 0.5949 GB, free: 48.41 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002837/0.8957, allocations: 47.95 kB / 0.595 GB, free: 48.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01661/0.9123, allocations: 12.72 MB / 0.6074 GB, free: 35.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/0.9124, allocations: 1.875 kB / 0.6074 GB, free: 35.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01851/0.9309, allocations: 10.08 MB / 0.6173 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006756/0.9315, allocations: 234.1 kB / 0.6175 GB, free: 25.16 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007156/0.9323, allocations: 35.98 kB / 0.6175 GB, free: 25.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001948/0.9342, allocations: 183.7 kB / 0.6177 GB, free: 24.95 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004652/0.9347, allocations: 120.8 kB / 0.6178 GB, free: 24.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001442/0.9348, allocations: 55.25 kB / 0.6179 GB, free: 24.78 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002344/0.9372, allocations: 1.734 MB / 0.6196 GB, free: 23.04 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.9372, allocations: 0 / 0.6196 GB, free: 23.04 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004001/0.9412, allocations: 0.8046 MB / 0.6203 GB, free: 22.23 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (wheel1.x,wheel1.y,wheel1.angles[1],wheel1.angles[2],wheel1.angles[3],wheel1.der_angles[1],wheel1.der_angles[2],wheel1.der_angles[3]) * 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 (105): * Single equations (assignments): 94 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 6 systems {(2,100.0%), (2,100.0%), (3,88.9%), (2,100.0%), (3,88.9%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(6,19,80.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01853/0.9597, allocations: 10.72 MB / 0.6308 GB, free: 11.47 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Mechanics/MultiBody/Parts/RollingWheel.mo:33:3-37:72:writable] Warning: Variable $DER.wheel1.der_angles[2] has attribute stateSelect=StateSelect.always, but can't be selected as a state. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Mechanics/MultiBody/Parts/RollingWheel.mo:33:3-37:72:writable] Warning: Variable $DER.wheel1.der_angles[1] has attribute stateSelect=StateSelect.always, but can't be selected as a state. Notification: Performance of simCode: created initialization part: time 0.009453/0.9691, allocations: 5.568 MB / 0.6363 GB, free: 5.887 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/0.9691, allocations: 0 / 0.6363 GB, free: 5.887 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004538/0.9737, allocations: 2.264 MB / 0.6385 GB, free: 3.594 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00197/0.9757, allocations: 289.5 kB / 0.6387 GB, free: 3.316 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08806/1.064, allocations: 42.38 MB / 0.6801 GB, free: 4.625 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004446/1.068, allocations: 2.318 MB / 0.6824 GB, free: 2.277 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004563/1.073, allocations: 1.507 MB / 0.6839 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002697/1.075, allocations: 1.133 MB / 0.685 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of SimCode: time 1.603e-06/1.075, allocations: 0 / 0.685 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3791/1.455, allocations: 67.44 MB / 0.7508 GB, free: 182.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.94/19.4, allocations: 3.781 kB / 0.7508 GB, free: 182.1 MB / 0.5294 GB " [Timeout remaining time 640] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel.fmu > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheel/RollingWheel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 22.33079962199554]