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.001513/0.001513, allocations: 107.1 kB / 18.46 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001811/0.001811, allocations: 203.9 kB / 19.4 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.344/1.344, allocations: 227.4 MB / 247.6 MB, free: 10.59 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 63.89 kB / 359.4 MB, free: 12.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2039/0.2051, allocations: 50.55 MB / 409.9 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling): time 0.01634/0.2215, allocations: 16.47 MB / 426.4 MB, free: 1.082 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009602/0.2311, allocations: 5.884 MB / 432.3 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001654/0.2328, allocations: 107.7 kB / 432.4 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008184/0.241, allocations: 5.175 MB / 437.6 MB, free: 5.887 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004289/0.2453, allocations: 2.47 MB / 440 MB, free: 3.406 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002274/0.2476, allocations: 1.478 MB / 441.5 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00629/0.2539, allocations: 6.764 MB / 448.3 MB, free: 11.15 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005857/0.2597, allocations: 6.562 MB / 454.8 MB, free: 4.52 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002409/0.2622, allocations: 2.629 MB / 457.5 MB, free: 1.883 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004508/0.2667, allocations: 4.438 MB / 461.9 MB, free: 13.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007729/0.2675, allocations: 0.6719 MB / 462.6 MB, free: 12.76 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002008/0.2695, allocations: 1.456 MB / 464 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002242/0.2717, allocations: 3.04 MB / 467.1 MB, free: 8.258 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002697/0.2745, allocations: 3.525 MB / 470.6 MB, free: 4.715 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008916/0.2834, allocations: 11.53 MB / 482.1 MB, free: 9.152 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2834, allocations: 0 / 482.1 MB, free: 9.152 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2834, allocations: 0 / 482.1 MB, free: 9.152 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.768e-05/0.2835, allocations: 0 / 482.1 MB, free: 9.152 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.0124/0.2959, allocations: 7.38 MB / 489.5 MB, free: 1.688 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.296, allocations: 11.97 kB / 489.5 MB, free: 1.676 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008166/0.3041, allocations: 2.247 MB / 491.8 MB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006297/0.3104, allocations: 4.097 MB / 495.9 MB, free: 11.26 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002313/0.3107, allocations: 365.6 kB / 496.2 MB, free: 10.9 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008058/0.3115, allocations: 495.7 kB / 496.7 MB, free: 10.42 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02118/0.3327, allocations: 14.59 MB / 0.4993 GB, free: 10.95 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00014/0.3328, allocations: 67.45 kB / 0.4994 GB, free: 10.88 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000561/0.3334, allocations: 227.8 kB / 0.4996 GB, free: 10.66 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004081/0.3375, allocations: 2.512 MB / 0.5021 GB, free: 8.141 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02122/0.3587, allocations: 12.73 MB / 0.5145 GB, free: 11.39 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2318/0.5905, allocations: 58.17 MB / 0.5713 GB, free: 87.13 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01599/0.6065, allocations: 7.115 MB / 0.5782 GB, free: 84.94 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004134/0.6107, allocations: 4.815 MB / 0.5829 GB, free: 82.66 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000947/0.6116, allocations: 1.284 MB / 0.5842 GB, free: 81.41 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01377/0.6254, allocations: 5.18 MB / 0.5893 GB, free: 78.42 MB / 462.1 MB Notification: Performance of pre-optimization done (n=306): time 5.189e-06/0.6254, allocations: 1.531 kB / 0.5893 GB, free: 78.42 MB / 462.1 MB Notification: Performance of matching and sorting (n=401): time 0.1441/0.7695, allocations: 48.69 MB / 0.6368 GB, free: 29.78 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.332e-05/0.7696, allocations: 200.9 kB / 0.637 GB, free: 29.55 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004853/0.7745, allocations: 4.979 MB / 0.6419 GB, free: 24.56 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004004/0.7749, allocations: 85.61 kB / 0.6419 GB, free: 24.48 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00203/0.7769, allocations: 3.969 MB / 0.6458 GB, free: 20.5 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000948/0.7779, allocations: 1.459 MB / 0.6472 GB, free: 19.06 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001957/0.7798, allocations: 1.651 MB / 0.6489 GB, free: 17.39 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.519e-05/0.7799, allocations: 301.1 kB / 0.6491 GB, free: 17.1 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004869/0.7847, allocations: 4.408 MB / 0.6535 GB, free: 12.68 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006118/0.7909, allocations: 8.658 MB / 0.6619 GB, free: 1.953 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01555/0.8064, allocations: 14.11 MB / 0.6757 GB, free: 1.766 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.435e-05/0.8065, allocations: 44 kB / 0.6757 GB, free: 1.723 MB / 478.1 MB Notification: Performance of matching and sorting (n=1088) (initialization): time 0.03086/0.8374, allocations: 17.6 MB / 0.6929 GB, free: 72 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.699e-05/0.8375, allocations: 71.98 kB / 0.693 GB, free: 0 / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001404/0.8376, allocations: 144 kB / 0.6931 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01454/0.8522, allocations: 5.378 MB / 0.6984 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005477/0.8577, allocations: 1.782 MB / 0.7001 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04868/0.9063, allocations: 35.13 MB / 0.7344 GB, free: 5.289 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005487/0.9118, allocations: 0.5382 MB / 0.7349 GB, free: 4.75 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008699/0.9127, allocations: 475.9 kB / 0.7354 GB, free: 4.285 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.004375/0.9171, allocations: 3.004 MB / 0.7383 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008897/0.918, allocations: 0.4899 MB / 0.7388 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2027/1.121, allocations: 12.2 MB / 0.7507 GB, free: 181.1 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.563e-05/1.121, allocations: 18.47 kB / 0.7507 GB, free: 181.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.898e-06/1.121, allocations: 3.656 kB / 0.7507 GB, free: 181.1 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008369/1.122, allocations: 0.5176 MB / 0.7513 GB, free: 180.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007073/1.122, allocations: 64 kB / 0.7513 GB, free: 180.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002478/1.125, allocations: 302 kB / 0.7516 GB, free: 180.8 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008135/1.126, allocations: 357.7 kB / 0.7519 GB, free: 180.8 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02023/1.146, allocations: 12.48 MB / 0.7641 GB, free: 176.7 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01322/1.159, allocations: 13.13 MB / 0.7769 GB, free: 166.6 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003576/1.163, allocations: 3.815 MB / 0.7807 GB, free: 162.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003325/1.166, allocations: 3.139 MB / 0.7837 GB, free: 159.6 MB / 0.5294 GB Notification: Performance of Backend: time 3.3e-07/1.166, allocations: 0 / 0.7837 GB, free: 159.6 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.01263/1.179, allocations: 8.971 MB / 0.7925 GB, free: 151 MB / 0.5294 GB Notification: Performance of SimCode: time 0.01425/1.193, allocations: 14.27 MB / 0.8064 GB, free: 136.8 MB / 0.5294 GB Notification: Performance of Templates: time 0.11/1.303, allocations: 96.47 MB / 0.9006 GB, free: 40.58 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