Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.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.Constraints.RevoluteConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.body.w_a.1.|bodyOfConstraint.body.w_a.2.|bodyOfConstraint.body.w_a.3.|bodyOfJoint.body.w_a.2.|joint.phi",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.body.w_a.1.|bodyOfConstraint.body.w_a.2.|bodyOfConstraint.body.w_a.3.|bodyOfJoint.body.w_a.2.|joint.phi",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001726/0.001726, allocations: 114.7 kB / 18.4 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.002008/0.002008, allocations: 200.6 kB / 19.34 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.392/1.392, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 59.17 kB / 308.4 MB, free: 15.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1055, allocations: 50.53 MB / 358.9 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.2393/0.3448, allocations: 18.69 MB / 377.6 MB, free: 9.652 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01429/0.3592, allocations: 6.157 MB / 383.7 MB, free: 8.062 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004139/0.3633, allocations: 144.3 kB / 383.9 MB, free: 8.035 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01047/0.3739, allocations: 6.02 MB / 389.9 MB, free: 5.215 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007573/0.3815, allocations: 2.542 MB / 392.4 MB, free: 3.875 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004978/0.3865, allocations: 2.388 MB / 394.8 MB, free: 2.242 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.009913/0.3964, allocations: 6.659 MB / 401.5 MB, free: 14.79 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009824/0.4063, allocations: 8.076 MB / 409.6 MB, free: 8.141 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005105/0.4114, allocations: 2.84 MB / 412.4 MB, free: 5.293 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005699/0.4171, allocations: 3.509 MB / 415.9 MB, free: 1.773 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002294/0.4195, allocations: 0.6289 MB / 416.5 MB, free: 1.145 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004915/0.4244, allocations: 1.834 MB / 418.4 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004185/0.4286, allocations: 3.262 MB / 421.6 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005624/0.4343, allocations: 3.734 MB / 425.4 MB, free: 8.281 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01314/0.4475, allocations: 11.86 MB / 437.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.832e-06/0.4475, allocations: 0 / 437.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.4475, allocations: 0 / 437.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003576/0.4479, allocations: 0 / 437.2 MB, free: 12.38 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2312 * Number of variables: 2312 Notification: Performance of Generate backend data structure: time 0.02001/0.4679, allocations: 8.236 MB / 445.5 MB, free: 4.062 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.4679, allocations: 8.031 kB / 445.5 MB, free: 4.055 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007241/0.4752, allocations: 2.226 MB / 447.7 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009622/0.4848, allocations: 4.078 MB / 451.8 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003567/0.4852, allocations: 423.5 kB / 452.2 MB, free: 13.24 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002221/0.4875, allocations: 0.57 MB / 452.8 MB, free: 12.67 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03182/0.5193, allocations: 16.34 MB / 469.1 MB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002009/0.5196, allocations: 59.47 kB / 469.2 MB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006856/0.5202, allocations: 263.8 kB / 469.4 MB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003591/0.5238, allocations: 2.51 MB / 471.9 MB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02759/0.5514, allocations: 13.98 MB / 485.9 MB, free: 10.59 MB / 398.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4244/0.9759, allocations: 61.68 MB / 0.5348 GB, free: 104.9 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02359/0.9995, allocations: 7.58 MB / 0.5422 GB, free: 104.2 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005332/1.005, allocations: 3.935 MB / 0.546 GB, free: 104.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02155/1.027, allocations: 16.65 MB / 0.5623 GB, free: 96.13 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.786e-05/1.027, allocations: 61.94 kB / 0.5623 GB, free: 96.07 MB / 446.1 MB Notification: Performance of pre-optimization done (n=265): time 5.14e-06/1.027, allocations: 0 / 0.5623 GB, free: 96.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=331): time 0.1112/1.138, allocations: 42.47 MB / 0.6038 GB, free: 62.81 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01917/1.157, allocations: 16.69 MB / 0.6201 GB, free: 45.63 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006666/1.164, allocations: 5.605 MB / 0.6256 GB, free: 40.04 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008574/1.165, allocations: 73.7 kB / 0.6256 GB, free: 39.96 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002063/1.167, allocations: 4.616 MB / 0.6302 GB, free: 35.35 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001292/1.168, allocations: 1.242 MB / 0.6314 GB, free: 34.12 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002196/1.17, allocations: 1.879 MB / 0.6332 GB, free: 32.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.187e-05/1.17, allocations: 309.1 kB / 0.6335 GB, free: 31.92 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00462/1.175, allocations: 4.054 MB / 0.6375 GB, free: 27.86 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006827/1.182, allocations: 9.217 MB / 0.6465 GB, free: 16.18 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01324/1.195, allocations: 14.37 MB / 0.6605 GB, free: 15.42 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001099/1.195, allocations: 52 kB / 0.6605 GB, free: 15.37 MB / 462.1 MB Notification: Performance of matching and sorting (n=1180) (initialization): time 0.03788/1.233, allocations: 17.39 MB / 0.6775 GB, free: 13.91 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001204/1.233, allocations: 84 kB / 0.6776 GB, free: 13.83 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002152/1.233, allocations: 180 kB / 0.6778 GB, free: 13.65 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01506/1.248, allocations: 4.558 MB / 0.6822 GB, free: 9.105 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006895/1.255, allocations: 1.996 MB / 0.6842 GB, free: 7.105 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05061/1.306, allocations: 36.38 MB / 0.7197 GB, free: 1.77 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008039/1.314, allocations: 0.5344 MB / 0.7202 GB, free: 1.234 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002037/1.316, allocations: 0.5545 MB / 0.7208 GB, free: 0.6797 MB / 0.4982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 823 * Number of states: 0 () * Number of discrete variables: 62 (sensorConstraintRelative.arrow.twoHeadedArrow,sensorConstraintRelative.arrow.headAtOrigin,freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],springOfConstraint.color[3],springOfConstraint.color[2],springOfConstraint.color[1],springOfConstraint.massColor[3],springOfConstraint.massColor[2],springOfConstraint.massColor[1],springOfJoint.color[3],springOfJoint.color[2],springOfJoint.color[1],springOfJoint.massColor[3],springOfJoint.massColor[2],springOfJoint.massColor[1],bodyOfConstraint.color[3],bodyOfConstraint.color[2],bodyOfConstraint.color[1],bodyOfConstraint.body.sphereColor[3],bodyOfConstraint.body.sphereColor[2],bodyOfConstraint.body.sphereColor[1],bodyOfConstraint.frameTranslation.color[3],bodyOfConstraint.frameTranslation.color[2],bodyOfConstraint.frameTranslation.color[1],bodyOfJoint.color[3],bodyOfJoint.color[2],bodyOfJoint.color[1],bodyOfJoint.body.sphereColor[3],bodyOfJoint.body.sphereColor[2],bodyOfJoint.body.sphereColor[1],bodyOfJoint.frameTranslation.color[3],bodyOfJoint.frameTranslation.color[2],bodyOfJoint.frameTranslation.color[1],sensorConstraintRelative.arrowColor[3],sensorConstraintRelative.arrowColor[2],sensorConstraintRelative.arrowColor[1],constraint.sphereColor[3],constraint.sphereColor[2],constraint.sphereColor[1],joint.cylinderColor[3],joint.cylinderColor[2],joint.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1049): * Single equations (assignments): 1036 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(3,33,100.0%), (2,19,100.0%), (2,13,100.0%), (2,1,100.0%), (2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,19)} Notification: Performance of prepare postOptimizeDAE: time 0.1835/1.5, allocations: 3.175 MB / 0.7239 GB, free: 179.1 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001199/1.501, allocations: 0.5164 MB / 0.7244 GB, free: 179.1 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02125/1.522, allocations: 9.819 MB / 0.734 GB, free: 178 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001103/1.522, allocations: 47.55 kB / 0.734 GB, free: 178 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01767/1.54, allocations: 8.414 MB / 0.7422 GB, free: 175 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.966e-05/1.54, allocations: 25.34 kB / 0.7422 GB, free: 175 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03885/1.579, allocations: 21.93 MB / 0.7637 GB, free: 166.7 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.764e-05/1.579, allocations: 4.656 kB / 0.7637 GB, free: 166.7 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002206/1.581, allocations: 471.3 kB / 0.7641 GB, free: 166.7 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009463/1.591, allocations: 3.221 MB / 0.7673 GB, free: 165.6 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005687/1.591, allocations: 63.55 kB / 0.7673 GB, free: 165.5 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02886/1.62, allocations: 26.37 MB / 0.7931 GB, free: 140.6 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0119/1.632, allocations: 10.76 MB / 0.8036 GB, free: 129.6 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02116/1.653, allocations: 13.66 MB / 0.8169 GB, free: 116.1 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001747/1.655, allocations: 0.5449 MB / 0.8174 GB, free: 115.7 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009742/1.656, allocations: 60.86 kB / 0.8175 GB, free: 115.6 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002799/1.659, allocations: 211.7 kB / 0.8177 GB, free: 115.4 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007928/1.66, allocations: 228.3 kB / 0.8179 GB, free: 115.2 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002566/1.66, allocations: 83.98 kB / 0.818 GB, free: 115.1 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.004618/1.665, allocations: 3.494 MB / 0.8214 GB, free: 111.6 MB / 0.4982 GB Notification: Performance of sort global known variables: time 5.01e-07/1.665, allocations: 0 / 0.8214 GB, free: 111.6 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.009689/1.674, allocations: 1.949 MB / 0.8233 GB, free: 109.7 MB / 0.4982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 ($STATESET2.x,$STATESET1.x,joint.phi,joint.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (210): * Single equations (assignments): 202 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,11,100.0%), (3,30,100.0%), (3,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001112/1.675, allocations: 271 kB / 0.8236 GB, free: 109.4 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01431/1.69, allocations: 10.65 MB / 0.834 GB, free: 98.78 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 9.678e-06/1.69, allocations: 0 / 0.834 GB, free: 98.78 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.005682/1.695, allocations: 4.101 MB / 0.838 GB, free: 94.64 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004905/1.7, allocations: 0.8303 MB / 0.8388 GB, free: 93.84 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02271/1.723, allocations: 15.71 MB / 0.8541 GB, free: 78.05 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005341/1.729, allocations: 4.864 MB / 0.8589 GB, free: 73.16 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.005504/1.734, allocations: 2.719 MB / 0.8616 GB, free: 70.43 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009937/1.735, allocations: 347.4 kB / 0.8619 GB, free: 70.09 MB / 0.4982 GB Notification: Performance of SimCode: time 1.202e-06/1.735, allocations: 4 kB / 0.8619 GB, free: 70.09 MB / 0.4982 GB Notification: Performance of Templates: time 0.2904/2.025, allocations: 81.62 MB / 0.9416 GB, free: 162.1 MB / 0.4982 GB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Constraints/RevoluteConstraint/RevoluteConstraint.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches