Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_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_3.2.3_cpp_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.001515/0.001515, allocations: 187.1 kB / 16.41 MB, free: 5.723 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.892/1.892, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001157/0.001158, allocations: 99.22 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000572/0.000572, allocations: 8 kB / 327 MB, free: 188 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.3275, allocations: 47.56 MB / 374.5 MB, free: 45.25 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1842/0.5118, allocations: 113.2 MB / 487.7 MB, free: 15.38 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00034/0.5122, allocations: 95.95 kB / 487.8 MB, free: 15.28 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7502/1.262, allocations: 128.9 MB / 0.6023 GB, free: 3.484 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.386e-06/1.262, allocations: 0 / 0.6023 GB, free: 3.484 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004562/1.263, allocations: 151.9 kB / 0.6024 GB, free: 3.336 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.03768/1.301, allocations: 7.567 MB / 0.6098 GB, free: 11.68 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.725e-05/1.301, allocations: 12.03 kB / 0.6098 GB, free: 11.67 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02404/1.325, allocations: 2.919 MB / 0.6127 GB, free: 8.738 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03079/1.356, allocations: 8.23 MB / 0.6207 GB, free: 432 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008488/1.357, allocations: 0.5257 MB / 0.6212 GB, free: 15.89 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004178/1.361, allocations: 0.7144 MB / 0.6219 GB, free: 15.18 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05975/1.421, allocations: 17.59 MB / 0.6391 GB, free: 12.23 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004396/1.421, allocations: 79.28 kB / 0.6392 GB, free: 12.15 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003027/1.424, allocations: 343.8 kB / 0.6395 GB, free: 11.81 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004098/1.428, allocations: 1.531 MB / 0.641 GB, free: 10.28 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3706/1.799, allocations: 14.78 MB / 0.6554 GB, free: 61.39 MB / 426.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.1211/1.92, allocations: 75.26 MB / 0.7289 GB, free: 21.48 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03652/1.957, allocations: 7.49 MB / 0.7362 GB, free: 19.43 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03881/1.995, allocations: 16.5 MB / 0.7523 GB, free: 11.1 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.439e-05/1.996, allocations: 60 kB / 0.7524 GB, free: 11.04 MB / 426.7 MB Notification: Performance of pre-optimization done (n=262): time 6.702e-06/1.996, allocations: 0 / 0.7524 GB, free: 11.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=278): time 0.1335/2.129, allocations: 28.44 MB / 0.7802 GB, free: 12.92 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00183/2.131, allocations: 1.619 MB / 0.7817 GB, free: 11.2 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01512/2.146, allocations: 5.237 MB / 0.7869 GB, free: 6.777 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000837/2.147, allocations: 65.7 kB / 0.7869 GB, free: 6.707 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005631/2.153, allocations: 4.713 MB / 0.7915 GB, free: 2.441 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002315/2.155, allocations: 1.083 MB / 0.7926 GB, free: 1.492 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001832/2.157, allocations: 176 kB / 0.7927 GB, free: 1.32 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.001103/2.158, allocations: 0.6892 MB / 0.7934 GB, free: 0.7266 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02375/2.182, allocations: 4.138 MB / 0.7975 GB, free: 0 / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01584/2.198, allocations: 8.731 MB / 0.806 GB, free: 5.465 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01447/2.212, allocations: 5.235 MB / 0.8111 GB, free: 0.8203 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002163/2.213, allocations: 59.19 kB / 0.8112 GB, free: 0.7656 MB / 458.7 MB Notification: Performance of matching and sorting (n=1173) (initialization): time 0.05085/2.263, allocations: 13.8 MB / 0.8246 GB, free: 5.445 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001789/2.264, allocations: 88 kB / 0.8247 GB, free: 5.359 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.3568/2.621, allocations: 5.752 MB / 0.8303 GB, free: 98.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01114/2.632, allocations: 2.102 MB / 0.8324 GB, free: 98.64 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01354/2.645, allocations: 2.128 MB / 0.8345 GB, free: 98.64 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02363/2.669, allocations: 14.35 MB / 0.8485 GB, free: 91.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01087/2.68, allocations: 0.5741 MB / 0.849 GB, free: 91.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002657/2.683, allocations: 0.5345 MB / 0.8496 GB, free: 91.1 MB / 474.7 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.009639/2.692, allocations: 3.246 MB / 0.8527 GB, free: 90.98 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001878/2.694, allocations: 0.5227 MB / 0.8532 GB, free: 90.98 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02286/2.717, allocations: 6.502 MB / 0.8596 GB, free: 90.48 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01922/2.736, allocations: 5.581 MB / 0.865 GB, free: 90.03 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01994/2.756, allocations: 5.972 MB / 0.8709 GB, free: 89.55 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.643e-05/2.757, allocations: 11.39 kB / 0.8709 GB, free: 89.55 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05384/2.81, allocations: 17.4 MB / 0.8879 GB, free: 87.96 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.076e-05/2.81, allocations: 9.719 kB / 0.8879 GB, free: 87.96 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004898/2.815, allocations: 0.5127 MB / 0.8884 GB, free: 87.95 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009889/2.825, allocations: 1.797 MB / 0.8902 GB, free: 87.64 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008315/2.826, allocations: 66.55 kB / 0.8902 GB, free: 87.61 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01967/2.846, allocations: 9.967 MB / 0.8999 GB, free: 81.88 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001291/2.847, allocations: 1.476 MB / 0.9014 GB, free: 80.47 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02757/2.875, allocations: 10.94 MB / 0.9121 GB, free: 75.15 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001964/2.877, allocations: 0.5761 MB / 0.9126 GB, free: 74.94 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002156/2.879, allocations: 68.06 kB / 0.9127 GB, free: 74.91 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005525/2.885, allocations: 218.5 kB / 0.9129 GB, free: 74.87 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001249/2.886, allocations: 192.2 kB / 0.9131 GB, free: 74.84 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004315/2.886, allocations: 89.78 kB / 0.9132 GB, free: 74.82 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01014/2.897, allocations: 3.657 MB / 0.9167 GB, free: 73.59 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.903e-06/2.897, allocations: 0 / 0.9167 GB, free: 73.59 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01175/2.908, allocations: 1.711 MB / 0.9184 GB, free: 73.41 MB / 474.7 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.001664/2.91, allocations: 274.9 kB / 0.9187 GB, free: 73.29 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02279/2.933, allocations: 8.953 MB / 0.9274 GB, free: 69.27 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.601e-05/2.933, allocations: 3.938 kB / 0.9274 GB, free: 69.27 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01013/2.943, allocations: 3.39 MB / 0.9307 GB, free: 66.27 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007031/2.95, allocations: 0.7907 MB / 0.9315 GB, free: 65.64 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04502/2.995, allocations: 18.78 MB / 0.9498 GB, free: 48.79 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01324/3.009, allocations: 5.026 MB / 0.9548 GB, free: 45.08 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002583/3.011, allocations: 434.1 kB / 0.9552 GB, free: 44.68 MB / 474.7 MB Notification: Performance of SimCode: time 1.533e-06/3.011, allocations: 0 / 0.9552 GB, free: 44.68 MB / 474.7 MB Notification: Performance of Templates: time 1.146/4.157, allocations: 279.9 MB / 1.228 GB, free: 121.7 MB / 0.4948 GB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches