Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 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.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_3.2.3_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_3.2.3_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.00108/0.001079, allocations: 109.7 kB / 18.4 MB, free: 4.68 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.001017/0.001017, allocations: 187 kB / 19.34 MB, free: 3.754 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.235/1.235, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001188/0.001188, allocations: 51.92 kB / 329.2 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06921/0.07041, allocations: 46.63 MB / 375.8 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving): time 0.1596/0.2301, allocations: 16.07 MB / 391.9 MB, free: 3.895 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008868/0.239, allocations: 5.153 MB / 397.1 MB, free: 440 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001807/0.2408, allocations: 104.8 kB / 397.2 MB, free: 420 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007854/0.2487, allocations: 4.629 MB / 401.8 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005152/0.2539, allocations: 2.301 MB / 404.1 MB, free: 13.15 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002283/0.2562, allocations: 1.344 MB / 405.4 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006948/0.2631, allocations: 6.496 MB / 411.9 MB, free: 8.887 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005812/0.269, allocations: 6.138 MB / 418.1 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002898/0.2719, allocations: 2.516 MB / 420.6 MB, free: 2.676 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004201/0.2761, allocations: 4.157 MB / 424.8 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009041/0.277, allocations: 0.6406 MB / 425.4 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00224/0.2792, allocations: 1.397 MB / 426.8 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0022/0.2815, allocations: 2.911 MB / 429.7 MB, free: 9.551 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002811/0.2843, allocations: 3.381 MB / 433.1 MB, free: 6.152 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008764/0.2931, allocations: 11.04 MB / 444.1 MB, free: 11.07 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.2931, allocations: 4 kB / 444.1 MB, free: 11.07 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2931, allocations: 0 / 444.1 MB, free: 11.07 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001069/0.2932, allocations: 0 / 444.1 MB, free: 11.07 MB / 366.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.01178/0.305, allocations: 7.043 MB / 451.2 MB, free: 3.949 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.305, allocations: 8.031 kB / 451.2 MB, free: 3.941 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008011/0.3131, allocations: 2.212 MB / 453.4 MB, free: 1.719 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006257/0.3193, allocations: 4.19 MB / 457.6 MB, free: 13.47 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002149/0.3196, allocations: 349 kB / 457.9 MB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007466/0.3203, allocations: 471.6 kB / 458.4 MB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02108/0.3414, allocations: 14.03 MB / 472.4 MB, free: 13.83 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001478/0.3416, allocations: 59.44 kB / 472.5 MB, free: 13.77 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005287/0.3421, allocations: 215.8 kB / 472.7 MB, free: 13.56 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004104/0.3462, allocations: 2.461 MB / 475.1 MB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02285/0.3691, allocations: 12.37 MB / 487.5 MB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0623/0.4314, allocations: 56 MB / 0.5308 GB, free: 5.488 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01705/0.4485, allocations: 6.833 MB / 0.5374 GB, free: 14.49 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005443/0.454, allocations: 4.68 MB / 0.542 GB, free: 9.805 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001283/0.4553, allocations: 1.295 MB / 0.5433 GB, free: 8.289 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.057e-05/0.4553, allocations: 64.56 kB / 0.5433 GB, free: 8.215 MB / 478.1 MB Notification: Performance of pre-optimization done (n=296): time 5.68e-06/0.4553, allocations: 0 / 0.5433 GB, free: 8.215 MB / 478.1 MB Notification: Performance of matching and sorting (n=387): time 0.3013/0.7567, allocations: 45.08 MB / 0.5874 GB, free: 122.5 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/0.7568, allocations: 196.7 kB / 0.5875 GB, free: 122.2 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004713/0.7615, allocations: 4.699 MB / 0.5921 GB, free: 117.5 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005508/0.762, allocations: 81.7 kB / 0.5922 GB, free: 117.4 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001342/0.7634, allocations: 3.703 MB / 0.5958 GB, free: 113.8 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008502/0.7643, allocations: 1.389 MB / 0.5972 GB, free: 112.4 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001807/0.7661, allocations: 1.582 MB / 0.5987 GB, free: 110.8 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 3.411e-05/0.7661, allocations: 301.1 kB / 0.599 GB, free: 110.5 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004555/0.7707, allocations: 4.24 MB / 0.6032 GB, free: 106.2 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005603/0.7763, allocations: 8.221 MB / 0.6112 GB, free: 96.15 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01117/0.7875, allocations: 13.48 MB / 0.6244 GB, free: 81.29 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.691e-05/0.7875, allocations: 43.38 kB / 0.6244 GB, free: 81.25 MB / 478.1 MB Notification: Performance of matching and sorting (n=1033) (initialization): time 0.02458/0.8121, allocations: 16.99 MB / 0.641 GB, free: 65.02 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.431e-05/0.8122, allocations: 64 kB / 0.641 GB, free: 64.96 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.723e-05/0.8123, allocations: 140 kB / 0.6412 GB, free: 64.82 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01221/0.8245, allocations: 5.343 MB / 0.6464 GB, free: 59.46 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004722/0.8292, allocations: 1.677 MB / 0.648 GB, free: 57.78 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03911/0.8684, allocations: 35.03 MB / 0.6822 GB, free: 22.48 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005767/0.8742, allocations: 0.5342 MB / 0.6828 GB, free: 21.95 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001104/0.8753, allocations: 446.8 kB / 0.6832 GB, free: 21.51 MB / 478.1 MB 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.003905/0.8792, allocations: 2.866 MB / 0.686 GB, free: 18.63 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008111/0.88, allocations: 470 kB / 0.6864 GB, free: 18.17 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01953/0.8995, allocations: 11.89 MB / 0.6981 GB, free: 6.203 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-05/0.8996, allocations: 15.94 kB / 0.6981 GB, free: 6.188 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/0.8996, allocations: 7.984 kB / 0.6981 GB, free: 6.18 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002193/0.9018, allocations: 1.246 MB / 0.6993 GB, free: 4.91 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005873/0.9024, allocations: 61.58 kB / 0.6994 GB, free: 4.855 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00262/0.905, allocations: 295.5 kB / 0.6996 GB, free: 4.566 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007415/0.9058, allocations: 352.3 kB / 0.7 GB, free: 4.223 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02253/0.9283, allocations: 12.12 MB / 0.7118 GB, free: 8.133 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01645/0.9448, allocations: 12.68 MB / 0.7242 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004587/0.9494, allocations: 3.697 MB / 0.7278 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004157/0.9536, allocations: 2.97 MB / 0.7307 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of Backend: time 2.7e-07/0.9536, allocations: 0 / 0.7307 GB, free: 4.707 MB / 0.4981 GB [/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.1672/1.121, allocations: 8.289 MB / 0.7388 GB, free: 183.2 MB / 0.5137 GB Notification: Performance of SimCode: time 0.02084/1.142, allocations: 13.68 MB / 0.7522 GB, free: 178.8 MB / 0.5137 GB Notification: Performance of Templates: time 0.1222/1.264, allocations: 93.98 MB / 0.8439 GB, free: 105.9 MB / 0.5137 GB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheelSetDriving/RollingWheelSetDriving.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches