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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001057/0.001057, allocations: 114.8 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001098/0.001098, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.305/1.305, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 59.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2093/0.2105, allocations: 50.53 MB / 409.9 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling): time 0.01592/0.2264, allocations: 16.48 MB / 426.4 MB, free: 1.016 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008995/0.2354, allocations: 5.873 MB / 432.3 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001228/0.2367, allocations: 107.7 kB / 432.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008423/0.2451, allocations: 5.195 MB / 437.6 MB, free: 5.812 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004332/0.2495, allocations: 2.459 MB / 440 MB, free: 3.344 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002329/0.2518, allocations: 1.474 MB / 441.5 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006528/0.2584, allocations: 6.757 MB / 448.3 MB, free: 11.1 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006267/0.2646, allocations: 6.562 MB / 454.8 MB, free: 4.469 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002767/0.2674, allocations: 2.622 MB / 457.5 MB, free: 1.84 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00457/0.272, allocations: 4.446 MB / 461.9 MB, free: 13.38 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009083/0.2729, allocations: 0.6719 MB / 462.6 MB, free: 12.71 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002241/0.2752, allocations: 1.459 MB / 464 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002322/0.2775, allocations: 3.036 MB / 467.1 MB, free: 8.207 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002881/0.2804, allocations: 3.521 MB / 470.6 MB, free: 4.668 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009196/0.2896, allocations: 11.54 MB / 482.1 MB, free: 9.098 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.2896, allocations: 4 kB / 482.1 MB, free: 9.094 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2896, allocations: 4 kB / 482.1 MB, free: 9.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001602/0.2898, allocations: 0 / 482.1 MB, free: 9.09 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.01343/0.3032, allocations: 7.376 MB / 489.5 MB, free: 1.629 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.3033, allocations: 8.031 kB / 489.5 MB, free: 1.621 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009553/0.3128, allocations: 2.243 MB / 491.8 MB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01295/0.3258, allocations: 4.093 MB / 495.9 MB, free: 11.21 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004337/0.3263, allocations: 365.6 kB / 496.2 MB, free: 10.86 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001851/0.3282, allocations: 499.6 kB / 496.7 MB, free: 10.37 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04501/0.3732, allocations: 14.6 MB / 0.4993 GB, free: 10.89 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003008/0.3735, allocations: 59.53 kB / 0.4994 GB, free: 10.83 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001508/0.3751, allocations: 227.8 kB / 0.4996 GB, free: 10.61 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008405/0.3835, allocations: 2.508 MB / 0.502 GB, free: 8.098 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04486/0.4284, allocations: 12.75 MB / 0.5145 GB, free: 11.34 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2537/0.6821, allocations: 58.16 MB / 0.5713 GB, free: 87.11 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01629/0.6984, allocations: 7.117 MB / 0.5782 GB, free: 84.88 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004065/0.7025, allocations: 4.822 MB / 0.5829 GB, free: 82.63 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009933/0.7035, allocations: 1.292 MB / 0.5842 GB, free: 81.39 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0143/0.7178, allocations: 5.173 MB / 0.5893 GB, free: 78.43 MB / 462.1 MB Notification: Performance of pre-optimization done (n=306): time 4.989e-06/0.7178, allocations: 0 / 0.5893 GB, free: 78.43 MB / 462.1 MB Notification: Performance of matching and sorting (n=401): time 0.1463/0.8641, allocations: 48.69 MB / 0.6368 GB, free: 29.78 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/0.8642, allocations: 192.9 kB / 0.637 GB, free: 29.55 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004664/0.8688, allocations: 4.979 MB / 0.6419 GB, free: 24.57 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003422/0.8692, allocations: 81.7 kB / 0.6419 GB, free: 24.48 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001896/0.8711, allocations: 3.974 MB / 0.6458 GB, free: 20.51 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008947/0.872, allocations: 1.459 MB / 0.6472 GB, free: 19.06 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001867/0.8739, allocations: 1.651 MB / 0.6489 GB, free: 17.4 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.149e-05/0.8739, allocations: 305.2 kB / 0.6491 GB, free: 17.1 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004725/0.8786, allocations: 4.412 MB / 0.6535 GB, free: 12.68 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006063/0.8847, allocations: 8.646 MB / 0.6619 GB, free: 1.961 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01548/0.9002, allocations: 14.11 MB / 0.6757 GB, free: 1.773 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.403e-05/0.9003, allocations: 40 kB / 0.6757 GB, free: 1.734 MB / 478.1 MB Notification: Performance of matching and sorting (n=1088) (initialization): time 0.03132/0.9316, allocations: 17.6 MB / 0.6929 GB, free: 80 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.217e-05/0.9317, allocations: 68.19 kB / 0.693 GB, free: 12 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001832/0.9319, allocations: 152 kB / 0.6931 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01459/0.9465, allocations: 5.377 MB / 0.6984 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005906/0.9525, allocations: 1.778 MB / 0.7001 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04922/1.002, allocations: 35.12 MB / 0.7344 GB, free: 5.297 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006032/1.008, allocations: 0.5499 MB / 0.7349 GB, free: 4.746 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00105/1.009, allocations: 475.9 kB / 0.7354 GB, free: 4.281 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.004819/1.014, allocations: 3.012 MB / 0.7383 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000957/1.015, allocations: 497.6 kB / 0.7388 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2069/1.222, allocations: 12.19 MB / 0.7507 GB, free: 180.9 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.552e-05/1.222, allocations: 20.19 kB / 0.7507 GB, free: 180.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.748e-06/1.222, allocations: 3.656 kB / 0.7507 GB, free: 180.9 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009735/1.223, allocations: 0.5189 MB / 0.7512 GB, free: 180.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007961/1.223, allocations: 70.38 kB / 0.7513 GB, free: 180.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002627/1.226, allocations: 298.7 kB / 0.7516 GB, free: 180.7 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000756/1.227, allocations: 353.3 kB / 0.7519 GB, free: 180.7 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02087/1.248, allocations: 12.48 MB / 0.7641 GB, free: 176.6 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01345/1.261, allocations: 13.13 MB / 0.7769 GB, free: 166.5 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003687/1.265, allocations: 3.818 MB / 0.7807 GB, free: 162.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003435/1.268, allocations: 3.135 MB / 0.7837 GB, free: 159.5 MB / 0.5294 GB Notification: Performance of Backend: time 2.2e-07/1.268, allocations: 0 / 0.7837 GB, free: 159.5 MB / 0.5294 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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 trunk/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 trunk/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 trunk/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.01328/1.282, allocations: 8.979 MB / 0.7925 GB, free: 150.9 MB / 0.5294 GB Notification: Performance of SimCode: time 0.01544/1.297, allocations: 14.26 MB / 0.8064 GB, free: 136.7 MB / 0.5294 GB Notification: Performance of Templates: time 0.113/1.41, allocations: 96.48 MB / 0.9006 GB, free: 40.5 MB / 0.5294 GB 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches