Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001306/0.001306, allocations: 109.3 kB / 18.35 MB, free: 4.793 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.001269/0.001269, allocations: 190.9 kB / 19.29 MB, free: 3.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.256/1.256, allocations: 205.1 MB / 225.2 MB, free: 12.2 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 52.34 kB / 282.1 MB, free: 2.441 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07115/0.07233, allocations: 46.63 MB / 328.7 MB, free: 3.738 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling): time 0.01669/0.08904, allocations: 17.08 MB / 345.8 MB, free: 2.574 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01015/0.09922, allocations: 5.73 MB / 351.5 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00213/0.1014, allocations: 107.7 kB / 351.6 MB, free: 12.72 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008544/0.11, allocations: 5.21 MB / 356.9 MB, free: 7.496 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005011/0.115, allocations: 2.42 MB / 359.3 MB, free: 5.066 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002664/0.1177, allocations: 1.498 MB / 360.8 MB, free: 3.566 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007275/0.125, allocations: 6.675 MB / 367.5 MB, free: 12.87 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007094/0.1321, allocations: 6.605 MB / 374.1 MB, free: 6.207 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003417/0.1355, allocations: 2.657 MB / 376.7 MB, free: 3.543 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1363/0.2718, allocations: 4.334 MB / 381 MB, free: 19.74 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001739/0.2736, allocations: 0.6745 MB / 381.7 MB, free: 19.74 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002573/0.2762, allocations: 1.468 MB / 383.2 MB, free: 19.74 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002363/0.2785, allocations: 3.047 MB / 386.2 MB, free: 19.74 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002966/0.2815, allocations: 3.549 MB / 389.8 MB, free: 18.89 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008645/0.2902, allocations: 11.62 MB / 401.4 MB, free: 16.81 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2902, allocations: 0 / 401.4 MB, free: 16.81 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2902, allocations: 0 / 401.4 MB, free: 16.81 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002239/0.2904, allocations: 0 / 401.4 MB, free: 16.81 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2051 * Number of variables: 2051 Notification: Performance of Generate backend data structure: time 0.01221/0.3026, allocations: 7.396 MB / 408.8 MB, free: 11.98 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.3027, allocations: 10.34 kB / 408.8 MB, free: 11.98 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007576/0.3103, allocations: 2.248 MB / 411.1 MB, free: 10.83 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006323/0.3166, allocations: 4.328 MB / 415.4 MB, free: 8.293 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001763/0.3168, allocations: 378.2 kB / 415.8 MB, free: 8.152 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008083/0.3176, allocations: 0.4907 MB / 416.2 MB, free: 8.012 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02377/0.3414, allocations: 14.61 MB / 430.9 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002528/0.3417, allocations: 69.3 kB / 430.9 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001353/0.3431, allocations: 221.9 kB / 431.1 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004436/0.3475, allocations: 2.516 MB / 433.7 MB, free: 8.852 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02582/0.3733, allocations: 12.75 MB / 446.4 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07284/0.4462, allocations: 58.32 MB / 0.4929 GB, free: 1.5 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01864/0.4649, allocations: 7.147 MB / 0.4999 GB, free: 10.21 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005822/0.4707, allocations: 4.825 MB / 0.5046 GB, free: 5.383 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0013/0.4721, allocations: 1.281 MB / 0.5058 GB, free: 3.898 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01575/0.4878, allocations: 5.187 MB / 0.5109 GB, free: 14.66 MB / 430.1 MB Notification: Performance of pre-optimization done (n=309): time 5.049e-06/0.4878, allocations: 4 kB / 0.5109 GB, free: 14.65 MB / 430.1 MB Notification: Performance of matching and sorting (n=404): time 0.3005/0.7883, allocations: 48.76 MB / 0.5585 GB, free: 136 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.86e-05/0.7884, allocations: 196.3 kB / 0.5587 GB, free: 135.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006297/0.7947, allocations: 5.035 MB / 0.5636 GB, free: 134.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006216/0.7953, allocations: 88.03 kB / 0.5637 GB, free: 134.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002527/0.7979, allocations: 3.986 MB / 0.5676 GB, free: 131.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001293/0.7992, allocations: 1.464 MB / 0.569 GB, free: 130.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002131/0.8013, allocations: 1.663 MB / 0.5707 GB, free: 129.9 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.412e-05/0.8013, allocations: 301.1 kB / 0.5709 GB, free: 129.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005058/0.8064, allocations: 4.421 MB / 0.5753 GB, free: 128 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006108/0.8125, allocations: 8.658 MB / 0.5837 GB, free: 120.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01235/0.8249, allocations: 14.14 MB / 0.5975 GB, free: 105.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.848e-05/0.825, allocations: 40 kB / 0.5976 GB, free: 105.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.02771/0.8527, allocations: 17.63 MB / 0.6148 GB, free: 88.97 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.278e-05/0.8528, allocations: 64 kB / 0.6148 GB, free: 88.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001283/0.8529, allocations: 148.9 kB / 0.615 GB, free: 88.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01294/0.8659, allocations: 5.393 MB / 0.6202 GB, free: 83.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005606/0.8715, allocations: 1.783 MB / 0.622 GB, free: 81.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03952/0.9111, allocations: 35.24 MB / 0.6564 GB, free: 46.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006572/0.9177, allocations: 0.546 MB / 0.6569 GB, free: 45.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008804/0.9186, allocations: 471.9 kB / 0.6574 GB, free: 45.21 MB / 446.1 MB 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 (921): * Single equations (assignments): 912 * 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%), (1,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004159/0.9227, allocations: 3.008 MB / 0.6603 GB, free: 42.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007877/0.9235, allocations: 0.4898 MB / 0.6608 GB, free: 41.71 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02035/0.9439, allocations: 12.22 MB / 0.6727 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.629e-05/0.9439, allocations: 23.92 kB / 0.6728 GB, free: 29.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.226e-06/0.944, allocations: 3.844 kB / 0.6728 GB, free: 29.39 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002436/0.9464, allocations: 1.291 MB / 0.674 GB, free: 28.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007188/0.9471, allocations: 68 kB / 0.6741 GB, free: 28.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002543/0.9497, allocations: 302 kB / 0.6744 GB, free: 27.71 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006724/0.9504, allocations: 368.2 kB / 0.6747 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02316/0.9735, allocations: 12.51 MB / 0.6869 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02116/0.9947, allocations: 13.15 MB / 0.6998 GB, free: 1.664 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.1468/1.142, allocations: 3.832 MB / 0.7035 GB, free: 143.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00512/1.147, allocations: 3.169 MB / 0.7066 GB, free: 143.6 MB / 446.1 MB Notification: Performance of Backend: time 7.62e-07/1.147, allocations: 0 / 0.7066 GB, free: 143.6 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Mechanics/MultiBody/Parts.mo:2763:5-2766:55: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 3.2.3+maint.om/Mechanics/MultiBody/Parts.mo:2759:5-2762:55: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 3.2.3+maint.om/Mechanics/MultiBody/Parts.mo:2763:5-2766:55: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 3.2.3+maint.om/Mechanics/MultiBody/Parts.mo:2759:5-2762:55: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.01658/1.163, allocations: 8.993 MB / 0.7154 GB, free: 141.1 MB / 446.1 MB Notification: Performance of SimCode: time 0.01666/1.18, allocations: 14.34 MB / 0.7294 GB, free: 134.7 MB / 446.1 MB Notification: Performance of Templates: time 0.1098/1.29, allocations: 93.93 MB / 0.8211 GB, free: 51.02 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheelSetPulling/RollingWheelSetPulling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches