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.002043/0.002043, allocations: 123 kB / 17.79 MB, free: 5.246 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.002386/0.002386, allocations: 207.2 kB / 20.75 MB, free: 2.297 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.416/1.416, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.001618/0.001618, allocations: 47.92 kB / 373 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09315/0.09477, allocations: 53.35 MB / 426.3 MB, free: 4.758 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.1992/0.294, allocations: 7.031 MB / 433.4 MB, free: 7.484 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004939/0.2989, allocations: 3.177 MB / 436.5 MB, free: 6.371 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005945/0.2995, allocations: 34.84 kB / 436.6 MB, free: 6.363 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001734/0.3012, allocations: 0.9142 MB / 437.5 MB, free: 6.098 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002652/0.3039, allocations: 1.368 MB / 438.9 MB, free: 5.719 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001075/0.3049, allocations: 0.5175 MB / 439.4 MB, free: 5.566 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003234/0.3082, allocations: 2.756 MB / 442.1 MB, free: 4.602 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0014/0.3096, allocations: 1.184 MB / 443.3 MB, free: 4.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001132/0.3107, allocations: 0.8712 MB / 444.2 MB, free: 3.734 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002679/0.3134, allocations: 2.249 MB / 446.4 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005197/0.3139, allocations: 178.3 kB / 446.6 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001884/0.3158, allocations: 0.9989 MB / 447.6 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001138/0.3169, allocations: 1.15 MB / 448.8 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001119/0.3181, allocations: 1.295 MB / 450.1 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005148/0.3232, allocations: 4.411 MB / 454.5 MB, free: 14.82 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.267e-06/0.3232, allocations: 0 / 454.5 MB, free: 14.82 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3232, allocations: 0 / 454.5 MB, free: 14.82 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001118/0.3233, allocations: 0 / 454.5 MB, free: 14.82 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.009328/0.3327, allocations: 3.439 MB / 457.9 MB, free: 12.46 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.3327, allocations: 9.062 kB / 457.9 MB, free: 12.46 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007516/0.3334, allocations: 464.7 kB / 458.4 MB, free: 12.14 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006486/0.3399, allocations: 1.682 MB / 460 MB, free: 11.27 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004242/0.3442, allocations: 1.725 MB / 461.8 MB, free: 10.16 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001286/0.3443, allocations: 136.2 kB / 461.9 MB, free: 10.09 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006202/0.3449, allocations: 170 kB / 462.1 MB, free: 10.02 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01052/0.3554, allocations: 6.595 MB / 468.7 MB, free: 5.766 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.784e-05/0.3555, allocations: 35.7 kB / 468.7 MB, free: 5.73 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002978/0.3558, allocations: 83.91 kB / 468.8 MB, free: 5.648 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002135/0.358, allocations: 1.323 MB / 470.1 MB, free: 4.328 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.011/0.369, allocations: 5.85 MB / 476 MB, free: 14.47 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03474/0.4037, allocations: 28 MB / 0.4921 GB, free: 1.637 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006384/0.4101, allocations: 2.696 MB / 0.4948 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001658/0.4117, allocations: 1.223 MB / 0.496 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007471/0.4125, allocations: 0.6394 MB / 0.4966 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.813e-05/0.4125, allocations: 43.12 kB / 0.4966 GB, free: 12.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=129): time 3.286e-06/0.4125, allocations: 4 kB / 0.4966 GB, free: 12.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=163): time 0.07417/0.4867, allocations: 21.13 MB / 0.5173 GB, free: 7.512 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/0.4868, allocations: 175.2 kB / 0.5174 GB, free: 7.305 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004257/0.4911, allocations: 2.808 MB / 0.5202 GB, free: 4.48 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000358/0.4914, allocations: 49.69 kB / 0.5202 GB, free: 4.426 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001792/0.4932, allocations: 2.159 MB / 0.5223 GB, free: 2.242 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001035/0.4942, allocations: 0.6551 MB / 0.523 GB, free: 1.582 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001585/0.4958, allocations: 1.008 MB / 0.524 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.496, allocations: 305.1 kB / 0.5243 GB, free: 268 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003375/0.4993, allocations: 2.219 MB / 0.5264 GB, free: 14.04 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005931/0.5053, allocations: 5.146 MB / 0.5315 GB, free: 7.434 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009969/0.5152, allocations: 7.952 MB / 0.5392 GB, free: 14.04 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.994e-05/0.5153, allocations: 32 kB / 0.5392 GB, free: 14.01 MB / 462.1 MB Notification: Performance of matching and sorting (n=641) (initialization): time 0.0249/0.5402, allocations: 10.24 MB / 0.5493 GB, free: 3.734 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.502e-05/0.5403, allocations: 48.56 kB / 0.5493 GB, free: 3.688 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001201/0.5404, allocations: 104 kB / 0.5494 GB, free: 3.586 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01229/0.5527, allocations: 3.435 MB / 0.5528 GB, free: 128 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003632/0.5563, allocations: 1.084 MB / 0.5538 GB, free: 15.04 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02103/0.5774, allocations: 12.84 MB / 0.5664 GB, free: 2.051 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003823/0.5812, allocations: 335.6 kB / 0.5667 GB, free: 1.723 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008068/0.582, allocations: 303.9 kB / 0.567 GB, free: 1.426 MB / 478.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.002653/0.5846, allocations: 1.467 MB / 0.5684 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005911/0.5852, allocations: 266.2 kB / 0.5686 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01681/0.602, allocations: 5.962 MB / 0.5745 GB, free: 9.691 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.006e-05/0.6021, allocations: 39.91 kB / 0.5745 GB, free: 9.652 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.328e-05/0.6021, allocations: 8 kB / 0.5745 GB, free: 9.645 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.442e-05/0.6022, allocations: 7.984 kB / 0.5745 GB, free: 9.637 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03157/0.6337, allocations: 13.2 MB / 0.5874 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.739e-05/0.6338, allocations: 2.438 kB / 0.5874 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001172/0.6349, allocations: 231.6 kB / 0.5876 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01318/0.6481, allocations: 4.009 MB / 0.5916 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003825/0.6485, allocations: 43.97 kB / 0.5916 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02075/0.6693, allocations: 12.84 MB / 0.6041 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.6693, allocations: 4 kB / 0.6041 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02228/0.6915, allocations: 10.07 MB / 0.614 GB, free: 0.9258 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007012/0.6922, allocations: 319.2 kB / 0.6143 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004582/0.6927, allocations: 35.98 kB / 0.6143 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001701/0.6944, allocations: 188.8 kB / 0.6145 GB, free: 384 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000435/0.6948, allocations: 104.8 kB / 0.6146 GB, free: 280 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001657/0.695, allocations: 56.03 kB / 0.6146 GB, free: 224 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.1903/0.8853, allocations: 1.738 MB / 0.6163 GB, free: 165.4 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8853, allocations: 0 / 0.6163 GB, free: 165.4 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004065/0.8894, allocations: 0.8083 MB / 0.6171 GB, free: 165.4 MB / 0.5137 GB 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.02203/0.9114, allocations: 10.71 MB / 0.6276 GB, free: 163.2 MB / 0.5137 GB [/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.01059/0.922, allocations: 6.006 MB / 0.6335 GB, free: 160.7 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.922, allocations: 1.438 kB / 0.6335 GB, free: 160.7 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004856/0.9269, allocations: 2.724 MB / 0.6361 GB, free: 159.3 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00232/0.9292, allocations: 293.3 kB / 0.6364 GB, free: 159.1 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06115/0.9903, allocations: 42.33 MB / 0.6777 GB, free: 124.9 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00208/0.9924, allocations: 2.319 MB / 0.68 GB, free: 122.6 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002876/0.9953, allocations: 1.507 MB / 0.6815 GB, free: 121.1 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001481/0.9968, allocations: 1.12 MB / 0.6826 GB, free: 120 MB / 0.5137 GB Notification: Performance of SimCode: time 1.402e-06/0.9968, allocations: 0 / 0.6826 GB, free: 120 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1267/1.124, allocations: 62.97 MB / 0.7441 GB, free: 57.38 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.52/16.64, allocations: 8.047 kB / 0.7441 GB, free: 57.37 MB / 0.5137 GB " [Timeout remaining time 643] (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: 19.49604412703775]