Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.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.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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001027/0.001027, 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.001305/0.001305, 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.311/1.311, allocations: 222.9 MB / 242.4 MB, free: 15.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001077/0.001077, allocations: 47.91 kB / 352 MB, free: 3.23 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.2095, allocations: 49.44 MB / 401.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving): time 0.01569/0.2252, allocations: 15.98 MB / 417.4 MB, free: 8.812 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009157/0.2344, allocations: 5.122 MB / 422.5 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002831/0.2372, allocations: 103.7 kB / 422.6 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007946/0.2452, allocations: 4.638 MB / 427.3 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005114/0.2504, allocations: 2.348 MB / 429.6 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00236/0.2528, allocations: 1.33 MB / 430.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007195/0.26, allocations: 6.437 MB / 437.4 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006909/0.2669, allocations: 6.113 MB / 443.5 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003364/0.2703, allocations: 2.481 MB / 446 MB, free: 12.12 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00524/0.2755, allocations: 4.142 MB / 450.1 MB, free: 7.969 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001516/0.2771, allocations: 0.6445 MB / 450.8 MB, free: 7.324 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003041/0.2801, allocations: 1.401 MB / 452.2 MB, free: 5.922 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003235/0.2834, allocations: 2.903 MB / 455.1 MB, free: 3.012 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004545/0.2879, allocations: 3.366 MB / 458.4 MB, free: 15.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01077/0.2987, allocations: 11.03 MB / 469.5 MB, free: 4.566 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.2987, allocations: 0 / 469.5 MB, free: 4.566 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2987, allocations: 0 / 469.5 MB, free: 4.566 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002941/0.299, allocations: 0 / 469.5 MB, free: 4.566 MB / 382.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.01691/0.316, allocations: 7.031 MB / 476.5 MB, free: 13.46 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.316, allocations: 16.02 kB / 476.5 MB, free: 13.44 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009272/0.3253, allocations: 2.197 MB / 478.7 MB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008792/0.3341, allocations: 4.033 MB / 482.7 MB, free: 7.141 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002865/0.3344, allocations: 345 kB / 483.1 MB, free: 6.801 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001456/0.3359, allocations: 475.6 kB / 483.5 MB, free: 6.336 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02556/0.3615, allocations: 14.03 MB / 497.6 MB, free: 7.5 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002232/0.3617, allocations: 55.44 kB / 497.6 MB, free: 7.445 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001153/0.3629, allocations: 219.8 kB / 497.8 MB, free: 7.23 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004308/0.3672, allocations: 2.457 MB / 0.4886 GB, free: 4.77 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02302/0.3902, allocations: 12.36 MB / 0.5006 GB, free: 8.398 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2753/0.6656, allocations: 55.98 MB / 0.5553 GB, free: 95.7 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01547/0.6811, allocations: 6.835 MB / 0.562 GB, free: 94.99 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003969/0.6851, allocations: 4.687 MB / 0.5666 GB, free: 93.15 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009943/0.6861, allocations: 1.281 MB / 0.5678 GB, free: 91.98 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.6861, allocations: 63.22 kB / 0.5679 GB, free: 91.92 MB / 462.1 MB Notification: Performance of pre-optimization done (n=296): time 5.19e-06/0.6861, allocations: 4.406 kB / 0.5679 GB, free: 91.92 MB / 462.1 MB Notification: Performance of matching and sorting (n=387): time 0.1349/0.821, allocations: 45.02 MB / 0.6118 GB, free: 52.46 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.8211, allocations: 192.7 kB / 0.612 GB, free: 52.24 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00443/0.8255, allocations: 4.659 MB / 0.6166 GB, free: 47.58 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003879/0.8259, allocations: 81.7 kB / 0.6167 GB, free: 47.49 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001367/0.8273, allocations: 3.697 MB / 0.6203 GB, free: 43.79 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008666/0.8282, allocations: 1.395 MB / 0.6216 GB, free: 42.41 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001782/0.83, allocations: 1.564 MB / 0.6232 GB, free: 40.84 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 5.784e-05/0.83, allocations: 309.1 kB / 0.6234 GB, free: 40.54 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004624/0.8347, allocations: 4.236 MB / 0.6276 GB, free: 36.29 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005732/0.8404, allocations: 8.227 MB / 0.6356 GB, free: 26.19 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01167/0.8521, allocations: 13.47 MB / 0.6488 GB, free: 10.77 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.473e-05/0.8522, allocations: 40 kB / 0.6488 GB, free: 10.73 MB / 462.1 MB Notification: Performance of matching and sorting (n=1033) (initialization): time 0.02803/0.8802, allocations: 17 MB / 0.6654 GB, free: 9.676 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.024e-05/0.8803, allocations: 67.98 kB / 0.6655 GB, free: 9.609 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001258/0.8804, allocations: 136 kB / 0.6656 GB, free: 9.477 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01468/0.8951, allocations: 5.339 MB / 0.6708 GB, free: 4.117 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005731/0.9009, allocations: 1.684 MB / 0.6725 GB, free: 2.43 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05109/0.952, allocations: 35.04 MB / 0.7067 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006229/0.9582, allocations: 0.5264 MB / 0.7072 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001249/0.9595, allocations: 455.2 kB / 0.7076 GB, free: 14.16 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.004921/0.9644, allocations: 2.852 MB / 0.7104 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001145/0.9656, allocations: 466 kB / 0.7109 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02448/0.9901, allocations: 11.89 MB / 0.7225 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.113e-05/0.9902, allocations: 19.94 kB / 0.7225 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/0.9902, allocations: 3.938 kB / 0.7225 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001133/0.9913, allocations: 0.4989 MB / 0.723 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001101/0.9924, allocations: 64 kB / 0.7231 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003333/0.9958, allocations: 291.5 kB / 0.7233 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009416/0.9967, allocations: 353.2 kB / 0.7237 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02534/1.022, allocations: 12.12 MB / 0.7355 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.1953/1.217, allocations: 12.67 MB / 0.7479 GB, free: 185 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003818/1.221, allocations: 3.692 MB / 0.7515 GB, free: 183.5 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0032/1.224, allocations: 2.939 MB / 0.7544 GB, free: 182.5 MB / 0.5294 GB Notification: Performance of Backend: time 3.3e-07/1.224, allocations: 0 / 0.7544 GB, free: 182.5 MB / 0.5294 GB [/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. [/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. Notification: Performance of simCode: created initialization part: time 0.01229/1.237, allocations: 8.301 MB / 0.7625 GB, free: 179 MB / 0.5294 GB Notification: Performance of SimCode: time 0.01535/1.252, allocations: 13.63 MB / 0.7758 GB, free: 168.8 MB / 0.5294 GB Notification: Performance of Templates: time 0.1132/1.365, allocations: 92.77 MB / 0.8664 GB, free: 78.97 MB / 0.5294 GB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches