Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.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.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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00158/0.00158, allocations: 183.8 kB / 18.04 MB, free: 3.777 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.357/1.357, allocations: 205.4 MB / 224.2 MB, free: 9.023 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.0007942/0.0007945, allocations: 89.73 kB / 272.5 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003641/0.0003641, allocations: 8 kB / 329.5 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2365, allocations: 47.58 MB / 377 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1329/0.3694, allocations: 114.4 MB / 491.5 MB, free: 14.05 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000316/0.3698, allocations: 99.94 kB / 491.6 MB, free: 13.95 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4779/0.8476, allocations: 139.7 MB / 0.6165 GB, free: 0.6953 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.896e-06/0.8477, allocations: 0 / 0.6165 GB, free: 0.6953 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0005436/0.8482, allocations: 164 kB / 0.6166 GB, free: 0.5352 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: 2676 * Number of variables: 2676 Notification: Performance of Generate backend data structure: time 0.04179/0.89, allocations: 8.001 MB / 0.6244 GB, free: 8.438 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.682e-05/0.8901, allocations: 8.031 kB / 0.6244 GB, free: 8.43 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02163/0.9118, allocations: 2.837 MB / 0.6272 GB, free: 5.578 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0248/0.9366, allocations: 6.972 MB / 0.634 GB, free: 14.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001127/0.9378, allocations: 0.5901 MB / 0.6346 GB, free: 13.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004821/0.9426, allocations: 0.7813 MB / 0.6353 GB, free: 13.14 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2726/1.215, allocations: 19.3 MB / 0.6542 GB, free: 49 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003474/1.216, allocations: 89.31 kB / 0.6543 GB, free: 49 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00163/1.217, allocations: 370.8 kB / 0.6546 GB, free: 49 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002051/1.219, allocations: 1.721 MB / 0.6563 GB, free: 48.98 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0315/1.251, allocations: 16.27 MB / 0.6722 GB, free: 48.93 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.08924/1.34, allocations: 81.01 MB / 0.7513 GB, free: 16.88 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02236/1.363, allocations: 8.985 MB / 0.7601 GB, free: 14.24 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005733/1.368, allocations: 5 MB / 0.765 GB, free: 12.11 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03808/1.406, allocations: 20.51 MB / 0.785 GB, free: 0 / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001051/1.407, allocations: 83.48 kB / 0.7851 GB, free: 15.92 MB / 442.7 MB Notification: Performance of pre-optimization done (n=322): time 6.683e-06/1.407, allocations: 0 / 0.7851 GB, free: 15.92 MB / 442.7 MB Notification: Performance of matching and sorting (n=380): time 0.3155/1.722, allocations: 44.49 MB / 0.8285 GB, free: 98.64 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01187/1.734, allocations: 12.34 MB / 0.8406 GB, free: 92.28 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007707/1.742, allocations: 6.089 MB / 0.8465 GB, free: 91.91 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000837/1.743, allocations: 85.34 kB / 0.8466 GB, free: 91.88 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002837/1.746, allocations: 5.165 MB / 0.8516 GB, free: 90.3 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002066/1.748, allocations: 1.412 MB / 0.853 GB, free: 89.47 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006225/1.748, allocations: 191.9 kB / 0.8532 GB, free: 89.47 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004614/1.749, allocations: 0.72 MB / 0.8539 GB, free: 89.15 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006081/1.755, allocations: 4.388 MB / 0.8582 GB, free: 89.12 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01117/1.766, allocations: 9.827 MB / 0.8678 GB, free: 82.2 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0172/1.783, allocations: 15.39 MB / 0.8828 GB, free: 74.2 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002814/1.784, allocations: 53.5 kB / 0.8829 GB, free: 74.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=1263) (initialization): time 0.03389/1.817, allocations: 17.5 MB / 0.9 GB, free: 67.79 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001319/1.818, allocations: 89.12 kB / 0.9 GB, free: 67.79 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002287/1.818, allocations: 191.8 kB / 0.9002 GB, free: 67.79 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00921/1.827, allocations: 3.556 MB / 0.9037 GB, free: 67.11 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007401/1.835, allocations: 2.253 MB / 0.9059 GB, free: 66.84 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05166/1.886, allocations: 27.03 MB / 0.9323 GB, free: 50.68 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009414/1.896, allocations: 0.6232 MB / 0.9329 GB, free: 50.51 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002238/1.898, allocations: 0.5867 MB / 0.9335 GB, free: 50.43 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 869 * Number of states: 0 () * Number of discrete variables: 66 (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.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 (1166): * Single equations (assignments): 1151 * 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.007945/1.906, allocations: 3.565 MB / 0.937 GB, free: 47.29 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001497/1.907, allocations: 0.5707 MB / 0.9375 GB, free: 46.71 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01982/1.927, allocations: 10.37 MB / 0.9476 GB, free: 38.41 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01587/1.943, allocations: 9.057 MB / 0.9565 GB, free: 31.02 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01604/1.959, allocations: 9.47 MB / 0.9657 GB, free: 23.23 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-05/1.959, allocations: 24.88 kB / 0.9658 GB, free: 23.22 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2349/2.194, allocations: 24.66 MB / 0.9898 GB, free: 86.46 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.169e-05/2.194, allocations: 5.969 kB / 0.9898 GB, free: 86.46 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003239/2.198, allocations: 0.632 MB / 0.9905 GB, free: 86.46 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008688/2.206, allocations: 2.989 MB / 0.9934 GB, free: 86.43 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008351/2.207, allocations: 74.28 kB / 0.9935 GB, free: 86.43 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02487/2.232, allocations: 20.96 MB / 1.014 GB, free: 81.24 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006482/2.239, allocations: 5.865 MB / 1.02 GB, free: 78.48 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02408/2.263, allocations: 14.8 MB / 1.034 GB, free: 77.84 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003224/2.266, allocations: 1.256 MB / 1.035 GB, free: 77.75 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009821/2.267, allocations: 66.98 kB / 1.035 GB, free: 77.75 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00311/2.27, allocations: 277.6 kB / 1.036 GB, free: 77.75 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007452/2.271, allocations: 254.2 kB / 1.036 GB, free: 77.73 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002864/2.271, allocations: 104.8 kB / 1.036 GB, free: 77.73 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.005649/2.277, allocations: 3.797 MB / 1.04 GB, free: 76.52 MB / 458.7 MB Notification: Performance of sort global known variables: time 3e-07/2.277, allocations: 0 / 1.04 GB, free: 76.52 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.009987/2.287, allocations: 2.104 MB / 1.042 GB, free: 76.3 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (290): * Single equations (assignments): 282 * 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.001058/2.288, allocations: 282.2 kB / 1.042 GB, free: 76.16 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01604/2.304, allocations: 11.39 MB / 1.053 GB, free: 72.12 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.249e-05/2.304, allocations: 4.312 kB / 1.053 GB, free: 72.12 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007226/2.311, allocations: 4.795 MB / 1.058 GB, free: 70.18 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01006/2.321, allocations: 0.8509 MB / 1.059 GB, free: 69.84 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03442/2.356, allocations: 21.07 MB / 1.079 GB, free: 58.44 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009865/2.366, allocations: 5.453 MB / 1.085 GB, free: 54.34 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.008407/2.374, allocations: 3.116 MB / 1.088 GB, free: 52.39 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001641/2.376, allocations: 421.5 kB / 1.088 GB, free: 52 MB / 458.7 MB Notification: Performance of SimCode: time 7.81e-07/2.376, allocations: 0 / 1.088 GB, free: 52 MB / 458.7 MB Notification: Performance of Templates: time 0.3189/2.695, allocations: 81.94 MB / 1.168 GB, free: 87.32 MB / 474.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Constraints/UniversalConstraint/UniversalConstraint.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches