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.001505/0.001505, allocations: 105.2 kB / 17.74 MB, free: 5.352 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.001657/0.001657, allocations: 186.5 kB / 18.68 MB, free: 4.426 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.405/1.405, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009944/0.0009944, allocations: 51.92 kB / 352 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2069/0.2079, allocations: 49.43 MB / 401.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling): time 0.01733/0.2252, allocations: 16.61 MB / 418 MB, free: 8.199 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01009/0.2354, allocations: 5.779 MB / 423.8 MB, free: 2.402 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00192/0.2373, allocations: 107.7 kB / 423.9 MB, free: 2.297 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008984/0.2463, allocations: 5.206 MB / 429.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005119/0.2515, allocations: 2.461 MB / 431.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002865/0.2543, allocations: 1.504 MB / 433.1 MB, free: 9.102 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007391/0.2617, allocations: 6.599 MB / 439.7 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007201/0.269, allocations: 6.577 MB / 446.3 MB, free: 11.85 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003407/0.2724, allocations: 2.633 MB / 448.9 MB, free: 9.207 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005511/0.2779, allocations: 4.321 MB / 453.2 MB, free: 4.875 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001381/0.2793, allocations: 0.6719 MB / 453.9 MB, free: 4.203 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002873/0.2822, allocations: 1.479 MB / 455.4 MB, free: 2.723 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00307/0.2853, allocations: 3.055 MB / 458.4 MB, free: 15.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004298/0.2896, allocations: 3.54 MB / 462 MB, free: 12.1 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01097/0.3006, allocations: 11.61 MB / 473.6 MB, free: 460 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3006, allocations: 0 / 473.6 MB, free: 460 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3006, allocations: 0 / 473.6 MB, free: 460 kB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002202/0.3008, allocations: 0 / 473.6 MB, free: 460 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.01465/0.3155, allocations: 7.542 MB / 481.1 MB, free: 8.809 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.3155, allocations: 8.031 kB / 481.1 MB, free: 8.801 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00792/0.3235, allocations: 2.282 MB / 483.4 MB, free: 6.512 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006788/0.3303, allocations: 4.193 MB / 487.6 MB, free: 2.262 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002407/0.3305, allocations: 369.6 kB / 488 MB, free: 1.898 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008106/0.3313, allocations: 499.7 kB / 488.4 MB, free: 1.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02236/0.3537, allocations: 14.6 MB / 0.4913 GB, free: 1.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001582/0.3539, allocations: 59.53 kB / 0.4913 GB, free: 1.871 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005483/0.3544, allocations: 227.8 kB / 0.4915 GB, free: 1.648 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003946/0.3584, allocations: 2.504 MB / 0.494 GB, free: 15.14 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02174/0.3802, allocations: 12.74 MB / 0.5064 GB, free: 2.383 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2351/0.6153, allocations: 58.27 MB / 0.5633 GB, free: 93.6 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01518/0.6305, allocations: 7.109 MB / 0.5703 GB, free: 92.21 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004055/0.6346, allocations: 4.813 MB / 0.575 GB, free: 90.09 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009273/0.6355, allocations: 1.282 MB / 0.5762 GB, free: 88.91 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01339/0.6489, allocations: 5.179 MB / 0.5813 GB, free: 86.41 MB / 462.1 MB Notification: Performance of pre-optimization done (n=306): time 5.971e-06/0.649, allocations: 0 / 0.5813 GB, free: 86.41 MB / 462.1 MB Notification: Performance of matching and sorting (n=401): time 0.1388/0.7877, allocations: 49.06 MB / 0.6292 GB, free: 38.66 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.886e-05/0.7878, allocations: 192.8 kB / 0.6294 GB, free: 38.43 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004852/0.7927, allocations: 4.984 MB / 0.6342 GB, free: 33.53 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003991/0.7931, allocations: 89.73 kB / 0.6343 GB, free: 33.44 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001966/0.7951, allocations: 4.131 MB / 0.6384 GB, free: 29.71 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009821/0.7961, allocations: 1.527 MB / 0.6398 GB, free: 28.21 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001913/0.798, allocations: 1.663 MB / 0.6415 GB, free: 26.54 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.167e-05/0.798, allocations: 305.1 kB / 0.6418 GB, free: 26.23 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004847/0.8029, allocations: 4.416 MB / 0.6461 GB, free: 21.81 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006069/0.8089, allocations: 8.65 MB / 0.6545 GB, free: 11.09 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01336/0.8223, allocations: 14.12 MB / 0.6683 GB, free: 10.9 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.018e-05/0.8224, allocations: 40 kB / 0.6683 GB, free: 10.86 MB / 478.1 MB Notification: Performance of matching and sorting (n=1088) (initialization): time 0.03101/0.8534, allocations: 17.62 MB / 0.6856 GB, free: 9.188 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.169e-05/0.8535, allocations: 68 kB / 0.6856 GB, free: 9.121 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001323/0.8537, allocations: 148 kB / 0.6858 GB, free: 8.977 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01437/0.868, allocations: 5.378 MB / 0.691 GB, free: 3.578 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005817/0.8739, allocations: 1.778 MB / 0.6927 GB, free: 1.797 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04913/0.923, allocations: 35.15 MB / 0.7271 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005898/0.9289, allocations: 0.55 MB / 0.7276 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001047/0.93, allocations: 467.9 kB / 0.7281 GB, free: 13.38 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.004556/0.9346, allocations: 3.008 MB / 0.731 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009376/0.9355, allocations: 0.5083 MB / 0.7315 GB, free: 9.844 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1934/1.129, allocations: 12.19 MB / 0.7434 GB, free: 186.4 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.415e-05/1.129, allocations: 22.27 kB / 0.7434 GB, free: 186.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/1.129, allocations: 0 / 0.7434 GB, free: 186.4 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009381/1.13, allocations: 0.5463 MB / 0.744 GB, free: 186.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009019/1.131, allocations: 65.69 kB / 0.744 GB, free: 186.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002432/1.133, allocations: 302.9 kB / 0.7443 GB, free: 186.3 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007911/1.134, allocations: 356.9 kB / 0.7446 GB, free: 186.3 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02048/1.155, allocations: 12.5 MB / 0.7568 GB, free: 184.2 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01342/1.168, allocations: 13.14 MB / 0.7697 GB, free: 178.9 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003718/1.172, allocations: 3.82 MB / 0.7734 GB, free: 177 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003448/1.175, allocations: 3.14 MB / 0.7765 GB, free: 174.4 MB / 0.5294 GB Notification: Performance of Backend: time 4.01e-07/1.175, allocations: 3.625 kB / 0.7765 GB, free: 174.4 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.01318/1.188, allocations: 8.995 MB / 0.7853 GB, free: 166.2 MB / 0.5294 GB Notification: Performance of SimCode: time 0.01536/1.204, allocations: 14.5 MB / 0.7994 GB, free: 151.8 MB / 0.5294 GB Notification: Performance of Templates: time 0.1169/1.321, allocations: 96.55 MB / 0.8937 GB, free: 55.58 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