Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.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.001307/0.001307, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.001467/0.001467, allocations: 204.7 kB / 24.49 MB, free: 3.965 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.439/1.439, allocations: 230.6 MB / 258.3 MB, free: 7.805 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.RollingWheelSetPulling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,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.RollingWheelSetPulling") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,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.RollingWheelSetPulling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001579/0.001579, allocations: 51.92 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.2144, allocations: 53.37 MB / 432.3 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling): time 0.01789/0.2323, allocations: 14.32 MB / 446.7 MB, free: 8.344 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01117/0.2435, allocations: 5.651 MB / 452.3 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002054/0.2455, allocations: 127.4 kB / 452.4 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009439/0.255, allocations: 5.043 MB / 457.5 MB, free: 13.49 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005554/0.2605, allocations: 2.486 MB / 460 MB, free: 11 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002698/0.2632, allocations: 1.478 MB / 461.5 MB, free: 9.516 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008092/0.2713, allocations: 6.749 MB / 468.2 MB, free: 2.754 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006054/0.2774, allocations: 5.097 MB / 473.3 MB, free: 13.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003619/0.281, allocations: 2.669 MB / 476 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006096/0.2871, allocations: 4.699 MB / 480.7 MB, free: 6.207 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001204/0.2883, allocations: 0.6719 MB / 481.3 MB, free: 5.535 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002542/0.2908, allocations: 1.374 MB / 482.7 MB, free: 4.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003018/0.2938, allocations: 3.105 MB / 485.8 MB, free: 1.047 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003113/0.2969, allocations: 2.646 MB / 488.5 MB, free: 14.38 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01278/0.3097, allocations: 11.63 MB / 0.4884 GB, free: 2.719 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3097, allocations: 0 / 0.4884 GB, free: 2.719 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3097, allocations: 0 / 0.4884 GB, free: 2.719 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002266/0.31, allocations: 0 / 0.4884 GB, free: 2.719 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: 2047 * Number of variables: 2047 Notification: Performance of Generate backend data structure: time 0.0163/0.3263, allocations: 7.482 MB / 0.4957 GB, free: 11.16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.3263, allocations: 8.031 kB / 0.4957 GB, free: 11.15 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008871/0.3352, allocations: 2.286 MB / 0.4979 GB, free: 8.855 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009051/0.3442, allocations: 4.023 MB / 0.5018 GB, free: 4.781 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003086/0.3445, allocations: 373.6 kB / 0.5022 GB, free: 4.414 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009758/0.3455, allocations: 499.7 kB / 0.5027 GB, free: 3.926 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02582/0.3713, allocations: 14.6 MB / 0.5169 GB, free: 4.449 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000179/0.3715, allocations: 63.52 kB / 0.517 GB, free: 4.387 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006318/0.3721, allocations: 235.8 kB / 0.5172 GB, free: 4.156 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004629/0.3768, allocations: 2.504 MB / 0.5197 GB, free: 1.652 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0254/0.4022, allocations: 12.7 MB / 0.5321 GB, free: 4.938 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2433/0.6454, allocations: 54.78 MB / 0.5856 GB, free: 54.62 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01608/0.6615, allocations: 6.365 MB / 0.5918 GB, free: 48.23 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004344/0.6658, allocations: 4.521 MB / 0.5962 GB, free: 43.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008627/0.6667, allocations: 380.7 kB / 0.5966 GB, free: 43.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01461/0.6813, allocations: 5.177 MB / 0.6016 GB, free: 38.12 MB / 446.1 MB Notification: Performance of pre-optimization done (n=306): time 7.203e-06/0.6813, allocations: 0 / 0.6016 GB, free: 38.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=401): time 0.1594/0.8407, allocations: 48.7 MB / 0.6492 GB, free: 5.793 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001347/0.8408, allocations: 200.8 kB / 0.6494 GB, free: 5.559 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006366/0.8472, allocations: 4.647 MB / 0.6539 GB, free: 1.051 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000753/0.848, allocations: 81.7 kB / 0.654 GB, free: 0.9648 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003536/0.8515, allocations: 4.139 MB / 0.658 GB, free: 13.15 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001979/0.8535, allocations: 1.529 MB / 0.6595 GB, free: 11.64 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002783/0.8563, allocations: 1.668 MB / 0.6611 GB, free: 9.965 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.8564, allocations: 301.1 kB / 0.6614 GB, free: 9.668 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006924/0.8633, allocations: 4.412 MB / 0.6657 GB, free: 5.246 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01033/0.8737, allocations: 8.65 MB / 0.6742 GB, free: 10.53 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0193/0.893, allocations: 14.11 MB / 0.688 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001005/0.8931, allocations: 44 kB / 0.688 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1088) (initialization): time 0.03649/0.9295, allocations: 17.5 MB / 0.7051 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001037/0.9296, allocations: 72.16 kB / 0.7052 GB, free: 8.668 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002192/0.9299, allocations: 148 kB / 0.7053 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01593/0.9458, allocations: 5.362 MB / 0.7105 GB, free: 3.137 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0066/0.9524, allocations: 1.786 MB / 0.7123 GB, free: 1.348 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2325/1.185, allocations: 34.42 MB / 0.7459 GB, free: 182.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006322/1.191, allocations: 0.5519 MB / 0.7464 GB, free: 182.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008352/1.192, allocations: 470.2 kB / 0.7469 GB, free: 182.9 MB / 0.545 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.004108/1.196, allocations: 2.999 MB / 0.7498 GB, free: 182.8 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008314/1.197, allocations: 477 kB / 0.7503 GB, free: 182.8 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02038/1.217, allocations: 12.09 MB / 0.7621 GB, free: 179.6 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.669e-05/1.217, allocations: 16.59 kB / 0.7621 GB, free: 179.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-05/1.217, allocations: 6.469 kB / 0.7621 GB, free: 179.6 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007848/1.218, allocations: 421.8 kB / 0.7625 GB, free: 179.6 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007635/1.219, allocations: 63.53 kB / 0.7626 GB, free: 179.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002419/1.221, allocations: 302.3 kB / 0.7628 GB, free: 179.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007339/1.222, allocations: 375.8 kB / 0.7632 GB, free: 179.4 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02072/1.243, allocations: 12.46 MB / 0.7754 GB, free: 175.4 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01315/1.256, allocations: 13.14 MB / 0.7882 GB, free: 165.2 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003501/1.26, allocations: 3.598 MB / 0.7917 GB, free: 162 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002928/1.262, allocations: 2.715 MB / 0.7944 GB, free: 159.3 MB / 0.545 GB Notification: Performance of Backend: time 4.01e-07/1.262, allocations: 0 / 0.7944 GB, free: 159.3 MB / 0.545 GB [/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. [/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. Notification: Performance of simCode: created initialization part: time 0.01401/1.276, allocations: 8.314 MB / 0.8025 GB, free: 151.4 MB / 0.545 GB Notification: Performance of SimCode: time 0.01663/1.293, allocations: 14.46 MB / 0.8166 GB, free: 137 MB / 0.545 GB Notification: Performance of Templates: time 0.1189/1.412, allocations: 101.4 MB / 0.9156 GB, free: 36.35 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheelSetPulling/RollingWheelSetPulling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.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.616792036002153]