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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009787/0.0009787, allocations: 175.7 kB / 17.4 MB, free: 4.418 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 223.3 MB / 241.4 MB, free: 11.7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008283/0.0008283, allocations: 97.91 kB / 292.6 MB, free: 10.77 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003106/0.0003107, allocations: 11.94 kB / 352.3 MB, free: 15 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.2331, allocations: 50.4 MB / 402.8 MB, free: 32.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1306/0.3638, allocations: 104.9 MB / 0.4957 GB, free: 7.406 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000244/0.3641, allocations: 91.94 kB / 0.4958 GB, free: 7.316 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4389/0.803, allocations: 120.4 MB / 0.6134 GB, free: 15.98 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.086e-06/0.803, allocations: 0 / 0.6134 GB, free: 15.98 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004553/0.8035, allocations: 128 kB / 0.6135 GB, free: 15.86 MB / 394.7 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.0223/0.8258, allocations: 6.346 MB / 0.6197 GB, free: 9.426 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.8259, allocations: 8.031 kB / 0.6197 GB, free: 9.418 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01255/0.8384, allocations: 2.657 MB / 0.6223 GB, free: 6.75 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01379/0.8523, allocations: 6.025 MB / 0.6282 GB, free: 0.6641 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000515/0.8528, allocations: 452.4 kB / 0.6286 GB, free: 224 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003123/0.856, allocations: 0.59 MB / 0.6292 GB, free: 15.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0369/0.8929, allocations: 15.51 MB / 0.6443 GB, free: 14.91 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004963/0.8935, allocations: 75.48 kB / 0.6444 GB, free: 14.84 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002632/0.8961, allocations: 295.7 kB / 0.6447 GB, free: 14.55 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002447/0.8986, allocations: 1.462 MB / 0.6461 GB, free: 13.08 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2302/1.129, allocations: 13.35 MB / 0.6591 GB, free: 61.93 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06733/1.196, allocations: 68.67 MB / 0.7262 GB, free: 28.19 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01672/1.213, allocations: 7.474 MB / 0.7335 GB, free: 25.57 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005546/1.218, allocations: 5.023 MB / 0.7384 GB, free: 23.33 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0204/1.239, allocations: 14.56 MB / 0.7526 GB, free: 15.86 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01517/1.254, allocations: 5.403 MB / 0.7579 GB, free: 14.57 MB / 426.7 MB Notification: Performance of pre-optimization done (n=289): time 1.12e-05/1.254, allocations: 1.219 kB / 0.7579 GB, free: 14.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=385): time 0.1695/1.424, allocations: 53.17 MB / 0.8098 GB, free: 11.89 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/1.424, allocations: 167.1 kB / 0.81 GB, free: 11.7 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01015/1.434, allocations: 5.1 MB / 0.815 GB, free: 6.594 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001091/1.435, allocations: 85.69 kB / 0.8151 GB, free: 6.504 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00419/1.439, allocations: 4.033 MB / 0.819 GB, free: 2.469 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002328/1.442, allocations: 1.406 MB / 0.8204 GB, free: 1.074 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006087/1.442, allocations: 168 kB / 0.8205 GB, free: 0.9102 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000449/1.443, allocations: 0.6533 MB / 0.8212 GB, free: 256 kB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006839/1.45, allocations: 4.635 MB / 0.8257 GB, free: 11.61 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01017/1.46, allocations: 8.95 MB / 0.8344 GB, free: 0.6094 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.254/1.714, allocations: 14.62 MB / 0.8487 GB, free: 99.5 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001066/1.714, allocations: 44.66 kB / 0.8488 GB, free: 99.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=1075) (initialization): time 0.035/1.749, allocations: 19.35 MB / 0.8676 GB, free: 98.35 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000124/1.749, allocations: 73.16 kB / 0.8677 GB, free: 98.35 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001466/1.749, allocations: 149 kB / 0.8679 GB, free: 98.35 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01692/1.766, allocations: 6.567 MB / 0.8743 GB, free: 98.29 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006008/1.772, allocations: 1.813 MB / 0.876 GB, free: 98.14 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0443/1.817, allocations: 35.72 MB / 0.9109 GB, free: 84.37 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007465/1.824, allocations: 0.583 MB / 0.9115 GB, free: 84.24 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001589/1.826, allocations: 0.5011 MB / 0.912 GB, free: 84.18 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 680 * Number of states: 0 () * Number of discrete variables: 59 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled,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 (913): * Single equations (assignments): 905 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(7,75.5%) 105,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005495/1.831, allocations: 3.002 MB / 0.9149 GB, free: 82.81 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001036/1.832, allocations: 497.2 kB / 0.9154 GB, free: 82.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02401/1.856, allocations: 14.03 MB / 0.9291 GB, free: 72.09 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-05/1.856, allocations: 41.17 kB / 0.9291 GB, free: 72.05 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.075e-05/1.856, allocations: 31.94 kB / 0.9292 GB, free: 72.02 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.193e-05/1.857, allocations: 19.92 kB / 0.9292 GB, free: 72.02 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0413/1.898, allocations: 26.51 MB / 0.9551 GB, free: 51.04 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.571e-05/1.898, allocations: 4 kB / 0.9551 GB, free: 51.04 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002386/1.9, allocations: 0.5304 MB / 0.9556 GB, free: 50.64 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01561/1.916, allocations: 6.41 MB / 0.9619 GB, free: 46.2 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005974/1.917, allocations: 73.83 kB / 0.9619 GB, free: 46.14 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04058/1.957, allocations: 34.4 MB / 0.9955 GB, free: 11.8 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/1.957, allocations: 7.203 kB / 0.9955 GB, free: 11.8 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2468/2.204, allocations: 20.02 MB / 1.015 GB, free: 96.2 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001494/2.206, allocations: 0.5746 MB / 1.016 GB, free: 96.11 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001347/2.207, allocations: 68.12 kB / 1.016 GB, free: 96.11 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003817/2.211, allocations: 347.7 kB / 1.016 GB, free: 96.11 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001168/2.212, allocations: 274.8 kB / 1.016 GB, free: 96.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003393/2.212, allocations: 99.62 kB / 1.016 GB, free: 96.1 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005311/2.218, allocations: 3.269 MB / 1.02 GB, free: 95.92 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.81e-07/2.218, allocations: 1.688 kB / 1.02 GB, free: 95.92 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008877/2.226, allocations: 1.921 MB / 1.021 GB, free: 95.92 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 7 (wheelSet.x,wheelSet.y,wheelSet.phi,wheelSet.theta1,wheelSet.theta2,wheelSet.der_theta1,wheelSet.der_theta2) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (238): * Single equations (assignments): 228 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(10,63.0%) 99,(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001423/2.228, allocations: 0.5259 MB / 1.022 GB, free: 95.81 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01709/2.245, allocations: 12.19 MB / 1.034 GB, free: 95.07 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.225e-06/2.245, allocations: 1.781 kB / 1.034 GB, free: 95.07 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008278/2.253, allocations: 5.869 MB / 1.04 GB, free: 94.39 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005448/2.259, allocations: 0.667 MB / 1.04 GB, free: 94.36 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02909/2.288, allocations: 19.43 MB / 1.059 GB, free: 88.41 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004375/2.292, allocations: 4.569 MB / 1.064 GB, free: 87.56 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005873/2.298, allocations: 2.53 MB / 1.066 GB, free: 87.46 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001064/2.299, allocations: 365.5 kB / 1.067 GB, free: 87.45 MB / 474.7 MB Notification: Performance of SimCode: time 6.61e-07/2.299, allocations: 0 / 1.067 GB, free: 87.45 MB / 474.7 MB Notification: Performance of Templates: time 0.1168/2.416, allocations: 92.57 MB / 1.157 GB, free: 19.91 MB / 474.7 MB 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","../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches