Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving,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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving,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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001539/0.001539, allocations: 113.8 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001839/0.001839, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.325/1.325, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 55.91 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2051/0.2062, allocations: 50.54 MB / 409.9 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving): time 0.01571/0.222, allocations: 15.96 MB / 425.9 MB, free: 1.582 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00896/0.231, allocations: 5.156 MB / 431.1 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001811/0.2328, allocations: 103.7 kB / 431.2 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007892/0.2407, allocations: 4.614 MB / 435.8 MB, free: 7.684 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004563/0.2453, allocations: 2.26 MB / 438 MB, free: 5.414 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002233/0.2475, allocations: 1.334 MB / 439.4 MB, free: 4.078 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007207/0.2548, allocations: 6.577 MB / 445.9 MB, free: 13.48 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006599/0.2614, allocations: 6.113 MB / 452.1 MB, free: 7.309 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003386/0.2648, allocations: 2.477 MB / 454.5 MB, free: 4.824 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005194/0.27, allocations: 4.255 MB / 458.8 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001349/0.2713, allocations: 0.6368 MB / 459.4 MB, free: 15.92 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002677/0.274, allocations: 1.389 MB / 460.8 MB, free: 14.53 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002884/0.2769, allocations: 2.888 MB / 463.7 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004121/0.2811, allocations: 3.35 MB / 467.1 MB, free: 8.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009666/0.2907, allocations: 10.99 MB / 478 MB, free: 13.25 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.2908, allocations: 0 / 478 MB, free: 13.25 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2908, allocations: 4 kB / 478 MB, free: 13.25 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001105/0.2909, allocations: 0 / 478 MB, free: 13.25 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.01214/0.303, allocations: 7.031 MB / 485.1 MB, free: 6.137 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.3031, allocations: 8.031 kB / 485.1 MB, free: 6.129 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008119/0.3112, allocations: 2.224 MB / 487.3 MB, free: 3.895 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007178/0.3184, allocations: 3.952 MB / 491.3 MB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002207/0.3186, allocations: 344.9 kB / 491.6 MB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007433/0.3194, allocations: 475.7 kB / 492.1 MB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02065/0.3401, allocations: 14.02 MB / 0.4942 GB, free: 248 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00016/0.3402, allocations: 63.42 kB / 0.4943 GB, free: 184 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006312/0.3409, allocations: 211.9 kB / 0.4945 GB, free: 15.97 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003995/0.3449, allocations: 2.461 MB / 0.4969 GB, free: 13.51 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02093/0.3658, allocations: 12.36 MB / 0.509 GB, free: 1.137 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.238/0.6039, allocations: 55.98 MB / 0.5636 GB, free: 89.07 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01524/0.6191, allocations: 6.839 MB / 0.5703 GB, free: 87.77 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004045/0.6232, allocations: 4.676 MB / 0.5749 GB, free: 85.71 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009716/0.6242, allocations: 1.282 MB / 0.5761 GB, free: 84.54 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.6243, allocations: 67.47 kB / 0.5762 GB, free: 84.48 MB / 462.1 MB Notification: Performance of pre-optimization done (n=296): time 6.001e-06/0.6243, allocations: 2 kB / 0.5762 GB, free: 84.48 MB / 462.1 MB Notification: Performance of matching and sorting (n=387): time 0.13/0.7543, allocations: 45.03 MB / 0.6202 GB, free: 44.04 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.7544, allocations: 188.7 kB / 0.6203 GB, free: 43.81 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004285/0.7586, allocations: 4.656 MB / 0.6249 GB, free: 39.15 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003188/0.759, allocations: 80.36 kB / 0.625 GB, free: 39.07 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001373/0.7604, allocations: 3.692 MB / 0.6286 GB, free: 35.37 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008461/0.7612, allocations: 1.399 MB / 0.6299 GB, free: 33.99 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00179/0.763, allocations: 1.564 MB / 0.6315 GB, free: 32.41 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.167e-05/0.763, allocations: 305.1 kB / 0.6318 GB, free: 32.11 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004519/0.7676, allocations: 4.236 MB / 0.6359 GB, free: 27.87 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005678/0.7733, allocations: 8.228 MB / 0.6439 GB, free: 17.7 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01129/0.7846, allocations: 13.48 MB / 0.6571 GB, free: 2.266 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.312e-05/0.7846, allocations: 44 kB / 0.6571 GB, free: 2.223 MB / 462.1 MB Notification: Performance of matching and sorting (n=1033) (initialization): time 0.02911/0.8137, allocations: 17 MB / 0.6737 GB, free: 1.16 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.682e-05/0.8138, allocations: 64 kB / 0.6738 GB, free: 1.098 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001207/0.814, allocations: 136.9 kB / 0.6739 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01412/0.8281, allocations: 5.346 MB / 0.6792 GB, free: 11.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005549/0.8337, allocations: 1.684 MB / 0.6808 GB, free: 9.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04772/0.8814, allocations: 35.02 MB / 0.715 GB, free: 6.629 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005536/0.887, allocations: 0.5264 MB / 0.7155 GB, free: 6.102 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006618/0.8876, allocations: 451.8 kB / 0.7159 GB, free: 5.664 MB / 0.5137 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.003921/0.8916, allocations: 2.864 MB / 0.7187 GB, free: 2.793 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008129/0.8924, allocations: 473.9 kB / 0.7192 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0227/0.9151, allocations: 11.89 MB / 0.7308 GB, free: 6.363 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.044e-05/0.9151, allocations: 15.94 kB / 0.7308 GB, free: 6.348 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/0.9152, allocations: 0 / 0.7308 GB, free: 6.348 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001008/0.9162, allocations: 0.5028 MB / 0.7313 GB, free: 5.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006667/0.9169, allocations: 64 kB / 0.7314 GB, free: 5.758 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002617/0.9195, allocations: 291.5 kB / 0.7316 GB, free: 5.473 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007465/0.9202, allocations: 345.9 kB / 0.732 GB, free: 5.133 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02306/0.9433, allocations: 12.13 MB / 0.7438 GB, free: 9.043 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.195/1.138, allocations: 12.67 MB / 0.7562 GB, free: 196.2 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00413/1.142, allocations: 3.684 MB / 0.7598 GB, free: 195.6 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003706/1.146, allocations: 2.945 MB / 0.7627 GB, free: 194.5 MB / 0.545 GB Notification: Performance of Backend: time 3.51e-07/1.146, allocations: 3.172 kB / 0.7627 GB, free: 194.5 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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 trunk/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 trunk/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 trunk/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.01289/1.159, allocations: 8.29 MB / 0.7708 GB, free: 191.1 MB / 0.545 GB Notification: Performance of SimCode: time 0.01442/1.174, allocations: 13.63 MB / 0.7841 GB, free: 184.4 MB / 0.545 GB Notification: Performance of Templates: time 0.1057/1.279, allocations: 92.66 MB / 0.8746 GB, free: 95.7 MB / 0.545 GB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheelSetDriving/RollingWheelSetDriving.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches