Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001339/0.001339, allocations: 116.5 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001638/0.001638, allocations: 216.9 kB / 21.47 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.531/1.531, allocations: 230.2 MB / 254.5 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] 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.MultiBody.Examples.Elementary.RollingWheel,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002384/0.002384, allocations: 75.86 kB / 373.3 MB, free: 10.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.121, allocations: 53.32 MB / 426.7 MB, free: 4.965 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.2129/0.3339, allocations: 7.041 MB / 433.7 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006753/0.3406, allocations: 3.174 MB / 436.9 MB, free: 6.633 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009488/0.3416, allocations: 39.09 kB / 436.9 MB, free: 6.621 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002357/0.3439, allocations: 0.9092 MB / 437.8 MB, free: 6.359 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003911/0.3478, allocations: 1.365 MB / 439.2 MB, free: 5.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001171/0.349, allocations: 0.5238 MB / 439.7 MB, free: 5.848 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004363/0.3534, allocations: 2.751 MB / 442.5 MB, free: 4.887 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00173/0.3551, allocations: 1.173 MB / 443.6 MB, free: 4.387 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001585/0.3567, allocations: 0.8675 MB / 444.5 MB, free: 4.023 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002954/0.3596, allocations: 2.254 MB / 446.8 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007342/0.3604, allocations: 177.1 kB / 446.9 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002359/0.3627, allocations: 1.002 MB / 447.9 MB, free: 3.191 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001497/0.3642, allocations: 1.142 MB / 449.1 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001584/0.3658, allocations: 1.293 MB / 450.4 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007268/0.3731, allocations: 4.415 MB / 454.8 MB, free: 15.11 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.909e-06/0.3731, allocations: 0 / 454.8 MB, free: 15.11 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.3731, allocations: 5.469 kB / 454.8 MB, free: 15.11 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001942/0.3733, allocations: 4 kB / 454.8 MB, free: 15.1 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.01345/0.3867, allocations: 3.439 MB / 458.2 MB, free: 12.75 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.502e-05/0.3868, allocations: 9.188 kB / 458.2 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001403/0.3882, allocations: 460.3 kB / 458.7 MB, free: 12.43 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007395/0.3956, allocations: 1.678 MB / 460.4 MB, free: 11.56 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0051/0.4007, allocations: 1.729 MB / 462.1 MB, free: 10.44 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001441/0.4008, allocations: 128.8 kB / 462.2 MB, free: 10.38 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006614/0.4015, allocations: 166.7 kB / 462.4 MB, free: 10.32 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01145/0.4129, allocations: 6.606 MB / 469 MB, free: 6.078 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001208/0.4131, allocations: 35.7 kB / 469 MB, free: 6.043 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003596/0.4134, allocations: 85.45 kB / 469.1 MB, free: 5.961 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002641/0.4161, allocations: 1.331 MB / 470.4 MB, free: 4.633 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01365/0.4297, allocations: 5.839 MB / 476.3 MB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04026/0.47, allocations: 28 MB / 0.4925 GB, free: 1.957 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006906/0.4769, allocations: 2.701 MB / 0.4951 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001687/0.4786, allocations: 1.22 MB / 0.4963 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001223/0.4798, allocations: 0.6317 MB / 0.4969 GB, free: 13.13 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.333e-05/0.4798, allocations: 55.06 kB / 0.497 GB, free: 13.07 MB / 414.1 MB Notification: Performance of pre-optimization done (n=129): time 3.747e-06/0.4799, allocations: 0 / 0.497 GB, free: 13.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=163): time 0.07766/0.5575, allocations: 21.13 MB / 0.5176 GB, free: 7.828 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/0.5576, allocations: 175.2 kB / 0.5178 GB, free: 7.621 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004864/0.5625, allocations: 2.8 MB / 0.5205 GB, free: 4.805 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004116/0.5629, allocations: 49.69 kB / 0.5206 GB, free: 4.75 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002269/0.5652, allocations: 2.167 MB / 0.5227 GB, free: 2.559 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000936/0.5661, allocations: 0.6551 MB / 0.5233 GB, free: 1.898 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001604/0.5677, allocations: 1 MB / 0.5243 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.5678, allocations: 305.1 kB / 0.5246 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003446/0.5713, allocations: 2.219 MB / 0.5267 GB, free: 14.36 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006874/0.5782, allocations: 5.146 MB / 0.5318 GB, free: 7.754 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01126/0.5894, allocations: 7.95 MB / 0.5395 GB, free: 14.36 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.177e-05/0.5895, allocations: 36 kB / 0.5396 GB, free: 14.32 MB / 462.1 MB Notification: Performance of matching and sorting (n=641) (initialization): time 0.02691/0.6164, allocations: 10.24 MB / 0.5496 GB, free: 4.051 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.78e-05/0.6165, allocations: 48 kB / 0.5496 GB, free: 4.004 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001263/0.6166, allocations: 104 kB / 0.5497 GB, free: 3.902 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01226/0.6289, allocations: 3.444 MB / 0.5531 GB, free: 444 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003557/0.6324, allocations: 1.084 MB / 0.5541 GB, free: 15.35 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.022/0.6544, allocations: 12.85 MB / 0.5667 GB, free: 2.363 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004669/0.6591, allocations: 327.5 kB / 0.567 GB, free: 2.043 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007556/0.6599, allocations: 304 kB / 0.5673 GB, free: 1.746 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.002789/0.6627, allocations: 1.465 MB / 0.5687 GB, free: 276 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006095/0.6633, allocations: 262.3 kB / 0.569 GB, free: 12 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01648/0.6797, allocations: 5.97 MB / 0.5748 GB, free: 10 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.677e-05/0.6798, allocations: 31.98 kB / 0.5748 GB, free: 9.973 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.07e-05/0.6798, allocations: 8.281 kB / 0.5748 GB, free: 9.965 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.74e-05/0.6799, allocations: 7.984 kB / 0.5748 GB, free: 9.957 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03381/0.7137, allocations: 13.2 MB / 0.5877 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.088e-05/0.7137, allocations: 3.938 kB / 0.5877 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001131/0.7148, allocations: 231.7 kB / 0.588 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01305/0.7279, allocations: 4.014 MB / 0.5919 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008524/0.7287, allocations: 47.95 kB / 0.5919 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02248/0.7512, allocations: 12.83 MB / 0.6045 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.7512, allocations: 0 / 0.6045 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02385/0.7751, allocations: 10.07 MB / 0.6143 GB, free: 1.242 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001218/0.7763, allocations: 319.2 kB / 0.6146 GB, free: 0.9102 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008808/0.7772, allocations: 39.98 kB / 0.6146 GB, free: 0.8711 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00204/0.7792, allocations: 184.8 kB / 0.6148 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009646/0.7802, allocations: 104.8 kB / 0.6149 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002038/0.7804, allocations: 60.02 kB / 0.615 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.2158/0.9962, allocations: 1.73 MB / 0.6167 GB, free: 165.5 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8.41e-07/0.9962, allocations: 3.656 kB / 0.6167 GB, free: 165.5 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00698/1.003, allocations: 0.8061 MB / 0.6174 GB, free: 165.5 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.0247/1.028, allocations: 10.7 MB / 0.6279 GB, free: 163.3 MB / 0.5137 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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 trunk/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.01093/1.039, allocations: 6.016 MB / 0.6338 GB, free: 160.9 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/1.039, allocations: 0 / 0.6338 GB, free: 160.9 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005327/1.044, allocations: 2.726 MB / 0.6364 GB, free: 159.4 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00286/1.047, allocations: 294.3 kB / 0.6367 GB, free: 159.3 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07005/1.117, allocations: 42.33 MB / 0.6781 GB, free: 125.4 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002117/1.119, allocations: 2.317 MB / 0.6803 GB, free: 123.1 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003319/1.122, allocations: 1.511 MB / 0.6818 GB, free: 121.5 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001352/1.124, allocations: 1.128 MB / 0.6829 GB, free: 120.4 MB / 0.5137 GB Notification: Performance of SimCode: time 2.014e-06/1.124, allocations: 0.7656 kB / 0.6829 GB, free: 120.4 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.369/4.493, allocations: 62.95 MB / 0.7444 GB, free: 57.77 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.05/24.54, allocations: 9.078 kB / 0.7444 GB, free: 57.76 MB / 0.5137 GB " [Timeout remaining time 635] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheel/RollingWheel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 27.968900669831783]