Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.0009054/0.0009054, allocations: 180.5 kB / 17.41 MB, free: 4.402 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.35/1.35, allocations: 205.4 MB / 223.6 MB, free: 8.945 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.0008058/0.0008058, allocations: 91.39 kB / 271.9 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003093/0.0003093, allocations: 8 kB / 328.1 MB, free: 15.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.2269, allocations: 47.58 MB / 375.7 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1281/0.355, allocations: 113.9 MB / 489.7 MB, free: 14.62 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002434/0.3553, allocations: 99.94 kB / 489.8 MB, free: 14.53 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4369/0.7922, allocations: 126.8 MB / 0.6022 GB, free: 14.13 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.785e-06/0.7922, allocations: 4 kB / 0.6022 GB, free: 14.13 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003713/0.7926, allocations: 140 kB / 0.6023 GB, free: 13.99 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.02187/0.8145, allocations: 7.247 MB / 0.6094 GB, free: 6.656 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.8145, allocations: 12.03 kB / 0.6094 GB, free: 6.645 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01246/0.827, allocations: 2.714 MB / 0.612 GB, free: 3.918 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01514/0.8422, allocations: 6.423 MB / 0.6183 GB, free: 13.41 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006087/0.8428, allocations: 0.5259 MB / 0.6188 GB, free: 12.88 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003583/0.8464, allocations: 0.6954 MB / 0.6195 GB, free: 12.19 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04104/0.8875, allocations: 17.33 MB / 0.6364 GB, free: 9.555 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004897/0.888, allocations: 75.47 kB / 0.6365 GB, free: 9.48 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004229/0.8923, allocations: 339.8 kB / 0.6368 GB, free: 9.148 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002764/0.8951, allocations: 1.535 MB / 0.6383 GB, free: 7.613 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2398/1.135, allocations: 14.49 MB / 0.6525 GB, free: 60.42 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.08855/1.224, allocations: 73.67 MB / 0.7244 GB, free: 19.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02064/1.244, allocations: 7.715 MB / 0.7319 GB, free: 17.17 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005313/1.25, allocations: 4.027 MB / 0.7359 GB, free: 15.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02559/1.275, allocations: 16.58 MB / 0.7521 GB, free: 7.117 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.52e-05/1.275, allocations: 60.53 kB / 0.7521 GB, free: 7.062 MB / 410.7 MB Notification: Performance of pre-optimization done (n=275): time 6.723e-06/1.275, allocations: 0 / 0.7521 GB, free: 7.062 MB / 410.7 MB Notification: Performance of matching and sorting (n=349): time 0.1348/1.41, allocations: 45.31 MB / 0.7964 GB, free: 8.461 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02537/1.436, allocations: 15.45 MB / 0.8114 GB, free: 9.133 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0145/1.45, allocations: 5.74 MB / 0.8171 GB, free: 3.418 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009664/1.451, allocations: 77.7 kB / 0.8171 GB, free: 3.336 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2297/1.681, allocations: 4.762 MB / 0.8218 GB, free: 107.3 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001761/1.683, allocations: 1.302 MB / 0.8231 GB, free: 106.9 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008511/1.683, allocations: 184.4 kB / 0.8232 GB, free: 106.9 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003776/1.684, allocations: 0.7015 MB / 0.8239 GB, free: 106.6 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005173/1.689, allocations: 4.134 MB / 0.8279 GB, free: 106.6 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006982/1.696, allocations: 9.397 MB / 0.8371 GB, free: 99.86 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01466/1.711, allocations: 14.67 MB / 0.8515 GB, free: 93.14 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001956/1.711, allocations: 51.88 kB / 0.8515 GB, free: 93.14 MB / 458.7 MB Notification: Performance of matching and sorting (n=1198) (initialization): time 0.03909/1.75, allocations: 18.05 MB / 0.8691 GB, free: 91.23 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002716/1.75, allocations: 83.44 kB / 0.8692 GB, free: 91.23 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003696/1.751, allocations: 183.5 kB / 0.8694 GB, free: 91.23 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01437/1.765, allocations: 4.976 MB / 0.8742 GB, free: 90.84 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00671/1.772, allocations: 2.021 MB / 0.8762 GB, free: 90.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04496/1.817, allocations: 37.14 MB / 0.9125 GB, free: 70.64 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009489/1.826, allocations: 0.5521 MB / 0.913 GB, free: 70.48 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002536/1.829, allocations: 0.5598 MB / 0.9136 GB, free: 70.41 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.008985/1.838, allocations: 3.283 MB / 0.9168 GB, free: 68.01 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001677/1.84, allocations: 0.5399 MB / 0.9173 GB, free: 67.46 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02373/1.863, allocations: 10.55 MB / 0.9276 GB, free: 59.18 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.836e-05/1.864, allocations: 52 kB / 0.9277 GB, free: 59.13 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.02003/1.884, allocations: 9.644 MB / 0.9371 GB, free: 51.34 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.08e-05/1.884, allocations: 15.84 kB / 0.9371 GB, free: 51.34 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05228/1.936, allocations: 23.73 MB / 0.9603 GB, free: 31.92 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.575e-05/1.936, allocations: 8.656 kB / 0.9603 GB, free: 31.91 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002529/1.939, allocations: 471.2 kB / 0.9607 GB, free: 31.45 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01122/1.95, allocations: 3.692 MB / 0.9643 GB, free: 27.75 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001009/1.951, allocations: 60 kB / 0.9644 GB, free: 27.69 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2824/2.233, allocations: 27.27 MB / 0.991 GB, free: 90.66 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01533/2.249, allocations: 12.16 MB / 1.003 GB, free: 87.88 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02679/2.276, allocations: 14.42 MB / 1.017 GB, free: 87.22 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003682/2.279, allocations: 1.153 MB / 1.018 GB, free: 87.12 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001995/2.281, allocations: 59.47 kB / 1.018 GB, free: 87.12 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004335/2.286, allocations: 226.1 kB / 1.018 GB, free: 87.12 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001456/2.287, allocations: 251.1 kB / 1.019 GB, free: 87.12 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007635/2.288, allocations: 91.86 kB / 1.019 GB, free: 87.12 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.008926/2.297, allocations: 3.573 MB / 1.022 GB, free: 86.9 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.61e-07/2.297, allocations: 6.219 kB / 1.022 GB, free: 86.9 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01187/2.309, allocations: 2.055 MB / 1.024 GB, free: 86.9 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.00154/2.31, allocations: 261.8 kB / 1.024 GB, free: 86.81 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01722/2.328, allocations: 10.88 MB / 1.035 GB, free: 84.4 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.788e-06/2.328, allocations: 0 / 1.035 GB, free: 84.4 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006444/2.334, allocations: 4.287 MB / 1.039 GB, free: 82.45 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01182/2.346, allocations: 0.8075 MB / 1.04 GB, free: 82.12 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03738/2.383, allocations: 20 MB / 1.06 GB, free: 71.97 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009633/2.393, allocations: 5.022 MB / 1.064 GB, free: 70.28 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001992/2.395, allocations: 426.8 kB / 1.065 GB, free: 70.27 MB / 458.7 MB Notification: Performance of SimCode: time 9.02e-07/2.395, allocations: 0 / 1.065 GB, free: 70.27 MB / 458.7 MB Notification: Performance of Templates: time 0.7968/3.192, allocations: 262.4 MB / 1.321 GB, free: 119.8 MB / 490.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,bodyOfConstraint.body.w_a[1],bodyOfConstraint.body.w_a[2],bodyOfConstraint.body.w_a[3],bodyOfJoint.body.w_a[2],joint.phi Variables in the result:bodyOfConstraint.body.w_a[1],bodyOfConstraint.body.w_a[2],bodyOfConstraint.body.w_a[3],bodyOfJoint.body.w_a[2],joint.phi,time