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/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.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/Complex trunk/package.mo): time 0.002095/0.002095, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.374/1.374, allocations: 226.7 MB / 245.5 MB, free: 6.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000996/0.0009962, allocations: 101.6 kB / 296.7 MB, free: 6.504 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008981/0.0008982, allocations: 47.92 kB / 356.6 MB, free: 10.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.2188, allocations: 50.46 MB / 407.1 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.06502/0.2839, allocations: 85.31 MB / 492.4 MB, free: 6.188 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.03713/0.321, allocations: 17.26 MB / 0.4977 GB, free: 4.871 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01385/0.3349, allocations: 387 kB / 0.4981 GB, free: 4.492 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.2452/0.5801, allocations: 6.046 MB / 0.504 GB, free: 1.078 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008388/0.5886, allocations: 2.439 MB / 0.5063 GB, free: 1.016 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00664/0.5952, allocations: 2.305 MB / 0.5086 GB, free: 0.9609 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01548/0.6108, allocations: 9.773 MB / 0.5181 GB, free: 0.9336 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01296/0.6238, allocations: 8.092 MB / 0.526 GB, free: 15.76 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006377/0.6302, allocations: 2.583 MB / 0.5286 GB, free: 15.76 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007728/0.6379, allocations: 3.772 MB / 0.5322 GB, free: 14.89 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002693/0.6407, allocations: 475.9 kB / 0.5327 GB, free: 14.89 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006318/0.647, allocations: 1.769 MB / 0.5344 GB, free: 14.54 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007199/0.6543, allocations: 3.193 MB / 0.5375 GB, free: 13.49 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009613/0.664, allocations: 3.609 MB / 0.5411 GB, free: 12.04 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01998/0.684, allocations: 11.57 MB / 0.5524 GB, free: 2.168 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.021e-05/0.6841, allocations: 0 / 0.5524 GB, free: 2.168 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.6841, allocations: 0 / 0.5524 GB, free: 2.168 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004864/0.6846, allocations: 0 / 0.5524 GB, free: 2.168 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: 2341 * Number of variables: 2341 Notification: Performance of Generate backend data structure: time 0.03339/0.718, allocations: 8.341 MB / 0.5605 GB, free: 9.895 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.951e-05/0.7181, allocations: 11.03 kB / 0.5605 GB, free: 9.887 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01408/0.7322, allocations: 2.244 MB / 0.5627 GB, free: 7.633 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01274/0.745, allocations: 3.982 MB / 0.5666 GB, free: 3.832 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005111/0.7455, allocations: 432.1 kB / 0.567 GB, free: 3.457 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002716/0.7483, allocations: 0.5861 MB / 0.5676 GB, free: 2.918 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04865/0.7969, allocations: 16.49 MB / 0.5837 GB, free: 1.773 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003341/0.7973, allocations: 56.64 kB / 0.5837 GB, free: 1.742 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002151/0.7995, allocations: 266.1 kB / 0.584 GB, free: 1.527 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006059/0.8056, allocations: 2.577 MB / 0.5865 GB, free: 14.98 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04061/0.8462, allocations: 14.1 MB / 0.6003 GB, free: 1.105 MB / 442.7 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.1055/0.9518, allocations: 62.44 MB / 0.6613 GB, free: 1.848 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02215/0.974, allocations: 7.541 MB / 0.6686 GB, free: 10.17 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005096/0.9791, allocations: 3.939 MB / 0.6725 GB, free: 6.223 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02698/1.006, allocations: 16.6 MB / 0.6887 GB, free: 5.148 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.787e-05/1.006, allocations: 63.55 kB / 0.6887 GB, free: 5.082 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=265): time 4.709e-06/1.006, allocations: 4 kB / 0.6887 GB, free: 5.078 MB / 0.5261 GB Notification: Performance of matching and sorting (n=331): time 0.4133/1.42, allocations: 42.45 MB / 0.7302 GB, free: 218.3 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01901/1.439, allocations: 16.32 MB / 0.7461 GB, free: 201.5 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006953/1.446, allocations: 5.633 MB / 0.7516 GB, free: 195.9 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.0008195/1.446, allocations: 73.7 kB / 0.7517 GB, free: 195.8 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.002272/1.449, allocations: 4.664 MB / 0.7563 GB, free: 191.2 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.001589/1.45, allocations: 1.235 MB / 0.7575 GB, free: 189.9 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002417/1.453, allocations: 1.885 MB / 0.7593 GB, free: 188 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 4.097e-05/1.453, allocations: 301.1 kB / 0.7596 GB, free: 187.7 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004762/1.458, allocations: 4.061 MB / 0.7636 GB, free: 183.7 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006981/1.465, allocations: 9.223 MB / 0.7726 GB, free: 171.9 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01302/1.478, allocations: 14.38 MB / 0.7866 GB, free: 155 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001254/1.478, allocations: 52 kB / 0.7867 GB, free: 154.9 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1183) (initialization): time 0.03416/1.512, allocations: 17.39 MB / 0.8036 GB, free: 137.4 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001396/1.512, allocations: 85 kB / 0.8037 GB, free: 137.4 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003052/1.513, allocations: 187.9 kB / 0.8039 GB, free: 137.2 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01403/1.527, allocations: 4.56 MB / 0.8084 GB, free: 132.6 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006118/1.533, allocations: 2 MB / 0.8103 GB, free: 130.6 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03628/1.569, allocations: 34.11 MB / 0.8436 GB, free: 95.59 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007502/1.577, allocations: 0.5343 MB / 0.8441 GB, free: 95.05 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002052/1.579, allocations: 0.5546 MB / 0.8447 GB, free: 94.5 MB / 0.5262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 826 * Number of states: 0 () * Number of discrete variables: 62 (sensorConstraintRelative.arrow.arrowLine.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 (1052): * Single equations (assignments): 1039 * 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.005674/1.584, allocations: 3.209 MB / 0.8478 GB, free: 91.28 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001051/1.585, allocations: 0.5168 MB / 0.8483 GB, free: 90.75 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01918/1.605, allocations: 9.813 MB / 0.8579 GB, free: 80.8 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-05/1.605, allocations: 49.86 kB / 0.858 GB, free: 80.75 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01621/1.621, allocations: 8.387 MB / 0.8661 GB, free: 72.23 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.02e-05/1.621, allocations: 11.95 kB / 0.8662 GB, free: 72.22 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03996/1.661, allocations: 22.14 MB / 0.8878 GB, free: 49.95 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.362e-05/1.661, allocations: 4 kB / 0.8878 GB, free: 49.94 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002442/1.664, allocations: 455.3 kB / 0.8882 GB, free: 49.5 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01057/1.674, allocations: 3.293 MB / 0.8914 GB, free: 46.19 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008369/1.675, allocations: 63.5 kB / 0.8915 GB, free: 46.13 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03007/1.705, allocations: 24.43 MB / 0.9154 GB, free: 21.16 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01297/1.718, allocations: 10.63 MB / 0.9257 GB, free: 10.26 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.399/2.117, allocations: 110.8 MB / 1.034 GB, free: 135.3 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001221/2.118, allocations: 0.55 MB / 1.035 GB, free: 134.7 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008065/2.119, allocations: 59.94 kB / 1.035 GB, free: 134.7 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003091/2.122, allocations: 211.6 kB / 1.035 GB, free: 134.5 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008786/2.123, allocations: 229.3 kB / 1.035 GB, free: 134.3 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000254/2.124, allocations: 91.73 kB / 1.035 GB, free: 134.2 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.004675/2.128, allocations: 3.51 MB / 1.039 GB, free: 130.7 MB / 0.5262 GB Notification: Performance of sort global known variables: time 6.32e-07/2.128, allocations: 0 / 1.039 GB, free: 130.7 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.01/2.138, allocations: 2.73 MB / 1.041 GB, free: 128 MB / 0.5262 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.0008766/2.139, allocations: 279.5 kB / 1.041 GB, free: 127.7 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.01324/2.152, allocations: 10.61 MB / 1.052 GB, free: 117.1 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/2.152, allocations: 0 / 1.052 GB, free: 117.1 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.005037/2.158, allocations: 4.085 MB / 1.056 GB, free: 112.9 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004899/2.162, allocations: 0.7879 MB / 1.057 GB, free: 112.1 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02761/2.19, allocations: 22.44 MB / 1.078 GB, free: 89.58 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008586/2.199, allocations: 5.038 MB / 1.083 GB, free: 84.51 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.007907/2.207, allocations: 2.778 MB / 1.086 GB, free: 81.73 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001534/2.208, allocations: 359.4 kB / 1.086 GB, free: 81.38 MB / 0.5262 GB Notification: Performance of SimCode: time 9.52e-07/2.208, allocations: 0 / 1.086 GB, free: 81.38 MB / 0.5262 GB Notification: Performance of Templates: time 0.3541/2.562, allocations: 119.8 MB / 1.203 GB, free: 167.9 MB / 0.5262 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Constraints/RevoluteConstraint/RevoluteConstraint.csv","../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches