Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001443/0.001443, allocations: 181.2 kB / 17.01 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.381/1.381, allocations: 205.4 MB / 223.1 MB, free: 9.133 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007973/0.0007974, allocations: 100.1 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002411/0.000241, allocations: 4 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2311/0.2313, allocations: 47.57 MB / 375.8 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1293/0.3607, allocations: 113.7 MB / 489.5 MB, free: 14.92 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002477/0.361, allocations: 99.94 kB / 489.6 MB, free: 14.82 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4484/0.8094, allocations: 128.7 MB / 0.6038 GB, free: 12.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.8094, allocations: 0 / 0.6038 GB, free: 12.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003567/0.8098, allocations: 140 kB / 0.6039 GB, free: 12.52 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2390 * Number of variables: 2390 Notification: Performance of Generate backend data structure: time 0.02719/0.837, allocations: 7.606 MB / 0.6113 GB, free: 4.832 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.837, allocations: 8.031 kB / 0.6114 GB, free: 4.824 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0135/0.8505, allocations: 2.779 MB / 0.6141 GB, free: 2.031 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01972/0.8703, allocations: 7.574 MB / 0.6215 GB, free: 10.37 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005663/0.8709, allocations: 0.5255 MB / 0.622 GB, free: 9.844 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003504/0.8744, allocations: 0.695 MB / 0.6227 GB, free: 9.148 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04459/0.919, allocations: 17.52 MB / 0.6398 GB, free: 6.324 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002866/0.9194, allocations: 79.27 kB / 0.6398 GB, free: 6.246 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00134/0.9207, allocations: 331.9 kB / 0.6402 GB, free: 5.922 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002193/0.9229, allocations: 1.542 MB / 0.6417 GB, free: 4.379 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.227/1.15, allocations: 14.73 MB / 0.656 GB, free: 60.53 MB / 410.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.0788/1.229, allocations: 73.78 MB / 0.7281 GB, free: 18.46 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01973/1.249, allocations: 7.857 MB / 0.7358 GB, free: 16.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02243/1.271, allocations: 16.7 MB / 0.7521 GB, free: 7.723 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/1.271, allocations: 65.97 kB / 0.7521 GB, free: 7.668 MB / 410.7 MB Notification: Performance of pre-optimization done (n=275): time 4.899e-06/1.271, allocations: 3.781 kB / 0.7521 GB, free: 7.668 MB / 410.7 MB Notification: Performance of matching and sorting (n=349): time 0.1729/1.444, allocations: 46.08 MB / 0.7971 GB, free: 7.5 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.03412/1.478, allocations: 16.1 MB / 0.8129 GB, free: 7.621 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0139/1.492, allocations: 5.104 MB / 0.8178 GB, free: 2.555 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001107/1.493, allocations: 75.73 kB / 0.8179 GB, free: 2.477 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2097/1.703, allocations: 4.773 MB / 0.8226 GB, free: 105.8 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001928/1.705, allocations: 1.302 MB / 0.8239 GB, free: 105.2 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008978/1.706, allocations: 184.5 kB / 0.824 GB, free: 105.2 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000416/1.706, allocations: 0.6968 MB / 0.8247 GB, free: 104.9 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005128/1.711, allocations: 4.13 MB / 0.8287 GB, free: 104.9 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007258/1.719, allocations: 9.362 MB / 0.8379 GB, free: 98.18 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008051/1.727, allocations: 6.087 MB / 0.8438 GB, free: 98.12 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001186/1.727, allocations: 54.19 kB / 0.8439 GB, free: 98.12 MB / 458.7 MB Notification: Performance of matching and sorting (n=1198) (initialization): time 0.03948/1.766, allocations: 18.03 MB / 0.8615 GB, free: 96.77 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003347/1.767, allocations: 85.16 kB / 0.8616 GB, free: 96.77 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003872/1.767, allocations: 184.1 kB / 0.8617 GB, free: 96.77 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01612/1.783, allocations: 5 MB / 0.8666 GB, free: 96.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007304/1.791, allocations: 2.023 MB / 0.8686 GB, free: 96.53 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04487/1.836, allocations: 38.29 MB / 0.906 GB, free: 77.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009205/1.845, allocations: 0.5528 MB / 0.9065 GB, free: 77.24 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002301/1.847, allocations: 0.5637 MB / 0.9071 GB, free: 77.17 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 841 * Number of states: 0 () * Number of discrete variables: 60 (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 (1064): * Single equations (assignments): 1053 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(3,100.0%) 38,(2,100.0%) 23,(3,77.8%) 12,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 1 {2 23} Notification: Performance of prepare postOptimizeDAE: time 0.009036/1.856, allocations: 3.283 MB / 0.9103 GB, free: 75.68 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001869/1.858, allocations: 0.5349 MB / 0.9108 GB, free: 75.39 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02175/1.88, allocations: 10.55 MB / 0.9211 GB, free: 67.72 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.051e-05/1.88, allocations: 46.86 kB / 0.9212 GB, free: 67.68 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01823/1.898, allocations: 9.633 MB / 0.9306 GB, free: 59.92 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.846e-05/1.898, allocations: 21.91 kB / 0.9306 GB, free: 59.92 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04484/1.943, allocations: 23.72 MB / 0.9538 GB, free: 40.88 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.882e-05/1.943, allocations: 11.5 kB / 0.9538 GB, free: 40.88 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002481/1.946, allocations: 462.2 kB / 0.9542 GB, free: 40.52 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0112/1.957, allocations: 3.694 MB / 0.9578 GB, free: 36.82 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007992/1.958, allocations: 74.17 kB / 0.9579 GB, free: 36.75 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2903/2.248, allocations: 28.24 MB / 0.9855 GB, free: 90.5 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01692/2.265, allocations: 12.65 MB / 0.9978 GB, free: 87.73 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0277/2.293, allocations: 15.25 MB / 1.013 GB, free: 86.04 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004694/2.298, allocations: 1.149 MB / 1.014 GB, free: 85.95 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001758/2.299, allocations: 60.98 kB / 1.014 GB, free: 85.95 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004326/2.304, allocations: 230.5 kB / 1.014 GB, free: 85.95 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001142/2.305, allocations: 248.3 kB / 1.014 GB, free: 85.94 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003437/2.305, allocations: 97.39 kB / 1.014 GB, free: 85.94 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.008682/2.314, allocations: 3.574 MB / 1.018 GB, free: 85.73 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.82e-07/2.314, allocations: 0 / 1.018 GB, free: 85.73 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01276/2.327, allocations: 2.053 MB / 1.02 GB, free: 85.73 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (216): * Single equations (assignments): 208 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 11,(3,100.0%) 35,(3,100.0%) 25} * Non-linear torn systems: 1 {3 29} Notification: Performance of Backend phase and start with SimCode phase: time 0.001459/2.328, allocations: 272.4 kB / 1.02 GB, free: 85.64 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0172/2.345, allocations: 10.88 MB / 1.031 GB, free: 84.7 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.234e-05/2.346, allocations: 0 / 1.031 GB, free: 84.7 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006185/2.352, allocations: 4.286 MB / 1.035 GB, free: 83.11 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004966/2.357, allocations: 0.757 MB / 1.036 GB, free: 82.81 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03232/2.389, allocations: 19.13 MB / 1.054 GB, free: 73.15 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007449/2.397, allocations: 5.165 MB / 1.059 GB, free: 71.46 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.007875/2.405, allocations: 2.773 MB / 1.062 GB, free: 71.34 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001489/2.406, allocations: 353.7 kB / 1.063 GB, free: 71.33 MB / 458.7 MB Notification: Performance of SimCode: time 1.372e-06/2.406, allocations: 2.344 kB / 1.063 GB, free: 71.33 MB / 458.7 MB Notification: Performance of Templates: time 0.3767/2.783, allocations: 88.76 MB / 1.149 GB, free: 108 MB / 474.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Constraints/RevoluteConstraint/RevoluteConstraint.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches