Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_cpp_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_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001221/0.001221, allocations: 199.4 kB / 18.07 MB, free: 3.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.712/1.712, allocations: 226.5 MB / 245.3 MB, free: 6.531 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007958/0.0007959, allocations: 102.5 kB / 297.4 MB, free: 6.699 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002326/0.0002326, allocations: 4 kB / 357.4 MB, free: 10.76 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.2388, allocations: 51.29 MB / 408.7 MB, free: 27.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3394/0.5783, allocations: 115 MB / 0.5114 GB, free: 97.25 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002686/0.5786, allocations: 96.5 kB / 0.5115 GB, free: 97.25 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.33/0.9086, allocations: 129.1 MB / 0.6376 GB, free: 4.555 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.9087, allocations: 4 kB / 0.6376 GB, free: 4.551 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004416/0.9091, allocations: 140 kB / 0.6377 GB, free: 4.414 MB / 410.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.03142/0.9406, allocations: 7.219 MB / 0.6447 GB, free: 13.11 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.405e-05/0.9406, allocations: 8.031 kB / 0.6448 GB, free: 13.1 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01422/0.9549, allocations: 2.85 MB / 0.6475 GB, free: 10.23 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01493/0.9698, allocations: 6.334 MB / 0.6537 GB, free: 3.816 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005039/0.9704, allocations: 0.5141 MB / 0.6542 GB, free: 3.301 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002782/0.9732, allocations: 0.6954 MB / 0.6549 GB, free: 2.605 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0369/1.01, allocations: 17.13 MB / 0.6716 GB, free: 120 kB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003417/1.01, allocations: 91.14 kB / 0.6717 GB, free: 28 kB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.3583/1.369, allocations: 330 kB / 0.672 GB, free: 68.14 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002673/1.372, allocations: 1.481 MB / 0.6735 GB, free: 68.13 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02743/1.399, allocations: 14.28 MB / 0.6874 GB, free: 68.08 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.09573/1.495, allocations: 74.23 MB / 0.7599 GB, free: 23.97 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02975/1.525, allocations: 7.319 MB / 0.7671 GB, free: 21.81 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006791/1.531, allocations: 3.692 MB / 0.7707 GB, free: 20.25 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03514/1.567, allocations: 16.17 MB / 0.7865 GB, free: 12.02 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.736e-05/1.567, allocations: 59 kB / 0.7865 GB, free: 11.97 MB / 442.8 MB Notification: Performance of pre-optimization done (n=253): time 9.959e-06/1.567, allocations: 0 / 0.7865 GB, free: 11.97 MB / 442.8 MB Notification: Performance of matching and sorting (n=269): time 0.1118/1.679, allocations: 27.56 MB / 0.8134 GB, free: 6.898 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001768/1.68, allocations: 1.606 MB / 0.815 GB, free: 5.18 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01742/1.698, allocations: 5.766 MB / 0.8206 GB, free: 344 kB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009093/1.699, allocations: 65.7 kB / 0.8207 GB, free: 272 kB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.006458/1.705, allocations: 4.794 MB / 0.8254 GB, free: 11.97 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002365/1.708, allocations: 1.052 MB / 0.8264 GB, free: 11.05 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001519/1.709, allocations: 177.5 kB / 0.8266 GB, free: 10.88 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.001464/1.711, allocations: 0.6735 MB / 0.8272 GB, free: 10.3 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009492/1.72, allocations: 3.242 MB / 0.8304 GB, free: 7.555 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01452/1.735, allocations: 8.619 MB / 0.8388 GB, free: 13.08 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2465/1.981, allocations: 12.86 MB / 0.8514 GB, free: 105.1 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000286/1.982, allocations: 54.38 kB / 0.8514 GB, free: 105.1 MB / 490.8 MB Notification: Performance of matching and sorting (n=1151) (initialization): time 0.02637/2.008, allocations: 13.5 MB / 0.8646 GB, free: 104.3 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001089/2.008, allocations: 88.94 kB / 0.8647 GB, free: 104.3 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01007/2.018, allocations: 5.667 MB / 0.8702 GB, free: 103.8 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005654/2.024, allocations: 2.068 MB / 0.8722 GB, free: 103.8 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006388/2.03, allocations: 2.09 MB / 0.8743 GB, free: 103.6 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01189/2.042, allocations: 14.08 MB / 0.888 GB, free: 95.92 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006469/2.049, allocations: 0.5611 MB / 0.8886 GB, free: 95.92 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001426/2.05, allocations: 0.5235 MB / 0.8891 GB, free: 95.92 MB / 490.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 () * Number of clocked 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.005873/2.056, allocations: 3.191 MB / 0.8922 GB, free: 95.62 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009053/2.057, allocations: 0.516 MB / 0.8927 GB, free: 95.61 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0104/2.068, allocations: 6.378 MB / 0.8989 GB, free: 95.07 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008704/2.076, allocations: 5.493 MB / 0.9043 GB, free: 94.59 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.009005/2.085, allocations: 5.878 MB / 0.9101 GB, free: 92.71 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.366e-05/2.085, allocations: 11.91 kB / 0.9101 GB, free: 92.71 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02706/2.112, allocations: 16.69 MB / 0.9264 GB, free: 86.64 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.513e-05/2.113, allocations: 9.938 kB / 0.9264 GB, free: 86.64 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002169/2.115, allocations: 494.6 kB / 0.9268 GB, free: 86.6 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004684/2.119, allocations: 1.794 MB / 0.9286 GB, free: 86.29 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004871/2.12, allocations: 60.64 kB / 0.9287 GB, free: 86.26 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009713/2.13, allocations: 9.735 MB / 0.9382 GB, free: 80.57 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006651/2.13, allocations: 1.477 MB / 0.9396 GB, free: 79.14 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01313/2.144, allocations: 9.195 MB / 0.9486 GB, free: 74.06 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001437/2.145, allocations: 0.5508 MB / 0.9491 GB, free: 73.51 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001032/2.146, allocations: 66.48 kB / 0.9492 GB, free: 73.46 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002244/2.148, allocations: 202 kB / 0.9494 GB, free: 73.34 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000531/2.149, allocations: 189.4 kB / 0.9496 GB, free: 73.22 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000213/2.149, allocations: 82.66 kB / 0.9496 GB, free: 73.14 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.006054/2.155, allocations: 3.575 MB / 0.9531 GB, free: 70.21 MB / 490.8 MB Notification: Performance of sort global known variables: time 5.71e-07/2.155, allocations: 0 / 0.9531 GB, free: 70.21 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.007464/2.163, allocations: 1.689 MB / 0.9548 GB, free: 68.55 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 () * Number of clocked 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.0008626/2.164, allocations: 289.5 kB / 0.955 GB, free: 68.32 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.01226/2.176, allocations: 8.815 MB / 0.9637 GB, free: 60.54 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.093e-05/2.176, allocations: 0 / 0.9637 GB, free: 60.54 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004618/2.181, allocations: 3.306 MB / 0.9669 GB, free: 57.61 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01127/2.192, allocations: 0.8031 MB / 0.9677 GB, free: 56.96 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02598/2.218, allocations: 18.47 MB / 0.9857 GB, free: 40.2 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006066/2.224, allocations: 4.793 MB / 0.9904 GB, free: 36.57 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001505/2.225, allocations: 425.6 kB / 0.9908 GB, free: 36.17 MB / 490.8 MB Notification: Performance of SimCode: time 7.31e-07/2.225, allocations: 0 / 0.9908 GB, free: 36.17 MB / 490.8 MB Notification: Performance of Templates: time 1.299/3.524, allocations: 292 MB / 1.276 GB, free: 111.5 MB / 0.5105 GB make -j1 -f Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.makefile (rm -f Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe >> ../files/Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.sim & ./Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Constraints/SphericalConstraint/SphericalConstraint.csv","../files/Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches