Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001619/0.001619, allocations: 196.7 kB / 18.1 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.292/1.292, allocations: 226.5 MB / 245.4 MB, free: 6.41 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008048/0.000805, allocations: 98.55 kB / 297.5 MB, free: 6.703 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002341/0.0002342, allocations: 8 kB / 358.1 MB, free: 10.08 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2064/0.2066, allocations: 51.29 MB / 409.4 MB, free: 27.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1266/0.3333, allocations: 105.8 MB / 0.5031 GB, free: 1.645 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002271/0.3336, allocations: 91.95 kB / 0.5032 GB, free: 1.555 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4234/0.757, allocations: 124.3 MB / 0.6246 GB, free: 2.871 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.7571, allocations: 4 kB / 0.6246 GB, free: 2.867 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003522/0.7574, allocations: 127.9 kB / 0.6247 GB, free: 2.742 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.01981/0.7772, allocations: 6.436 MB / 0.631 GB, free: 12.21 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.7773, allocations: 8.031 kB / 0.631 GB, free: 12.21 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01218/0.7895, allocations: 2.66 MB / 0.6336 GB, free: 9.535 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01231/0.8019, allocations: 5.752 MB / 0.6392 GB, free: 3.723 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004702/0.8024, allocations: 456.3 kB / 0.6397 GB, free: 3.273 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003052/0.8054, allocations: 0.59 MB / 0.6402 GB, free: 2.684 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.034/0.8395, allocations: 15.51 MB / 0.6554 GB, free: 1.969 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002756/0.8398, allocations: 79.48 kB / 0.6555 GB, free: 1.891 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001167/0.841, allocations: 287.8 kB / 0.6557 GB, free: 1.609 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002048/0.843, allocations: 1.455 MB / 0.6571 GB, free: 160 kB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02963/0.8727, allocations: 13.35 MB / 0.6702 GB, free: 2.789 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.287/1.16, allocations: 68.66 MB / 0.7372 GB, free: 36.11 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01732/1.177, allocations: 7.484 MB / 0.7445 GB, free: 35.09 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005352/1.182, allocations: 5.034 MB / 0.7495 GB, free: 32.85 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02053/1.203, allocations: 14.56 MB / 0.7637 GB, free: 25.37 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01513/1.218, allocations: 5.406 MB / 0.769 GB, free: 24.08 MB / 442.7 MB Notification: Performance of pre-optimization done (n=289): time 1.016e-05/1.218, allocations: 0 / 0.769 GB, free: 24.08 MB / 442.7 MB Notification: Performance of matching and sorting (n=385): time 0.1647/1.383, allocations: 53.05 MB / 0.8208 GB, free: 8.801 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/1.383, allocations: 170.1 kB / 0.8209 GB, free: 8.605 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009103/1.392, allocations: 5.113 MB / 0.8259 GB, free: 3.586 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001082/1.393, allocations: 85.69 kB / 0.826 GB, free: 3.496 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003879/1.397, allocations: 4.035 MB / 0.83 GB, free: 15.51 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002319/1.4, allocations: 1.41 MB / 0.8313 GB, free: 14.11 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000726/1.4, allocations: 166.5 kB / 0.8315 GB, free: 13.95 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004894/1.401, allocations: 0.6494 MB / 0.8321 GB, free: 13.3 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006992/1.408, allocations: 4.639 MB / 0.8367 GB, free: 8.648 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2205/1.628, allocations: 8.948 MB / 0.8454 GB, free: 96.58 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01638/1.645, allocations: 14.63 MB / 0.8597 GB, free: 91.15 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001731/1.645, allocations: 39.97 kB / 0.8597 GB, free: 91.15 MB / 474.7 MB Notification: Performance of matching and sorting (n=1075) (initialization): time 0.03698/1.682, allocations: 19.35 MB / 0.8786 GB, free: 89.98 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001019/1.682, allocations: 74.23 kB / 0.8787 GB, free: 89.98 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001415/1.682, allocations: 151.6 kB / 0.8788 GB, free: 89.98 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01623/1.699, allocations: 6.579 MB / 0.8852 GB, free: 89.92 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005612/1.704, allocations: 1.807 MB / 0.887 GB, free: 89.77 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04153/1.746, allocations: 35.72 MB / 0.9219 GB, free: 75.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007009/1.753, allocations: 0.5874 MB / 0.9225 GB, free: 75.67 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001299/1.754, allocations: 0.498 MB / 0.9229 GB, free: 75.61 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.00489/1.759, allocations: 2.997 MB / 0.9259 GB, free: 74.24 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000852/1.76, allocations: 500 kB / 0.9264 GB, free: 74.23 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02425/1.784, allocations: 14.04 MB / 0.9401 GB, free: 65.43 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-05/1.784, allocations: 40 kB / 0.9401 GB, free: 65.39 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.418e-05/1.784, allocations: 35.06 kB / 0.9401 GB, free: 65.36 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.485e-05/1.784, allocations: 18.47 kB / 0.9402 GB, free: 65.36 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04139/1.826, allocations: 26.5 MB / 0.966 GB, free: 44.39 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.335e-05/1.826, allocations: 4 kB / 0.966 GB, free: 44.39 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00232/1.828, allocations: 0.5392 MB / 0.9666 GB, free: 43.98 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01511/1.843, allocations: 6.41 MB / 0.9728 GB, free: 39.5 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006473/1.844, allocations: 79.09 kB / 0.9729 GB, free: 39.43 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03889/1.883, allocations: 34.39 MB / 1.006 GB, free: 4.832 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/1.883, allocations: 4 kB / 1.006 GB, free: 4.828 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2502/2.133, allocations: 20.01 MB / 1.026 GB, free: 105.7 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001798/2.135, allocations: 0.5821 MB / 1.027 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001192/2.136, allocations: 67.64 kB / 1.027 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002902/2.139, allocations: 351.3 kB / 1.027 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001141/2.14, allocations: 271.8 kB / 1.027 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000325/2.141, allocations: 106.4 kB / 1.027 GB, free: 105.6 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005136/2.146, allocations: 3.267 MB / 1.031 GB, free: 105.4 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.01e-07/2.146, allocations: 3.812 kB / 1.031 GB, free: 105.4 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007887/2.154, allocations: 1.928 MB / 1.032 GB, free: 105.4 MB / 490.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.001435/2.155, allocations: 0.5323 MB / 1.033 GB, free: 105.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01634/2.171, allocations: 12.19 MB / 1.045 GB, free: 104.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.305e-06/2.171, allocations: 0 / 1.045 GB, free: 104.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008354/2.18, allocations: 5.876 MB / 1.051 GB, free: 103.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00564/2.185, allocations: 0.6587 MB / 1.051 GB, free: 103.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03318/2.219, allocations: 19.45 MB / 1.07 GB, free: 97.86 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004552/2.223, allocations: 4.573 MB / 1.075 GB, free: 97.01 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.006176/2.229, allocations: 2.532 MB / 1.077 GB, free: 96.91 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001135/2.231, allocations: 358.8 kB / 1.078 GB, free: 96.9 MB / 490.7 MB Notification: Performance of SimCode: time 7.61e-07/2.231, allocations: 3.219 kB / 1.078 GB, free: 96.9 MB / 490.7 MB Notification: Performance of Templates: time 0.1276/2.358, allocations: 92.6 MB / 1.168 GB, free: 30.12 MB / 490.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches