Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.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.SphericalConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.body.w_a.1.|bodyOfConstraint.body.w_a.2.|bodyOfConstraint.body.w_a.3.",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.body.w_a.1.|bodyOfConstraint.body.w_a.2.|bodyOfConstraint.body.w_a.3.",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0016/0.0016, allocations: 174.8 kB / 13.63 MB, free: 1.684 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.423/1.423, allocations: 221.3 MB / 235.5 MB, free: 2.938 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000953/0.0009531, allocations: 94.92 kB / 286.5 MB, free: 228 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.679e-05/3.681e-05, allocations: 4 kB / 343.8 MB, free: 4.309 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1063, allocations: 50.41 MB / 394.2 MB, free: 1.859 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3667/0.4731, allocations: 114.5 MB / 0.4968 GB, free: 4.996 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002883/0.4734, allocations: 91.78 kB / 0.4969 GB, free: 4.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5048/0.9782, allocations: 128.2 MB / 0.6221 GB, free: 84.07 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.9783, allocations: 4 kB / 0.6221 GB, free: 84.07 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003893/0.9787, allocations: 140 kB / 0.6222 GB, free: 83.93 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: 2352 * Number of variables: 2352 Notification: Performance of Generate backend data structure: time 0.02318/1.002, allocations: 7.025 MB / 0.6291 GB, free: 76.83 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/1.002, allocations: 8.031 kB / 0.6291 GB, free: 76.82 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01352/1.015, allocations: 2.904 MB / 0.6319 GB, free: 73.9 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01817/1.034, allocations: 7.809 MB / 0.6396 GB, free: 66.01 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004407/1.034, allocations: 0.5214 MB / 0.6401 GB, free: 65.48 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002995/1.037, allocations: 0.6989 MB / 0.6408 GB, free: 64.79 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03774/1.075, allocations: 17.19 MB / 0.6575 GB, free: 46.24 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004365/1.075, allocations: 83.19 kB / 0.6576 GB, free: 46.16 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002507/1.078, allocations: 331.8 kB / 0.6579 GB, free: 45.84 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002223/1.08, allocations: 1.487 MB / 0.6594 GB, free: 44.34 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02795/1.108, allocations: 14.32 MB / 0.6734 GB, free: 30 MB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or 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.5973/1.706, allocations: 74.37 MB / 0.746 GB, free: 45.45 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02344/1.729, allocations: 7.355 MB / 0.7532 GB, free: 44.77 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00619/1.735, allocations: 3.669 MB / 0.7568 GB, free: 44.73 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03133/1.767, allocations: 16.28 MB / 0.7727 GB, free: 40.99 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.584e-05/1.767, allocations: 58.69 kB / 0.7727 GB, free: 40.95 MB / 442.8 MB Notification: Performance of pre-optimization done (n=253): time 9.157e-06/1.767, allocations: 3.422 kB / 0.7727 GB, free: 40.95 MB / 442.8 MB Notification: Performance of matching and sorting (n=269): time 0.07015/1.837, allocations: 23.44 MB / 0.7956 GB, free: 34.77 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00106/1.838, allocations: 1.597 MB / 0.7972 GB, free: 33.2 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01181/1.85, allocations: 5.075 MB / 0.8021 GB, free: 31.29 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000923/1.851, allocations: 65.05 kB / 0.8022 GB, free: 31.23 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004364/1.855, allocations: 4.786 MB / 0.8069 GB, free: 27.55 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002001/1.857, allocations: 1.056 MB / 0.8079 GB, free: 26.79 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001857/1.859, allocations: 174.1 kB / 0.8081 GB, free: 26.66 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.00129/1.861, allocations: 0.6854 MB / 0.8087 GB, free: 26.19 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006391/1.867, allocations: 3.181 MB / 0.8118 GB, free: 25.11 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009698/1.877, allocations: 8.523 MB / 0.8202 GB, free: 16.85 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008717/1.885, allocations: 5.135 MB / 0.8252 GB, free: 15.24 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002889/1.886, allocations: 52.69 kB / 0.8252 GB, free: 15.24 MB / 442.8 MB Notification: Performance of matching and sorting (n=1151) (initialization): time 0.02757/1.913, allocations: 13.38 MB / 0.8383 GB, free: 4.82 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002953/1.914, allocations: 89.72 kB / 0.8384 GB, free: 4.734 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01202/1.926, allocations: 5.62 MB / 0.8439 GB, free: 104 kB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008356/1.934, allocations: 2.111 MB / 0.8459 GB, free: 14.63 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009419/1.944, allocations: 2.086 MB / 0.848 GB, free: 12.83 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01993/1.964, allocations: 14.07 MB / 0.8617 GB, free: 15.42 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01233/1.976, allocations: 0.5515 MB / 0.8622 GB, free: 14.96 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004466/1.98, allocations: 0.5307 MB / 0.8628 GB, free: 14.45 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 865 * Number of states: 0 () * Number of discrete variables: 62 (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.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.sphereColor[3],joint.sphereColor[2],joint.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1097): * Single equations (assignments): 1083 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(3,100.0%) 3,(3,100.0%) 3,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006112/1.987, allocations: 0.8029 MB / 0.8635 GB, free: 13.65 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002741/1.989, allocations: 0.509 MB / 0.864 GB, free: 13.14 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01848/2.008, allocations: 6.341 MB / 0.8702 GB, free: 8.016 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01163/2.02, allocations: 5.459 MB / 0.8756 GB, free: 3.543 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01224/2.032, allocations: 5.819 MB / 0.8812 GB, free: 14.38 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.532e-05/2.032, allocations: 11.95 kB / 0.8813 GB, free: 14.36 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3255/2.358, allocations: 16.64 MB / 0.8975 GB, free: 126.2 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.465e-05/2.358, allocations: 9.109 kB / 0.8975 GB, free: 126.2 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002738/2.36, allocations: 498.4 kB / 0.898 GB, free: 126.2 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005957/2.366, allocations: 1.795 MB / 0.8997 GB, free: 126.2 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006971/2.367, allocations: 66.66 kB / 0.8998 GB, free: 126.2 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01436/2.381, allocations: 9.719 MB / 0.9093 GB, free: 122.4 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001064/2.383, allocations: 1.459 MB / 0.9107 GB, free: 121 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02004/2.403, allocations: 10.29 MB / 0.9208 GB, free: 118.9 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002107/2.405, allocations: 0.5592 MB / 0.9213 GB, free: 118.8 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00202/2.407, allocations: 58.03 kB / 0.9214 GB, free: 118.8 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003781/2.411, allocations: 207.6 kB / 0.9216 GB, free: 118.8 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009842/2.412, allocations: 181.6 kB / 0.9217 GB, free: 118.8 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005311/2.412, allocations: 86.12 kB / 0.9218 GB, free: 118.8 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.007627/2.42, allocations: 3.523 MB / 0.9253 GB, free: 118.6 MB / 490.8 MB Notification: Performance of sort global known variables: time 5.41e-07/2.42, allocations: 0 / 0.9253 GB, free: 118.6 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.00972/2.43, allocations: 1.674 MB / 0.9269 GB, free: 118.6 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],joint.w_rel[1],joint.w_rel[2],joint.w_rel[3],bodyOfConstraint.body.w_a[1],bodyOfConstraint.body.w_a[2],bodyOfConstraint.body.w_a[3],freeMotionScalarInit.derd[1].u,freeMotionScalarInit.derd[2].u,freeMotionScalarInit.derd[3].u) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (223): * Single equations (assignments): 213 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 3,(3,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001553/2.431, allocations: 277.9 kB / 0.9272 GB, free: 118.5 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.01673/2.448, allocations: 8.706 MB / 0.9357 GB, free: 117.6 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.238e-05/2.448, allocations: 1.031 kB / 0.9357 GB, free: 117.6 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006564/2.455, allocations: 3.271 MB / 0.9389 GB, free: 116.9 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006201/2.461, allocations: 0.7706 MB / 0.9396 GB, free: 116.7 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03095/2.492, allocations: 12.41 MB / 0.9517 GB, free: 112.1 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00994/2.502, allocations: 4.929 MB / 0.9565 GB, free: 110.5 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.009645/2.512, allocations: 2.87 MB / 0.9593 GB, free: 110.3 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002158/2.514, allocations: 361.2 kB / 0.9597 GB, free: 110.3 MB / 490.8 MB Notification: Performance of SimCode: time 1.603e-06/2.514, allocations: 0 / 0.9597 GB, free: 110.3 MB / 490.8 MB Notification: Performance of Templates: time 0.1105/2.624, allocations: 58.49 MB / 1.017 GB, free: 67.61 MB / 490.8 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Constraints/SphericalConstraint/SphericalConstraint.csv","../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches