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.001277/0.001277, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001456/0.001456, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001108/0.001108, allocations: 59.91 kB / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2506/0.2517, allocations: 50.55 MB / 409.2 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.01877/0.2705, allocations: 18.69 MB / 427.9 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01277/0.2833, allocations: 6.155 MB / 434.1 MB, free: 8.645 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003743/0.2871, allocations: 143.6 kB / 434.2 MB, free: 8.504 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01196/0.2992, allocations: 6.024 MB / 440.2 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007437/0.3066, allocations: 2.54 MB / 442.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005311/0.312, allocations: 2.389 MB / 445.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008919/0.3209, allocations: 6.645 MB / 451.8 MB, free: 6.863 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01015/0.3311, allocations: 8.073 MB / 459.9 MB, free: 14.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005164/0.3363, allocations: 2.844 MB / 462.7 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005534/0.3419, allocations: 3.497 MB / 466.2 MB, free: 8.336 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00212/0.344, allocations: 0.6328 MB / 466.9 MB, free: 7.703 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004205/0.3482, allocations: 1.838 MB / 468.7 MB, free: 5.863 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004078/0.3523, allocations: 3.269 MB / 472 MB, free: 2.586 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006646/0.359, allocations: 3.73 MB / 475.7 MB, free: 14.83 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01585/0.3749, allocations: 11.91 MB / 487.6 MB, free: 2.883 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.3749, allocations: 0 / 487.6 MB, free: 2.883 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3749, allocations: 0 / 487.6 MB, free: 2.883 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004056/0.3753, allocations: 0 / 487.6 MB, free: 2.883 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: 2312 * Number of variables: 2312 Notification: Performance of Generate backend data structure: time 0.02319/0.3985, allocations: 8.442 MB / 496.1 MB, free: 10.34 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/0.3986, allocations: 12.02 kB / 496.1 MB, free: 10.33 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008503/0.4071, allocations: 2.27 MB / 498.3 MB, free: 8.051 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008124/0.4153, allocations: 4.088 MB / 0.4907 GB, free: 3.883 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000375/0.4157, allocations: 427.2 kB / 0.4911 GB, free: 3.465 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001925/0.4176, allocations: 0.57 MB / 0.4916 GB, free: 2.895 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03347/0.4511, allocations: 16.34 MB / 0.5076 GB, free: 1.656 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003004/0.4514, allocations: 55.52 kB / 0.5076 GB, free: 1.602 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001992/0.4534, allocations: 259.8 kB / 0.5079 GB, free: 1.348 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003964/0.4574, allocations: 2.513 MB / 0.5103 GB, free: 14.83 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02969/0.4871, allocations: 13.98 MB / 0.524 GB, free: 0.8242 MB / 446.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.4544/0.9416, allocations: 61.79 MB / 0.5843 GB, free: 77.89 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02014/0.9618, allocations: 7.592 MB / 0.5917 GB, free: 70.9 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004079/0.9659, allocations: 3.925 MB / 0.5956 GB, free: 66.96 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02015/0.9861, allocations: 16.67 MB / 0.6119 GB, free: 49.96 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.95e-05/0.9861, allocations: 57.25 kB / 0.6119 GB, free: 49.89 MB / 462.1 MB Notification: Performance of pre-optimization done (n=265): time 5.932e-06/0.9861, allocations: 0 / 0.6119 GB, free: 49.89 MB / 462.1 MB Notification: Performance of matching and sorting (n=331): time 0.1122/1.098, allocations: 42.85 MB / 0.6537 GB, free: 7.219 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02126/1.12, allocations: 16.71 MB / 0.6701 GB, free: 5.953 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009054/1.129, allocations: 5.618 MB / 0.6756 GB, free: 476 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007828/1.13, allocations: 77.7 kB / 0.6756 GB, free: 392 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003367/1.133, allocations: 4.806 MB / 0.6803 GB, free: 11.8 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001846/1.135, allocations: 1.287 MB / 0.6816 GB, free: 10.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004353/1.139, allocations: 1.888 MB / 0.6834 GB, free: 8.598 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.099e-05/1.139, allocations: 305.1 kB / 0.6837 GB, free: 8.297 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007475/1.147, allocations: 4.062 MB / 0.6877 GB, free: 4.227 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00984/1.157, allocations: 9.214 MB / 0.6967 GB, free: 8.473 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01721/1.174, allocations: 14.36 MB / 0.7107 GB, free: 7.547 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001631/1.174, allocations: 52 kB / 0.7107 GB, free: 7.496 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1180) (initialization): time 0.03922/1.213, allocations: 17.42 MB / 0.7278 GB, free: 5.941 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000267/1.214, allocations: 91.05 kB / 0.7278 GB, free: 5.855 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003774/1.214, allocations: 184 kB / 0.728 GB, free: 5.676 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01495/1.229, allocations: 4.56 MB / 0.7325 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006813/1.236, allocations: 1.992 MB / 0.7344 GB, free: 15.09 MB / 0.5451 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2745/1.51, allocations: 36.39 MB / 0.77 GB, free: 180.8 MB / 0.5451 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007204/1.518, allocations: 0.5351 MB / 0.7705 GB, free: 180.7 MB / 0.5451 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001618/1.519, allocations: 0.556 MB / 0.771 GB, free: 180.6 MB / 0.5451 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.005692/1.525, allocations: 3.183 MB / 0.7741 GB, free: 179.4 MB / 0.5451 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001373/1.526, allocations: 0.5507 MB / 0.7747 GB, free: 179.4 MB / 0.5451 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02027/1.547, allocations: 9.817 MB / 0.7843 GB, free: 175.9 MB / 0.5451 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.464e-05/1.547, allocations: 49.09 kB / 0.7843 GB, free: 175.9 MB / 0.5451 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01616/1.563, allocations: 8.41 MB / 0.7925 GB, free: 170 MB / 0.5451 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.906e-05/1.563, allocations: 12.8 kB / 0.7925 GB, free: 170 MB / 0.5451 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03897/1.602, allocations: 21.96 MB / 0.814 GB, free: 148.1 MB / 0.5451 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.837e-05/1.602, allocations: 4 kB / 0.814 GB, free: 148.1 MB / 0.5451 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00233/1.604, allocations: 459.2 kB / 0.8144 GB, free: 147.7 MB / 0.5451 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009798/1.614, allocations: 3.227 MB / 0.8176 GB, free: 144.4 MB / 0.5451 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000639/1.615, allocations: 55.98 kB / 0.8176 GB, free: 144.4 MB / 0.5451 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02956/1.644, allocations: 26.39 MB / 0.8434 GB, free: 117.7 MB / 0.5451 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01236/1.657, allocations: 10.77 MB / 0.8539 GB, free: 106.8 MB / 0.5451 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02294/1.68, allocations: 13.68 MB / 0.8673 GB, free: 93.15 MB / 0.5451 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001684/1.682, allocations: 0.5727 MB / 0.8678 GB, free: 92.56 MB / 0.5451 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001503/1.683, allocations: 63.34 kB / 0.8679 GB, free: 92.51 MB / 0.5451 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003974/1.687, allocations: 212.5 kB / 0.8681 GB, free: 92.3 MB / 0.5451 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00112/1.688, allocations: 221.6 kB / 0.8683 GB, free: 92.08 MB / 0.5451 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004725/1.689, allocations: 87.98 kB / 0.8684 GB, free: 92 MB / 0.5451 GB Notification: Performance of sorting global known variables: time 0.006036/1.695, allocations: 3.501 MB / 0.8718 GB, free: 88.53 MB / 0.5451 GB Notification: Performance of sort global known variables: time 2.5e-07/1.695, allocations: 0 / 0.8718 GB, free: 88.53 MB / 0.5451 GB Notification: Performance of remove unused functions: time 0.0091/1.704, allocations: 1.932 MB / 0.8737 GB, free: 86.61 MB / 0.5451 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.001135/1.705, allocations: 276.4 kB / 0.8739 GB, free: 86.36 MB / 0.5451 GB Notification: Performance of simCode: created initialization part: time 0.01458/1.72, allocations: 10.67 MB / 0.8844 GB, free: 75.63 MB / 0.5451 GB Notification: Performance of simCode: created event and clocks part: time 8.676e-06/1.72, allocations: 0 / 0.8844 GB, free: 75.63 MB / 0.5451 GB Notification: Performance of simCode: created simulation system equations: time 0.005761/1.725, allocations: 4.117 MB / 0.8884 GB, free: 71.46 MB / 0.5451 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006114/1.732, allocations: 0.8457 MB / 0.8892 GB, free: 70.64 MB / 0.5451 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02903/1.761, allocations: 15.94 MB / 0.9048 GB, free: 54.59 MB / 0.5451 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008231/1.769, allocations: 4.865 MB / 0.9095 GB, free: 49.7 MB / 0.5451 GB Notification: Performance of simCode: alias equations: time 0.006879/1.776, allocations: 2.719 MB / 0.9122 GB, free: 46.97 MB / 0.5451 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001702/1.778, allocations: 359.4 kB / 0.9125 GB, free: 46.62 MB / 0.5451 GB Notification: Performance of SimCode: time 1.262e-06/1.778, allocations: 3.719 kB / 0.9125 GB, free: 46.62 MB / 0.5451 GB Notification: Performance of Templates: time 0.3866/2.164, allocations: 84.8 MB / 0.9953 GB, free: 155.4 MB / 0.5451 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Constraints/RevoluteConstraint/RevoluteConstraint.csv","/var/lib/jenkins/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