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.001431/0.001431, allocations: 177.7 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.356/1.356, allocations: 205.3 MB / 214.4 MB, free: 1.664 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008216/0.0008218, allocations: 90.69 kB / 262.4 MB, free: 1.609 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.595e-05/1.597e-05, allocations: 4 kB / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08384/0.08388, allocations: 47.58 MB / 363.1 MB, free: 7.059 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3305/0.4145, allocations: 112.7 MB / 475.7 MB, free: 15.4 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002275/0.4147, allocations: 89.14 kB / 475.8 MB, free: 15.36 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4737/0.8884, allocations: 125.8 MB / 0.5876 GB, free: 90.73 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.8885, allocations: 3.938 kB / 0.5876 GB, free: 90.73 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005638/0.8891, allocations: 140 kB / 0.5877 GB, free: 90.72 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: 2401 * Number of variables: 2401 Notification: Performance of Generate backend data structure: time 0.02577/0.9148, allocations: 7.127 MB / 0.5947 GB, free: 87.46 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.9149, allocations: 10.12 kB / 0.5947 GB, free: 87.46 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01452/0.9294, allocations: 2.919 MB / 0.5975 GB, free: 86.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02095/0.9504, allocations: 8.188 MB / 0.6055 GB, free: 79.83 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003707/0.9508, allocations: 228 kB / 0.6057 GB, free: 79.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003413/0.9543, allocations: 427.8 kB / 0.6061 GB, free: 79.19 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01762/0.9719, allocations: 10.19 MB / 0.6161 GB, free: 69 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03223/1.004, allocations: 14.87 MB / 0.6306 GB, free: 52.78 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002744/1.004, allocations: 83.27 kB / 0.6307 GB, free: 52.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001266/1.006, allocations: 44 kB / 0.6307 GB, free: 52.66 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001909/1.008, allocations: 1.527 MB / 0.6322 GB, free: 51.13 MB / 410.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.3446/1.352, allocations: 74.62 MB / 0.7051 GB, free: 42.72 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006257/1.359, allocations: 4.559 MB / 0.7095 GB, free: 42.06 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004382/1.363, allocations: 3.308 MB / 0.7128 GB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001359/1.364, allocations: 1.336 MB / 0.7141 GB, free: 40.89 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.462e-05/1.364, allocations: 56.78 kB / 0.7141 GB, free: 40.86 MB / 410.7 MB Notification: Performance of pre-optimization done (n=273): time 6.332e-06/1.364, allocations: 0 / 0.7141 GB, free: 40.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=291): time 0.05056/1.415, allocations: 23.57 MB / 0.7372 GB, free: 36.14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.648e-05/1.415, allocations: 169.2 kB / 0.7373 GB, free: 35.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007414/1.423, allocations: 4.618 MB / 0.7418 GB, free: 34.33 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007414/1.423, allocations: 25.7 kB / 0.7418 GB, free: 34.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003014/1.426, allocations: 4.916 MB / 0.7466 GB, free: 30.49 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002303/1.429, allocations: 1.095 MB / 0.7477 GB, free: 29.69 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007752/1.429, allocations: 0 / 0.7477 GB, free: 29.69 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0006112/1.43, allocations: 0.7013 MB / 0.7484 GB, free: 29.21 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004312/1.434, allocations: 3.178 MB / 0.7515 GB, free: 28.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007568/1.442, allocations: 8.692 MB / 0.76 GB, free: 19.48 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007547/1.45, allocations: 5.178 MB / 0.765 GB, free: 17.85 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001733/1.45, allocations: 57.91 kB / 0.7651 GB, free: 17.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=1210) (initialization): time 0.02412/1.474, allocations: 12.67 MB / 0.7775 GB, free: 10.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002372/1.474, allocations: 92 kB / 0.7776 GB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01094/1.485, allocations: 5.726 MB / 0.7832 GB, free: 6.016 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006387/1.492, allocations: 2.136 MB / 0.7852 GB, free: 4.508 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00808/1.5, allocations: 2.198 MB / 0.7874 GB, free: 2.613 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01607/1.516, allocations: 13.79 MB / 0.8008 GB, free: 5.613 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008273/1.524, allocations: 420.6 kB / 0.8013 GB, free: 5.309 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002227/1.526, allocations: 0.5495 MB / 0.8018 GB, free: 4.77 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 902 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1156): * Single equations (assignments): 1142 * 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.003667/1.53, allocations: 0.6042 MB / 0.8024 GB, free: 4.164 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001739/1.532, allocations: 0.5014 MB / 0.8029 GB, free: 3.656 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01479/1.547, allocations: 6.404 MB / 0.8091 GB, free: 14.55 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0119/1.559, allocations: 5.548 MB / 0.8145 GB, free: 10.02 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01101/1.57, allocations: 5.395 MB / 0.8198 GB, free: 5.602 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001198/1.57, allocations: 19.62 kB / 0.8198 GB, free: 5.594 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0371/1.607, allocations: 16.49 MB / 0.8359 GB, free: 6.684 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.708e-05/1.607, allocations: 12.19 kB / 0.8359 GB, free: 6.672 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002786/1.61, allocations: 0.5343 MB / 0.8365 GB, free: 6.137 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005623/1.616, allocations: 1.787 MB / 0.8382 GB, free: 4.332 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005723/1.616, allocations: 35.92 kB / 0.8382 GB, free: 4.297 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01237/1.628, allocations: 9.453 MB / 0.8475 GB, free: 10.51 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001094/1.63, allocations: 1.415 MB / 0.8489 GB, free: 8.98 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2823/1.912, allocations: 11.12 MB / 0.8597 GB, free: 128.3 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001781/1.914, allocations: 0.5438 MB / 0.8602 GB, free: 128.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001166/1.915, allocations: 25.11 kB / 0.8603 GB, free: 128.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003122/1.918, allocations: 180.6 kB / 0.8604 GB, free: 128.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006949/1.919, allocations: 210.4 kB / 0.8606 GB, free: 128.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002784/1.919, allocations: 89.7 kB / 0.8607 GB, free: 128.2 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.007273/1.926, allocations: 3.1 MB / 0.8638 GB, free: 128 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.11e-07/1.926, allocations: 0 / 0.8638 GB, free: 128 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01162/1.938, allocations: 1.532 MB / 0.8653 GB, free: 128 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 46 * Number of states: 12 ($STATESET0.x[3],$STATESET0.x[2],$STATESET0.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 (246): * Single equations (assignments): 236 * 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.001269/1.939, allocations: 236.2 kB / 0.8655 GB, free: 127.9 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01673/1.956, allocations: 8.572 MB / 0.8739 GB, free: 127 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.404e-05/1.956, allocations: 0 / 0.8739 GB, free: 127 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005611/1.962, allocations: 3.369 MB / 0.8771 GB, free: 126.4 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004604/1.966, allocations: 0.6725 MB / 0.8778 GB, free: 126.4 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0266/1.993, allocations: 12.6 MB / 0.8901 GB, free: 123.6 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007263/2, allocations: 5.032 MB / 0.895 GB, free: 122.7 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.008398/2.009, allocations: 3.018 MB / 0.898 GB, free: 122.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001163/2.01, allocations: 362.4 kB / 0.8983 GB, free: 122.7 MB / 474.7 MB Notification: Performance of SimCode: time 6.51e-07/2.01, allocations: 0 / 0.8983 GB, free: 122.7 MB / 474.7 MB Notification: Performance of Templates: time 0.1003/2.11, allocations: 54 MB / 0.951 GB, free: 95.62 MB / 474.7 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/jenkins/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