Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.body.w_a.1.|bodyOfConstraint.body.w_a.2.|bodyOfConstraint.body.w_a.3.|joint.phi_a|joint.phi_b|joint.w_a|joint.w_b",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.body.w_a.1.|bodyOfConstraint.body.w_a.2.|bodyOfConstraint.body.w_a.3.|joint.phi_a|joint.phi_b|joint.w_a|joint.w_b",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 181.9 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.277/1.277, allocations: 223.2 MB / 240.3 MB, free: 11.86 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008112/0.0008111, allocations: 103.9 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002304/0.0002305, allocations: 7.938 kB / 351.1 MB, free: 15.31 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2031/0.2033, allocations: 50.4 MB / 401.5 MB, free: 32.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3415/0.5448, allocations: 115.6 MB / 0.505 GB, free: 46.83 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002288/0.5451, allocations: 96.03 kB / 0.505 GB, free: 46.83 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3039/0.849, allocations: 140.9 MB / 0.6427 GB, free: 6.996 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.787e-06/0.849, allocations: 4 kB / 0.6427 GB, free: 6.992 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004288/0.8494, allocations: 156 kB / 0.6428 GB, free: 6.84 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2627 * Number of variables: 2627 Notification: Performance of Generate backend data structure: time 0.03139/0.8808, allocations: 8.305 MB / 0.651 GB, free: 14.45 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.8809, allocations: 8.031 kB / 0.651 GB, free: 14.44 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01398/0.8949, allocations: 2.896 MB / 0.6538 GB, free: 11.53 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02117/0.9161, allocations: 7.725 MB / 0.6613 GB, free: 3.719 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000707/0.9168, allocations: 0.5856 MB / 0.6619 GB, free: 3.133 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004241/0.9211, allocations: 0.7769 MB / 0.6627 GB, free: 2.355 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4611/1.382, allocations: 19.26 MB / 0.6815 GB, free: 57.94 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003051/1.383, allocations: 84.47 kB / 0.6816 GB, free: 57.94 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001436/1.384, allocations: 366.2 kB / 0.6819 GB, free: 57.94 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001861/1.386, allocations: 1.687 MB / 0.6835 GB, free: 57.92 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03258/1.418, allocations: 16.29 MB / 0.6995 GB, free: 57.87 MB / 442.8 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.08712/1.506, allocations: 80.26 MB / 0.7778 GB, free: 24.7 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02274/1.528, allocations: 9.065 MB / 0.7867 GB, free: 22.07 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02766/1.556, allocations: 20.23 MB / 0.8064 GB, free: 6.984 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.053e-05/1.556, allocations: 63.72 kB / 0.8065 GB, free: 6.914 MB / 458.8 MB Notification: Performance of pre-optimization done (n=313): time 6.442e-06/1.556, allocations: 0 / 0.8065 GB, free: 6.914 MB / 458.8 MB Notification: Performance of matching and sorting (n=371): time 0.3758/1.932, allocations: 45.01 MB / 0.8505 GB, free: 85.55 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01403/1.946, allocations: 12.92 MB / 0.8631 GB, free: 78.96 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009658/1.956, allocations: 5.298 MB / 0.8682 GB, free: 78.48 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001352/1.957, allocations: 82.44 kB / 0.8683 GB, free: 78.45 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003747/1.961, allocations: 5.093 MB / 0.8733 GB, free: 76.04 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002518/1.963, allocations: 1.374 MB / 0.8746 GB, free: 75.23 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008165/1.964, allocations: 192.9 kB / 0.8748 GB, free: 75.23 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0005005/1.965, allocations: 0.7097 MB / 0.8755 GB, free: 74.91 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005807/1.971, allocations: 4.323 MB / 0.8797 GB, free: 74.89 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008333/1.979, allocations: 9.654 MB / 0.8892 GB, free: 68.07 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009583/1.989, allocations: 6.344 MB / 0.8954 GB, free: 68 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002522/1.989, allocations: 53.25 kB / 0.8954 GB, free: 68 MB / 474.8 MB Notification: Performance of matching and sorting (n=1241) (initialization): time 0.03439/2.023, allocations: 17.29 MB / 0.9123 GB, free: 63.33 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001268/2.023, allocations: 81.91 kB / 0.9124 GB, free: 63.33 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001973/2.024, allocations: 190.6 kB / 0.9126 GB, free: 63.33 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009672/2.033, allocations: 3.576 MB / 0.9161 GB, free: 62.66 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007558/2.041, allocations: 2.212 MB / 0.9182 GB, free: 62.41 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02798/2.069, allocations: 27.79 MB / 0.9454 GB, free: 45.98 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008916/2.078, allocations: 0.6149 MB / 0.946 GB, free: 45.81 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002027/2.08, allocations: 0.5713 MB / 0.9465 GB, free: 45.74 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 856 * Number of states: 0 () * Number of discrete variables: 68 (freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],fixedTranslationOfConstraint.color[3],fixedTranslationOfConstraint.color[2],fixedTranslationOfConstraint.color[1],fixedTranslationOfJoint.color[3],fixedTranslationOfJoint.color[2],fixedTranslationOfJoint.color[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.arrow.arrowLine.twoHeadedArrow,sensorConstraintRelative.arrow.headAtOrigin,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 (1144): * Single equations (assignments): 1129 * Array equations: 8 * 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%) 20,(1,100.0%) 7,(2,100.0%) 24,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.006868/2.087, allocations: 3.514 MB / 0.9499 GB, free: 44.09 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00118/2.088, allocations: 0.5626 MB / 0.9505 GB, free: 43.77 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0171/2.105, allocations: 10.25 MB / 0.9605 GB, free: 36.23 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01503/2.12, allocations: 8.958 MB / 0.9692 GB, free: 28.94 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01512/2.135, allocations: 9.373 MB / 0.9784 GB, free: 21.26 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.313e-05/2.136, allocations: 15.19 kB / 0.9784 GB, free: 21.26 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04034/2.176, allocations: 24.06 MB / 1.002 GB, free: 1.996 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.891e-05/2.176, allocations: 4 kB / 1.002 GB, free: 1.992 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003233/2.179, allocations: 0.6142 MB / 1.003 GB, free: 1.52 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2449/2.424, allocations: 3.139 MB / 1.006 GB, free: 78.47 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009266/2.425, allocations: 71.98 kB / 1.006 GB, free: 78.47 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0253/2.45, allocations: 21.63 MB / 1.027 GB, free: 73.34 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005963/2.456, allocations: 6.03 MB / 1.033 GB, free: 70.58 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02268/2.479, allocations: 15.08 MB / 1.047 GB, free: 69.39 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001977/2.481, allocations: 0.6043 MB / 1.048 GB, free: 69.29 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001246/2.482, allocations: 60.72 kB / 1.048 GB, free: 69.29 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002939/2.485, allocations: 271.4 kB / 1.048 GB, free: 69.29 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006558/2.486, allocations: 235.7 kB / 1.049 GB, free: 69.29 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002762/2.486, allocations: 97.89 kB / 1.049 GB, free: 69.29 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.005225/2.492, allocations: 3.714 MB / 1.052 GB, free: 69.07 MB / 474.8 MB Notification: Performance of sort global known variables: time 1.222e-06/2.492, allocations: 0 / 1.052 GB, free: 69.07 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.009297/2.501, allocations: 2.081 MB / 1.054 GB, free: 69.07 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 8 ($STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[2],$STATESET1.x[1],joint.phi_a,joint.phi_b,joint.w_a,joint.w_b) * 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 (280): * Single equations (assignments): 272 * 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 {(4,75.0%) 19,(3,100.0%) 17,(3,100.0%) 8} * Non-linear torn systems: 1 {3 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.001002/2.502, allocations: 281.8 kB / 1.055 GB, free: 68.98 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.01435/2.516, allocations: 11.22 MB / 1.065 GB, free: 66.77 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 9.959e-06/2.516, allocations: 9.25 kB / 1.066 GB, free: 66.77 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006201/2.522, allocations: 4.703 MB / 1.07 GB, free: 64.84 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003559/2.526, allocations: 0.8025 MB / 1.071 GB, free: 64.53 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02572/2.552, allocations: 20.58 MB / 1.091 GB, free: 54.22 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007667/2.559, allocations: 5.517 MB / 1.096 GB, free: 52.43 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.008549/2.568, allocations: 3.079 MB / 1.099 GB, free: 52.25 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001652/2.57, allocations: 402.9 kB / 1.1 GB, free: 52.23 MB / 474.8 MB Notification: Performance of SimCode: time 1.262e-06/2.57, allocations: 0 / 1.1 GB, free: 52.23 MB / 474.8 MB Notification: Performance of Templates: time 0.1262/2.696, allocations: 80.76 MB / 1.179 GB, free: 4.395 MB / 490.8 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Constraints/UniversalConstraint/UniversalConstraint.csv","../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches