Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.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.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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001459/0.001458, allocations: 183.4 kB / 18.04 MB, free: 3.543 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.379/1.379, allocations: 205.4 MB / 224.2 MB, free: 9.027 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.0007758/0.0007758, allocations: 77.2 kB / 272.5 MB, free: 8.262 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003349/0.000335, allocations: 16 kB / 329.5 MB, free: 15.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/0.2335, allocations: 47.56 MB / 377 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1221/0.3557, allocations: 113.4 MB / 490.5 MB, free: 15.05 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002473/0.356, allocations: 95.95 kB / 490.6 MB, free: 14.95 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4355/0.7915, allocations: 126.7 MB / 0.6028 GB, free: 14.54 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.875e-06/0.7915, allocations: 3.984 kB / 0.6028 GB, free: 14.54 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004333/0.792, allocations: 147.9 kB / 0.603 GB, free: 14.39 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: 2401 * Number of variables: 2401 Notification: Performance of Generate backend data structure: time 0.02119/0.8132, allocations: 7.22 MB / 0.61 GB, free: 7.082 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.8132, allocations: 8.031 kB / 0.61 GB, free: 7.074 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01164/0.8249, allocations: 2.819 MB / 0.6128 GB, free: 4.242 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0156/0.8405, allocations: 6.985 MB / 0.6196 GB, free: 13.17 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005806/0.8411, allocations: 0.5299 MB / 0.6201 GB, free: 12.64 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00358/0.8447, allocations: 0.6993 MB / 0.6208 GB, free: 11.94 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03987/0.8846, allocations: 17.42 MB / 0.6378 GB, free: 9.156 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002922/0.885, allocations: 83.22 kB / 0.6379 GB, free: 9.074 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001392/0.8864, allocations: 331.9 kB / 0.6382 GB, free: 8.75 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00223/0.8886, allocations: 1.531 MB / 0.6397 GB, free: 7.219 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4034/1.292, allocations: 14.55 MB / 0.6539 GB, free: 57.8 MB / 410.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.08195/1.374, allocations: 75.13 MB / 0.7273 GB, free: 15.22 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01905/1.393, allocations: 7.409 MB / 0.7345 GB, free: 13.03 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005126/1.398, allocations: 3.746 MB / 0.7382 GB, free: 11.45 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02473/1.423, allocations: 16.35 MB / 0.7542 GB, free: 3.164 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.312e-05/1.423, allocations: 57.84 kB / 0.7542 GB, free: 3.109 MB / 410.8 MB Notification: Performance of pre-optimization done (n=262): time 6.081e-06/1.423, allocations: 0 / 0.7542 GB, free: 3.109 MB / 410.8 MB Notification: Performance of matching and sorting (n=278): time 0.08407/1.507, allocations: 28.41 MB / 0.782 GB, free: 2.336 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001495/1.509, allocations: 1.621 MB / 0.7835 GB, free: 0.6094 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01437/1.523, allocations: 6.021 MB / 0.7894 GB, free: 12.03 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008101/1.524, allocations: 65.7 kB / 0.7895 GB, free: 11.96 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004272/1.528, allocations: 4.871 MB / 0.7942 GB, free: 7.598 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001586/1.53, allocations: 1.086 MB / 0.7953 GB, free: 6.645 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005073/1.531, allocations: 180 kB / 0.7955 GB, free: 6.469 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0005288/1.531, allocations: 0.6817 MB / 0.7961 GB, free: 5.887 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005073/1.536, allocations: 3.304 MB / 0.7994 GB, free: 3.09 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009255/1.545, allocations: 8.761 MB / 0.8079 GB, free: 8.453 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2352/1.781, allocations: 13.08 MB / 0.8207 GB, free: 95.7 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000169/1.781, allocations: 55.47 kB / 0.8207 GB, free: 95.7 MB / 458.8 MB Notification: Performance of matching and sorting (n=1173) (initialization): time 0.02684/1.808, allocations: 13.7 MB / 0.8341 GB, free: 94.59 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001561/1.808, allocations: 87.38 kB / 0.8342 GB, free: 94.59 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01056/1.818, allocations: 5.758 MB / 0.8398 GB, free: 94.15 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00581/1.824, allocations: 2.073 MB / 0.8419 GB, free: 94.08 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007941/1.832, allocations: 2.131 MB / 0.8439 GB, free: 93.9 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01413/1.846, allocations: 14.11 MB / 0.8577 GB, free: 86.22 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007774/1.854, allocations: 0.5716 MB / 0.8583 GB, free: 86.22 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001962/1.856, allocations: 0.5401 MB / 0.8588 GB, free: 86.22 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 878 * 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.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 (1119): * Single equations (assignments): 1105 * 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.007464/1.864, allocations: 3.246 MB / 0.862 GB, free: 85.91 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001152/1.865, allocations: 0.5229 MB / 0.8625 GB, free: 85.91 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01127/1.876, allocations: 6.502 MB / 0.8688 GB, free: 85.37 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008922/1.885, allocations: 5.581 MB / 0.8743 GB, free: 83.77 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.009688/1.895, allocations: 5.972 MB / 0.8801 GB, free: 81.62 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.782e-05/1.895, allocations: 13.5 kB / 0.8801 GB, free: 81.62 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02872/1.924, allocations: 17.4 MB / 0.8971 GB, free: 75.23 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.406e-05/1.924, allocations: 14.19 kB / 0.8971 GB, free: 75.23 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002268/1.926, allocations: 0.509 MB / 0.8976 GB, free: 75.19 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004805/1.931, allocations: 1.794 MB / 0.8994 GB, free: 74.88 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003423/1.931, allocations: 74.11 kB / 0.8994 GB, free: 74.84 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009731/1.941, allocations: 9.742 MB / 0.909 GB, free: 66.67 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006755/1.942, allocations: 1.466 MB / 0.9104 GB, free: 65.14 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01329/1.955, allocations: 9.452 MB / 0.9196 GB, free: 57.25 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001438/1.956, allocations: 0.5701 MB / 0.9202 GB, free: 56.68 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007992/1.957, allocations: 59.33 kB / 0.9202 GB, free: 56.63 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002181/1.959, allocations: 220.5 kB / 0.9204 GB, free: 56.5 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005113/1.96, allocations: 203.9 kB / 0.9206 GB, free: 56.36 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003483/1.96, allocations: 90.5 kB / 0.9207 GB, free: 56.29 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.005349/1.966, allocations: 3.655 MB / 0.9243 GB, free: 53.28 MB / 458.8 MB Notification: Performance of sort global known variables: time 3.7e-07/1.966, allocations: 4 kB / 0.9243 GB, free: 53.28 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.008171/1.974, allocations: 1.705 MB / 0.926 GB, free: 51.59 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * 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 (233): * Single equations (assignments): 223 * 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.0008579/1.975, allocations: 273.9 kB / 0.9262 GB, free: 51.37 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.01266/1.987, allocations: 8.952 MB / 0.935 GB, free: 43.41 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.208e-05/1.987, allocations: 0 / 0.935 GB, free: 43.41 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004765/1.992, allocations: 3.391 MB / 0.9383 GB, free: 40.41 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.012/2.004, allocations: 0.8079 MB / 0.9391 GB, free: 39.74 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02744/2.032, allocations: 18.08 MB / 0.9567 GB, free: 23.14 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007302/2.039, allocations: 4.887 MB / 0.9615 GB, free: 19.03 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.008561/2.048, allocations: 2.913 MB / 0.9643 GB, free: 16.17 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001364/2.049, allocations: 363.4 kB / 0.9647 GB, free: 15.82 MB / 458.8 MB Notification: Performance of SimCode: time 1.723e-06/2.049, allocations: 0 / 0.9647 GB, free: 15.82 MB / 458.8 MB Notification: Performance of Templates: time 0.3008/2.35, allocations: 59.65 MB / 1.023 GB, free: 82.6 MB / 458.8 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Constraints/SphericalConstraint/SphericalConstraint.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches