Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wheelSet.der_theta1|wheelSet.der_theta2|wheelSet.phi|wheelSet.theta1|wheelSet.theta2|wheelSet.x|wheelSet.y",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wheelSet.der_theta1|wheelSet.der_theta2|wheelSet.phi|wheelSet.theta1|wheelSet.theta2|wheelSet.x|wheelSet.y",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 110.9 kB / 17.75 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001756/0.001756, allocations: 190.6 kB / 18.68 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 222.9 MB / 242.4 MB, free: 15.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001037/0.001038, allocations: 43.94 kB / 352 MB, free: 3.227 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.2151, allocations: 49.44 MB / 401.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling): time 0.01695/0.2321, allocations: 16.61 MB / 418 MB, free: 8.168 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01004/0.2421, allocations: 5.769 MB / 423.8 MB, free: 2.383 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002006/0.2442, allocations: 111.7 kB / 423.9 MB, free: 2.273 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009083/0.2533, allocations: 5.199 MB / 429.1 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005082/0.2584, allocations: 2.463 MB / 431.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002779/0.2612, allocations: 1.511 MB / 433.1 MB, free: 9.074 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007472/0.2687, allocations: 6.601 MB / 439.7 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007686/0.2764, allocations: 6.577 MB / 446.3 MB, free: 11.82 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003631/0.28, allocations: 2.633 MB / 448.9 MB, free: 9.18 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00549/0.2856, allocations: 4.317 MB / 453.2 MB, free: 4.852 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001441/0.287, allocations: 0.6719 MB / 453.9 MB, free: 4.18 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003007/0.29, allocations: 1.487 MB / 455.4 MB, free: 2.691 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003174/0.2932, allocations: 3.055 MB / 458.4 MB, free: 15.63 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003505/0.2967, allocations: 3.537 MB / 462 MB, free: 12.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009831/0.3066, allocations: 11.57 MB / 473.5 MB, free: 480 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3066, allocations: 0 / 473.5 MB, free: 480 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3066, allocations: 0 / 473.5 MB, free: 480 kB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001603/0.3068, allocations: 0 / 473.5 MB, free: 480 kB / 382.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.0133/0.3201, allocations: 7.357 MB / 480.9 MB, free: 9.027 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.3202, allocations: 11.97 kB / 480.9 MB, free: 9.016 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008506/0.3287, allocations: 2.251 MB / 483.1 MB, free: 6.754 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009019/0.3377, allocations: 4.175 MB / 487.3 MB, free: 2.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002968/0.338, allocations: 365.6 kB / 487.7 MB, free: 2.16 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001446/0.3395, allocations: 0.4918 MB / 488.2 MB, free: 1.668 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02683/0.3663, allocations: 14.59 MB / 0.491 GB, free: 2.195 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000229/0.3666, allocations: 59.44 kB / 0.491 GB, free: 2.137 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001181/0.3678, allocations: 231.8 kB / 0.4913 GB, free: 1.91 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004465/0.3722, allocations: 2.504 MB / 0.4937 GB, free: 15.4 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0248/0.3971, allocations: 12.73 MB / 0.5061 GB, free: 2.656 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2485/0.6455, allocations: 58.18 MB / 0.563 GB, free: 93.72 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01643/0.662, allocations: 7.11 MB / 0.5699 GB, free: 92.4 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004147/0.6662, allocations: 4.814 MB / 0.5746 GB, free: 90.28 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009987/0.6672, allocations: 1.284 MB / 0.5759 GB, free: 89.1 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01437/0.6816, allocations: 5.181 MB / 0.5809 GB, free: 86.62 MB / 462.1 MB Notification: Performance of pre-optimization done (n=306): time 5.039e-06/0.6816, allocations: 0 / 0.5809 GB, free: 86.62 MB / 462.1 MB Notification: Performance of matching and sorting (n=401): time 0.1516/0.8332, allocations: 48.69 MB / 0.6285 GB, free: 39 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/0.8333, allocations: 192.8 kB / 0.6286 GB, free: 38.77 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004887/0.8382, allocations: 4.976 MB / 0.6335 GB, free: 33.8 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004485/0.8386, allocations: 87.95 kB / 0.6336 GB, free: 33.71 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001928/0.8405, allocations: 3.987 MB / 0.6375 GB, free: 29.72 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000971/0.8415, allocations: 1.461 MB / 0.6389 GB, free: 28.27 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001914/0.8434, allocations: 1.651 MB / 0.6405 GB, free: 26.61 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.236e-05/0.8435, allocations: 309.1 kB / 0.6408 GB, free: 26.31 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004842/0.8483, allocations: 4.405 MB / 0.6451 GB, free: 21.89 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006023/0.8544, allocations: 8.646 MB / 0.6536 GB, free: 11.18 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.013/0.8674, allocations: 14.12 MB / 0.6673 GB, free: 10.98 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.226e-05/0.8675, allocations: 44 kB / 0.6674 GB, free: 10.94 MB / 478.1 MB Notification: Performance of matching and sorting (n=1088) (initialization): time 0.03149/0.899, allocations: 17.59 MB / 0.6846 GB, free: 9.293 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.144e-05/0.8991, allocations: 70.97 kB / 0.6846 GB, free: 9.227 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001566/0.8992, allocations: 148 kB / 0.6848 GB, free: 9.082 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01454/0.9138, allocations: 5.374 MB / 0.69 GB, free: 3.688 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006005/0.9198, allocations: 1.782 MB / 0.6918 GB, free: 1.902 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05299/0.9728, allocations: 35.13 MB / 0.7261 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006302/0.9791, allocations: 0.5499 MB / 0.7266 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001248/0.9804, allocations: 475.9 kB / 0.7271 GB, free: 13.49 MB / 0.5294 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.005112/0.9855, allocations: 3 MB / 0.73 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001028/0.9866, allocations: 497.6 kB / 0.7305 GB, free: 9.984 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2033/1.19, allocations: 12.19 MB / 0.7424 GB, free: 186.3 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.245e-05/1.19, allocations: 21.64 kB / 0.7424 GB, free: 186.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-06/1.19, allocations: 1.219 kB / 0.7424 GB, free: 186.3 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001024/1.191, allocations: 0.5186 MB / 0.7429 GB, free: 186.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001344/1.192, allocations: 61.91 kB / 0.743 GB, free: 186.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003089/1.195, allocations: 297.9 kB / 0.7432 GB, free: 186.2 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001007/1.196, allocations: 364.9 kB / 0.7436 GB, free: 186.2 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02121/1.218, allocations: 12.48 MB / 0.7558 GB, free: 184.1 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01348/1.231, allocations: 13.12 MB / 0.7686 GB, free: 178.8 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00378/1.235, allocations: 3.821 MB / 0.7723 GB, free: 177.1 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00347/1.238, allocations: 3.137 MB / 0.7754 GB, free: 174.5 MB / 0.5294 GB Notification: Performance of Backend: time 5.92e-07/1.238, allocations: 0 / 0.7754 GB, free: 174.5 MB / 0.5294 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.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.0.0+maint.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.0.0+maint.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.0.0+maint.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.01353/1.252, allocations: 8.981 MB / 0.7842 GB, free: 166.3 MB / 0.5294 GB Notification: Performance of SimCode: time 0.01605/1.268, allocations: 14.27 MB / 0.7981 GB, free: 152.1 MB / 0.5294 GB Notification: Performance of Templates: time 0.1164/1.385, allocations: 96.54 MB / 0.8924 GB, free: 55.9 MB / 0.5294 GB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheelSetPulling/RollingWheelSetPulling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches