Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.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.001515/0.001515, allocations: 112.6 kB / 21.18 MB, free: 0.7422 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.001635/0.001635, allocations: 212.2 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.429/1.429, allocations: 230.4 MB / 258.1 MB, free: 8.141 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-beta.om/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: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|wheelSet.der_theta1|wheelSet.der_theta2|wheelSet.phi|wheelSet.theta1|wheelSet.theta2|wheelSet.x|wheelSet.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|wheelSet.der_theta1|wheelSet.der_theta2|wheelSet.phi|wheelSet.theta1|wheelSet.theta2|wheelSet.x|wheelSet.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 71.83 kB / 378.8 MB, free: 2.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2178/0.2197, allocations: 53.31 MB / 432.1 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving): time 0.01823/0.2379, allocations: 16.05 MB / 448.1 MB, free: 7.254 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01012/0.248, allocations: 5.197 MB / 453.3 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001428/0.2495, allocations: 103.7 kB / 453.4 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008384/0.2579, allocations: 4.68 MB / 458.1 MB, free: 13.25 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005748/0.2636, allocations: 2.321 MB / 460.4 MB, free: 10.92 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00256/0.2662, allocations: 1.342 MB / 461.8 MB, free: 9.574 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008339/0.2745, allocations: 6.581 MB / 468.3 MB, free: 2.98 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0058/0.2803, allocations: 4.473 MB / 472.8 MB, free: 14.44 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003572/0.2839, allocations: 2.481 MB / 475.3 MB, free: 11.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006091/0.29, allocations: 4.496 MB / 479.8 MB, free: 7.441 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00116/0.2911, allocations: 0.6406 MB / 480.4 MB, free: 6.801 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002434/0.2936, allocations: 1.42 MB / 481.9 MB, free: 5.383 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002776/0.2963, allocations: 2.942 MB / 484.8 MB, free: 2.434 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003682/0.3, allocations: 3.358 MB / 488.2 MB, free: 15.05 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01169/0.3117, allocations: 11.02 MB / 499.2 MB, free: 4.004 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.495e-06/0.3117, allocations: 3.984 kB / 499.2 MB, free: 4 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3117, allocations: 3.938 kB / 499.2 MB, free: 3.996 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001975/0.3119, allocations: 0 / 499.2 MB, free: 3.996 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1959 * Number of variables: 1959 Notification: Performance of Generate backend data structure: time 0.01492/0.3268, allocations: 7.205 MB / 0.4945 GB, free: 12.7 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.3269, allocations: 8.031 kB / 0.4945 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008777/0.3357, allocations: 2.263 MB / 0.4967 GB, free: 10.43 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008871/0.3445, allocations: 3.965 MB / 0.5006 GB, free: 6.402 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002713/0.3448, allocations: 349 kB / 0.5009 GB, free: 6.059 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009613/0.3458, allocations: 475.7 kB / 0.5014 GB, free: 5.594 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02407/0.3698, allocations: 14.02 MB / 0.5151 GB, free: 6.758 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001657/0.37, allocations: 59.53 kB / 0.5151 GB, free: 6.699 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005846/0.3706, allocations: 211.8 kB / 0.5153 GB, free: 6.492 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004618/0.3752, allocations: 2.461 MB / 0.5177 GB, free: 4.031 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0246/0.3998, allocations: 12.36 MB / 0.5298 GB, free: 7.656 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2267/0.6265, allocations: 56.08 MB / 0.5846 GB, free: 56.71 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01534/0.6418, allocations: 6.567 MB / 0.591 GB, free: 49.98 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003961/0.6458, allocations: 4.359 MB / 0.5953 GB, free: 45.62 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001002/0.6468, allocations: 1.281 MB / 0.5965 GB, free: 44.13 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.6468, allocations: 64.56 kB / 0.5966 GB, free: 44.06 MB / 446.1 MB Notification: Performance of pre-optimization done (n=296): time 5.32e-06/0.6468, allocations: 0 / 0.5966 GB, free: 44.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=387): time 0.1313/0.7781, allocations: 45.27 MB / 0.6408 GB, free: 15.08 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001258/0.7782, allocations: 192.7 kB / 0.641 GB, free: 14.86 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006691/0.7849, allocations: 4.67 MB / 0.6455 GB, free: 10.25 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005808/0.7855, allocations: 81.7 kB / 0.6456 GB, free: 10.17 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0029/0.7884, allocations: 3.84 MB / 0.6494 GB, free: 6.699 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001722/0.7901, allocations: 1.458 MB / 0.6508 GB, free: 5.258 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002518/0.7927, allocations: 1.579 MB / 0.6523 GB, free: 3.672 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.7928, allocations: 301.1 kB / 0.6526 GB, free: 3.375 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006651/0.7994, allocations: 4.244 MB / 0.6567 GB, free: 15.12 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01029/0.8097, allocations: 8.232 MB / 0.6648 GB, free: 4.953 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01829/0.828, allocations: 13.47 MB / 0.6779 GB, free: 5.527 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.569e-05/0.8281, allocations: 40 kB / 0.678 GB, free: 5.488 MB / 494.1 MB Notification: Performance of matching and sorting (n=1033) (initialization): time 0.0342/0.8623, allocations: 16.93 MB / 0.6945 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.208e-05/0.8624, allocations: 64 kB / 0.6946 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001543/0.8625, allocations: 136 kB / 0.6947 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01548/0.878, allocations: 5.338 MB / 0.6999 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006055/0.8841, allocations: 1.684 MB / 0.7016 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05416/0.9382, allocations: 35.04 MB / 0.7358 GB, free: 9.938 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006084/0.9443, allocations: 0.5304 MB / 0.7363 GB, free: 9.406 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009674/0.9453, allocations: 443.9 kB / 0.7367 GB, free: 8.973 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 626 * Number of states: 0 () * Number of discrete variables: 51 (shape.color[3],shape.color[2],shape.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],wheelSet.wheelSetJoint.revolute2.cylinderColor[3],wheelSet.wheelSetJoint.revolute2.cylinderColor[2],wheelSet.wheelSetJoint.revolute2.cylinderColor[1],wheelSet.wheelSetJoint.revolute1.cylinderColor[3],wheelSet.wheelSetJoint.revolute1.cylinderColor[2],wheelSet.wheelSetJoint.revolute1.cylinderColor[1],wheelSet.wheelSetJoint.rod2.color[3],wheelSet.wheelSetJoint.rod2.color[2],wheelSet.wheelSetJoint.rod2.color[1],wheelSet.wheelSetJoint.revolute.cylinderColor[3],wheelSet.wheelSetJoint.revolute.cylinderColor[2],wheelSet.wheelSetJoint.revolute.cylinderColor[1],wheelSet.wheelSetJoint.prismatic2.boxColor[3],wheelSet.wheelSetJoint.prismatic2.boxColor[2],wheelSet.wheelSetJoint.prismatic2.boxColor[1],wheelSet.wheelSetJoint.prismatic1.boxColor[3],wheelSet.wheelSetJoint.prismatic1.boxColor[2],wheelSet.wheelSetJoint.prismatic1.boxColor[1],wheelSet.wheelSetJoint.rod1.color[3],wheelSet.wheelSetJoint.rod1.color[2],wheelSet.wheelSetJoint.rod1.color[1],wheelSet.wheelSetJoint.fixed.color[3],wheelSet.wheelSetJoint.fixed.color[2],wheelSet.wheelSetJoint.fixed.color[1],wheelSet.body1.sphereColor[3],wheelSet.body1.sphereColor[2],wheelSet.body1.sphereColor[1],wheelSet.body2.sphereColor[3],wheelSet.body2.sphereColor[2],wheelSet.body2.sphereColor[1],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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (866): * Single equations (assignments): 857 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (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): 2 systems {(8,101,57.8%), (1,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004681/0.95, allocations: 2.852 MB / 0.7395 GB, free: 6.113 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001071/0.951, allocations: 0.489 MB / 0.74 GB, free: 5.621 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2091/1.16, allocations: 11.8 MB / 0.7515 GB, free: 188.1 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.1e-05/1.16, allocations: 16.66 kB / 0.7515 GB, free: 188.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/1.16, allocations: 2.562 kB / 0.7515 GB, free: 188.1 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001065/1.161, allocations: 0.5227 MB / 0.752 GB, free: 188 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001176/1.162, allocations: 62.3 kB / 0.7521 GB, free: 188 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003139/1.166, allocations: 293.5 kB / 0.7524 GB, free: 188 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008805/1.166, allocations: 355.3 kB / 0.7527 GB, free: 188 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02089/1.187, allocations: 12.12 MB / 0.7646 GB, free: 184.6 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01297/1.2, allocations: 12.7 MB / 0.777 GB, free: 179.5 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003464/1.204, allocations: 3.466 MB / 0.7804 GB, free: 176.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003237/1.207, allocations: 2.943 MB / 0.7832 GB, free: 174.3 MB / 0.545 GB Notification: Performance of Backend: time 2.1e-07/1.207, allocations: 3.938 kB / 0.7832 GB, free: 174.3 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/Mechanics/MultiBody/Parts/RollingWheelSet.mo:46:3-49:53:writable] Warning: Variable $DER.wheelSet.der_theta2 has attribute stateSelect=StateSelect.always, but can't be selected as a state. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/Mechanics/MultiBody/Parts/RollingWheelSet.mo:42:3-45:53:writable] Warning: Variable $DER.wheelSet.der_theta1 has attribute stateSelect=StateSelect.always, but can't be selected as a state. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/Mechanics/MultiBody/Parts/RollingWheelSet.mo:46:3-49:53:writable] Warning: Variable $DER.wheelSet.der_theta2 has attribute stateSelect=StateSelect.always, but can't be selected as a state. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/Mechanics/MultiBody/Parts/RollingWheelSet.mo:42:3-45:53:writable] Warning: Variable $DER.wheelSet.der_theta1 has attribute stateSelect=StateSelect.always, but can't be selected as a state. Notification: Performance of simCode: created initialization part: time 0.01195/1.219, allocations: 7.833 MB / 0.7909 GB, free: 166.5 MB / 0.545 GB Notification: Performance of SimCode: time 0.01619/1.235, allocations: 13.97 MB / 0.8045 GB, free: 152.6 MB / 0.545 GB Notification: Performance of Templates: time 0.1172/1.352, allocations: 97.04 MB / 0.8993 GB, free: 55.95 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheelSetDriving/RollingWheelSetDriving.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.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: 7.5805588769726455]