Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001626/0.001626, allocations: 102.8 kB / 21.19 MB, free: 0.6367 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001986/0.001986, allocations: 217.1 kB / 24.49 MB, free: 3.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.444/1.444, allocations: 230.6 MB / 258.3 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|wheelSet.der_theta1|wheelSet.der_theta2|wheelSet.phi|wheelSet.theta1|wheelSet.theta2|wheelSet.x|wheelSet.y",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|wheelSet.der_theta1|wheelSet.der_theta2|wheelSet.phi|wheelSet.theta1|wheelSet.theta2|wheelSet.x|wheelSet.y",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001579/0.001579, allocations: 47.92 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.2132, allocations: 53.37 MB / 432.3 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving): time 0.01808/0.2313, allocations: 13.85 MB / 446.2 MB, free: 8.797 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01072/0.242, allocations: 4.981 MB / 451.2 MB, free: 3.801 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002293/0.2443, allocations: 119.4 kB / 451.3 MB, free: 3.684 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009046/0.2533, allocations: 4.494 MB / 455.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005988/0.2593, allocations: 2.33 MB / 458.1 MB, free: 12.84 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002843/0.2621, allocations: 1.334 MB / 459.5 MB, free: 11.5 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009359/0.2715, allocations: 6.584 MB / 466 MB, free: 4.902 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0064/0.2779, allocations: 4.757 MB / 470.8 MB, free: 84 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004307/0.2822, allocations: 2.516 MB / 473.3 MB, free: 13.56 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006798/0.289, allocations: 4.496 MB / 477.8 MB, free: 9.051 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001923/0.2909, allocations: 0.6406 MB / 478.4 MB, free: 8.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003209/0.2941, allocations: 1.296 MB / 479.7 MB, free: 7.113 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003751/0.2979, allocations: 2.938 MB / 482.7 MB, free: 4.168 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003949/0.3018, allocations: 2.53 MB / 485.2 MB, free: 1.625 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01305/0.3149, allocations: 11.07 MB / 496.3 MB, free: 6.52 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.301e-06/0.3149, allocations: 3.938 kB / 496.3 MB, free: 6.516 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3149, allocations: 0 / 496.3 MB, free: 6.516 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002586/0.3152, allocations: 0 / 496.3 MB, free: 6.516 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.01726/0.3324, allocations: 7.133 MB / 0.4916 GB, free: 15.31 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.3325, allocations: 8.031 kB / 0.4916 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009499/0.342, allocations: 2.259 MB / 0.4938 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009603/0.3516, allocations: 3.893 MB / 0.4976 GB, free: 9.094 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003274/0.3519, allocations: 353 kB / 0.498 GB, free: 8.746 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001602/0.3535, allocations: 467.8 kB / 0.4984 GB, free: 8.289 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02679/0.3803, allocations: 14.02 MB / 0.5121 GB, free: 9.453 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002325/0.3805, allocations: 63.52 kB / 0.5122 GB, free: 9.391 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001077/0.3816, allocations: 215.8 kB / 0.5124 GB, free: 9.18 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004488/0.3861, allocations: 2.461 MB / 0.5148 GB, free: 6.719 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02473/0.4108, allocations: 12.32 MB / 0.5268 GB, free: 10.39 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2426/0.6534, allocations: 52.68 MB / 0.5783 GB, free: 60.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01501/0.6684, allocations: 6.098 MB / 0.5842 GB, free: 55.72 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004237/0.6727, allocations: 4.384 MB / 0.5885 GB, free: 51.34 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009008/0.6736, allocations: 386.7 kB / 0.5889 GB, free: 50.96 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.923e-05/0.6736, allocations: 64.55 kB / 0.5889 GB, free: 50.89 MB / 446.1 MB Notification: Performance of pre-optimization done (n=296): time 7.464e-06/0.6736, allocations: 112 / 0.5889 GB, free: 50.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=387): time 0.1594/0.8331, allocations: 45.15 MB / 0.633 GB, free: 6.125 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.817e-05/0.8331, allocations: 196.7 kB / 0.6332 GB, free: 5.895 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004179/0.8373, allocations: 4.281 MB / 0.6374 GB, free: 1.75 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006128/0.8379, allocations: 81.7 kB / 0.6375 GB, free: 1.664 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0022/0.8401, allocations: 3.858 MB / 0.6412 GB, free: 14.11 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00176/0.8419, allocations: 1.46 MB / 0.6427 GB, free: 12.67 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002548/0.8444, allocations: 1.58 MB / 0.6442 GB, free: 11.09 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.8445, allocations: 301.1 kB / 0.6445 GB, free: 10.79 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006582/0.8511, allocations: 4.236 MB / 0.6486 GB, free: 6.547 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009898/0.861, allocations: 8.232 MB / 0.6567 GB, free: 12.38 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01799/0.879, allocations: 13.48 MB / 0.6698 GB, free: 12.95 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.916e-05/0.8791, allocations: 40 kB / 0.6699 GB, free: 12.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=1033) (initialization): time 0.03375/0.9129, allocations: 16.88 MB / 0.6864 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.7e-05/0.913, allocations: 64.09 kB / 0.6864 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001558/0.9131, allocations: 147.9 kB / 0.6866 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01582/0.9289, allocations: 5.323 MB / 0.6918 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006373/0.9353, allocations: 1.684 MB / 0.6934 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05378/0.9891, allocations: 34.32 MB / 0.7269 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005893/0.995, allocations: 0.5247 MB / 0.7274 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009882/0.996, allocations: 443.9 kB / 0.7279 GB, free: 1.25 MB / 0.5294 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.004668/1.001, allocations: 2.855 MB / 0.7306 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001009/1.002, allocations: 449 kB / 0.7311 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02495/1.027, allocations: 11.76 MB / 0.7426 GB, free: 2.109 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.041e-05/1.027, allocations: 15.94 kB / 0.7426 GB, free: 2.094 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.185e-05/1.027, allocations: 8 kB / 0.7426 GB, free: 2.086 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0011/1.028, allocations: 392.9 kB / 0.743 GB, free: 1.699 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000989/1.029, allocations: 60 kB / 0.743 GB, free: 1.641 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002786/1.032, allocations: 295.5 kB / 0.7433 GB, free: 1.352 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009231/1.032, allocations: 369.6 kB / 0.7436 GB, free: 0.9883 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.2118/1.244, allocations: 12.07 MB / 0.7554 GB, free: 187.2 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01268/1.257, allocations: 12.65 MB / 0.7678 GB, free: 182 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003445/1.26, allocations: 3.477 MB / 0.7712 GB, free: 180.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002676/1.263, allocations: 2.501 MB / 0.7736 GB, free: 179.1 MB / 0.545 GB Notification: Performance of Backend: time 3.11e-07/1.263, allocations: 1.781 kB / 0.7736 GB, free: 179.1 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.1.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.1.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.1.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.01183/1.275, allocations: 7.603 MB / 0.7811 GB, free: 172.6 MB / 0.545 GB Notification: Performance of SimCode: time 0.01572/1.291, allocations: 13.79 MB / 0.7945 GB, free: 160.2 MB / 0.545 GB Notification: Performance of Templates: time 0.115/1.406, allocations: 100.6 MB / 0.8928 GB, free: 60.95 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheelSetDriving/RollingWheelSetDriving.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.718677558994386]