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.001355/0.001355, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001299/0.001299, allocations: 205.8 kB / 18.13 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.421/1.421, allocations: 227.4 MB / 246.3 MB, free: 10.83 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001914, allocations: 71.3 kB / 306.3 MB, free: 1.02 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.109, allocations: 50.54 MB / 356.9 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.2325/0.3416, allocations: 77.6 MB / 434.4 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03892/0.3805, allocations: 15.79 MB / 450.2 MB, free: 14.28 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01357/0.3941, allocations: 359.1 kB / 450.6 MB, free: 13.93 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01113/0.4053, allocations: 6.035 MB / 456.6 MB, free: 7.875 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006961/0.4123, allocations: 2.402 MB / 459 MB, free: 5.465 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004613/0.4169, allocations: 2.304 MB / 461.3 MB, free: 3.156 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01125/0.4282, allocations: 9.641 MB / 471 MB, free: 9.508 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01055/0.4388, allocations: 8.055 MB / 479 MB, free: 1.375 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003825/0.4426, allocations: 2.555 MB / 481.6 MB, free: 14.81 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005309/0.4479, allocations: 3.743 MB / 485.3 MB, free: 11.06 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001531/0.4495, allocations: 472 kB / 485.8 MB, free: 10.6 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004156/0.4537, allocations: 1.763 MB / 487.5 MB, free: 8.832 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004367/0.458, allocations: 3.144 MB / 490.7 MB, free: 5.68 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005067/0.4631, allocations: 3.566 MB / 494.3 MB, free: 2.094 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.013/0.4761, allocations: 11.42 MB / 0.4938 GB, free: 6.641 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.4762, allocations: 0 / 0.4938 GB, free: 6.641 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.4762, allocations: 0 / 0.4938 GB, free: 6.641 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002908/0.4765, allocations: 4 kB / 0.4938 GB, free: 6.637 MB / 414.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.021/0.4975, allocations: 8.246 MB / 0.5019 GB, free: 14.3 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.4975, allocations: 12.03 kB / 0.5019 GB, free: 14.29 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007341/0.5049, allocations: 2.226 MB / 0.5041 GB, free: 12.05 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008076/0.513, allocations: 3.958 MB / 0.5079 GB, free: 8.016 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003561/0.5133, allocations: 427.5 kB / 0.5083 GB, free: 7.598 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001303/0.5147, allocations: 0.5815 MB / 0.5089 GB, free: 7.016 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03136/0.546, allocations: 16.34 MB / 0.5249 GB, free: 5.781 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001961/0.5463, allocations: 59.45 kB / 0.5249 GB, free: 5.723 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000853/0.5471, allocations: 259.8 kB / 0.5252 GB, free: 5.469 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004146/0.5513, allocations: 2.51 MB / 0.5276 GB, free: 2.953 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2035/0.7548, allocations: 13.97 MB / 0.5413 GB, free: 140.4 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.06798/0.8228, allocations: 61.99 MB / 0.6018 GB, free: 88.11 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01979/0.8427, allocations: 7.583 MB / 0.6092 GB, free: 80.38 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004621/0.8473, allocations: 3.932 MB / 0.613 GB, free: 76.44 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02332/0.8707, allocations: 16.66 MB / 0.6293 GB, free: 59.32 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.531e-05/0.8707, allocations: 60.56 kB / 0.6294 GB, free: 59.25 MB / 446.1 MB Notification: Performance of pre-optimization done (n=265): time 5.22e-06/0.8707, allocations: 0 / 0.6294 GB, free: 59.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=331): time 0.1061/0.9768, allocations: 42.48 MB / 0.6708 GB, free: 16.41 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0194/0.9963, allocations: 16.31 MB / 0.6868 GB, free: 15.54 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01114/1.007, allocations: 5.609 MB / 0.6923 GB, free: 9.941 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007782/1.008, allocations: 77.7 kB / 0.6923 GB, free: 9.859 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004238/1.012, allocations: 4.612 MB / 0.6968 GB, free: 5.188 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00198/1.014, allocations: 1.242 MB / 0.698 GB, free: 3.93 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003633/1.018, allocations: 1.875 MB / 0.6999 GB, free: 2.039 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/1.018, allocations: 305.1 kB / 0.7002 GB, free: 1.738 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1995/1.218, allocations: 4.061 MB / 0.7041 GB, free: 146.7 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009306/1.227, allocations: 9.22 MB / 0.7131 GB, free: 139.3 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01739/1.245, allocations: 14.36 MB / 0.7272 GB, free: 128.3 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002545/1.245, allocations: 56.72 kB / 0.7272 GB, free: 128.3 MB / 462.1 MB Notification: Performance of matching and sorting (n=1180) (initialization): time 0.03501/1.28, allocations: 17.38 MB / 0.7442 GB, free: 122.4 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003692/1.28, allocations: 84.56 kB / 0.7443 GB, free: 122.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000446/1.281, allocations: 182.1 kB / 0.7444 GB, free: 122.4 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01458/1.295, allocations: 4.56 MB / 0.7489 GB, free: 121.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006493/1.302, allocations: 1.996 MB / 0.7508 GB, free: 119.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03791/1.34, allocations: 34.1 MB / 0.7841 GB, free: 85.95 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008108/1.348, allocations: 0.5379 MB / 0.7847 GB, free: 85.43 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001995/1.35, allocations: 0.5545 MB / 0.7852 GB, free: 84.88 MB / 462.1 MB 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.007454/1.357, allocations: 3.179 MB / 0.7883 GB, free: 81.79 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001742/1.359, allocations: 0.5243 MB / 0.7888 GB, free: 81.54 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01933/1.378, allocations: 9.83 MB / 0.7984 GB, free: 71.57 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.976e-05/1.379, allocations: 44 kB / 0.7985 GB, free: 71.53 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01593/1.395, allocations: 8.407 MB / 0.8067 GB, free: 63 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.701e-05/1.395, allocations: 15.95 kB / 0.8067 GB, free: 62.98 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03974/1.434, allocations: 22.02 MB / 0.8282 GB, free: 40.93 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-05/1.434, allocations: 7.938 kB / 0.8282 GB, free: 40.92 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002243/1.437, allocations: 462.4 kB / 0.8286 GB, free: 40.47 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00982/1.447, allocations: 3.288 MB / 0.8319 GB, free: 37.17 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006093/1.447, allocations: 63.98 kB / 0.8319 GB, free: 37.11 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03214/1.479, allocations: 24.42 MB / 0.8558 GB, free: 12.32 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01292/1.492, allocations: 10.63 MB / 0.8661 GB, free: 1.402 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2248/1.717, allocations: 13.65 MB / 0.8795 GB, free: 144.9 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001319/1.719, allocations: 0.55 MB / 0.88 GB, free: 144.8 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008515/1.719, allocations: 53.75 kB / 0.8801 GB, free: 144.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002847/1.722, allocations: 213.9 kB / 0.8803 GB, free: 144.8 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009062/1.723, allocations: 223.3 kB / 0.8805 GB, free: 144.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002779/1.723, allocations: 87.95 kB / 0.8806 GB, free: 144.8 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00507/1.729, allocations: 3.494 MB / 0.884 GB, free: 144.3 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/1.729, allocations: 2 kB / 0.884 GB, free: 144.3 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.008676/1.737, allocations: 1.947 MB / 0.8859 GB, free: 144 MB / 478.1 MB 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.0008403/1.738, allocations: 266.7 kB / 0.8861 GB, free: 143.9 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01348/1.752, allocations: 10.61 MB / 0.8965 GB, free: 139.6 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.553e-06/1.752, allocations: 0 / 0.8965 GB, free: 139.6 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004911/1.757, allocations: 4.102 MB / 0.9005 GB, free: 137.7 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004272/1.761, allocations: 0.7678 MB / 0.9013 GB, free: 137.4 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02431/1.785, allocations: 19.06 MB / 0.9199 GB, free: 125.1 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005703/1.791, allocations: 4.856 MB / 0.9246 GB, free: 121.4 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00678/1.798, allocations: 2.735 MB / 0.9273 GB, free: 119.7 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001334/1.799, allocations: 350.8 kB / 0.9276 GB, free: 119.3 MB / 478.1 MB Notification: Performance of SimCode: time 1.192e-06/1.799, allocations: 0 / 0.9276 GB, free: 119.3 MB / 478.1 MB Notification: Performance of Templates: time 0.1211/1.92, allocations: 85.63 MB / 1.011 GB, free: 35.52 MB / 478.1 MB 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.1.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