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.RollingWheelSetPulling.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.00129/0.00129, allocations: 114.5 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.001398/0.001398, allocations: 212.1 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.419/1.419, allocations: 230.4 MB / 258.1 MB, free: 8.137 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.RollingWheelSetPulling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,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.RollingWheelSetPulling") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,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.RollingWheelSetPulling") [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.001942/0.001942, allocations: 67.83 kB / 378.7 MB, free: 2.875 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2212, allocations: 53.32 MB / 432.1 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling): time 0.0195/0.2407, allocations: 16.59 MB / 448.7 MB, free: 6.707 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01149/0.2522, allocations: 5.921 MB / 454.6 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002746/0.2549, allocations: 107.7 kB / 454.7 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009399/0.2643, allocations: 5.261 MB / 459.9 MB, free: 11.39 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005451/0.2698, allocations: 2.478 MB / 462.4 MB, free: 8.898 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002692/0.2725, allocations: 1.47 MB / 463.9 MB, free: 7.426 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008075/0.2806, allocations: 6.755 MB / 470.6 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005432/0.286, allocations: 4.805 MB / 475.5 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00313/0.2891, allocations: 2.633 MB / 478.1 MB, free: 9.152 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005815/0.2949, allocations: 4.687 MB / 482.8 MB, free: 4.453 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009829/0.2959, allocations: 0.6758 MB / 483.4 MB, free: 3.777 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002396/0.2983, allocations: 1.495 MB / 484.9 MB, free: 2.281 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00285/0.3012, allocations: 3.105 MB / 488 MB, free: 15.17 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003383/0.3046, allocations: 3.513 MB / 491.6 MB, free: 11.64 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01168/0.3162, allocations: 11.58 MB / 0.4913 GB, free: 20 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.3162, allocations: 0 / 0.4913 GB, free: 20 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3162, allocations: 0 / 0.4913 GB, free: 20 kB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001465/0.3164, allocations: 0 / 0.4913 GB, free: 20 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2047 * Number of variables: 2047 Notification: Performance of Generate backend data structure: time 0.01534/0.3317, allocations: 7.553 MB / 0.4987 GB, free: 8.371 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.3318, allocations: 11.97 kB / 0.4987 GB, free: 8.359 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008862/0.3406, allocations: 2.282 MB / 0.501 GB, free: 6.07 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009018/0.3497, allocations: 4.111 MB / 0.505 GB, free: 1.902 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003064/0.35, allocations: 369.6 kB / 0.5053 GB, free: 1.539 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001046/0.351, allocations: 0.4958 MB / 0.5058 GB, free: 1.043 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02552/0.3765, allocations: 14.59 MB / 0.5201 GB, free: 1.574 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000169/0.3767, allocations: 59.53 kB / 0.5201 GB, free: 1.516 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006119/0.3773, allocations: 227.8 kB / 0.5203 GB, free: 1.293 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004606/0.3819, allocations: 2.508 MB / 0.5228 GB, free: 14.79 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02447/0.4064, allocations: 12.73 MB / 0.5352 GB, free: 2.039 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2349/0.6413, allocations: 58.28 MB / 0.5921 GB, free: 49.32 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01592/0.6572, allocations: 6.826 MB / 0.5988 GB, free: 42.33 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004139/0.6614, allocations: 4.491 MB / 0.6032 GB, free: 37.84 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001014/0.6624, allocations: 1.293 MB / 0.6044 GB, free: 36.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01411/0.6765, allocations: 5.18 MB / 0.6095 GB, free: 31.11 MB / 446.1 MB Notification: Performance of pre-optimization done (n=306): time 5.661e-06/0.6765, allocations: 0 / 0.6095 GB, free: 31.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=401): time 0.1535/0.83, allocations: 48.94 MB / 0.6573 GB, free: 14.43 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001283/0.8302, allocations: 208.7 kB / 0.6575 GB, free: 14.19 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006882/0.837, allocations: 4.994 MB / 0.6624 GB, free: 9.281 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004394/0.8375, allocations: 81.7 kB / 0.6624 GB, free: 9.195 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003541/0.841, allocations: 4.115 MB / 0.6665 GB, free: 5.352 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001613/0.8426, allocations: 1.535 MB / 0.668 GB, free: 3.805 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002542/0.8452, allocations: 1.66 MB / 0.6696 GB, free: 2.133 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.8453, allocations: 309.1 kB / 0.6699 GB, free: 1.828 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006774/0.8521, allocations: 4.412 MB / 0.6742 GB, free: 13.41 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01041/0.8625, allocations: 8.642 MB / 0.6826 GB, free: 2.695 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01888/0.8814, allocations: 14.11 MB / 0.6964 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.917e-05/0.8815, allocations: 44 kB / 0.6964 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1088) (initialization): time 0.03489/0.9163, allocations: 17.53 MB / 0.7136 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001022/0.9164, allocations: 68 kB / 0.7136 GB, free: 0.8164 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001791/0.9166, allocations: 148.9 kB / 0.7138 GB, free: 0.6719 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01551/0.9321, allocations: 5.381 MB / 0.719 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006252/0.9384, allocations: 1.778 MB / 0.7208 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2406/1.179, allocations: 35.15 MB / 0.7551 GB, free: 178.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005982/1.185, allocations: 0.5425 MB / 0.7556 GB, free: 177.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006136/1.186, allocations: 480.2 kB / 0.7561 GB, free: 177.9 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 666 * Number of states: 0 () * Number of discrete variables: 59 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent,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],force.color[3],force.color[2],force.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (918): * Single equations (assignments): 909 * 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,104,57.8%), (2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003492/1.189, allocations: 3.002 MB / 0.759 GB, free: 176.7 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006912/1.19, allocations: 0.5199 MB / 0.7595 GB, free: 176.7 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02015/1.21, allocations: 12.1 MB / 0.7713 GB, free: 172.4 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.154e-05/1.21, allocations: 22.3 kB / 0.7714 GB, free: 172.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.036e-06/1.21, allocations: 3.125 kB / 0.7714 GB, free: 172.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008484/1.211, allocations: 0.5415 MB / 0.7719 GB, free: 172.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007235/1.212, allocations: 61.44 kB / 0.7719 GB, free: 172.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002536/1.214, allocations: 305.9 kB / 0.7722 GB, free: 172.1 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006792/1.215, allocations: 357 kB / 0.7726 GB, free: 172.1 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02075/1.235, allocations: 12.48 MB / 0.7848 GB, free: 168 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01355/1.249, allocations: 13.15 MB / 0.7976 GB, free: 156.7 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003606/1.253, allocations: 3.59 MB / 0.8011 GB, free: 153.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003495/1.256, allocations: 3.143 MB / 0.8042 GB, free: 150.5 MB / 0.545 GB Notification: Performance of Backend: time 3e-07/1.256, allocations: 0 / 0.8042 GB, free: 150.5 MB / 0.545 GB [/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. [/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. Notification: Performance of simCode: created initialization part: time 0.01405/1.27, allocations: 8.509 MB / 0.8125 GB, free: 142.3 MB / 0.545 GB Notification: Performance of SimCode: time 0.01616/1.286, allocations: 14.63 MB / 0.8268 GB, free: 127.7 MB / 0.545 GB Notification: Performance of Templates: time 0.1152/1.402, allocations: 97.33 MB / 0.9218 GB, free: 30.76 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheelSetPulling/RollingWheelSetPulling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.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.78945864085108]