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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001557/0.001557, allocations: 187.4 kB / 8.141 MB, free: 2.188 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.2/1.2, allocations: 221.4 MB / 229.9 MB, free: 3.113 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.000872/0.0008719, allocations: 96.45 kB / 280.8 MB, free: 1.266 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.045e-06/8.215e-06, allocations: 0 / 336.5 MB, free: 9.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1879/0.1879, allocations: 50.4 MB / 386.9 MB, free: 38.03 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1208/0.3087, allocations: 113.7 MB / 0.4889 GB, free: 4.98 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00033/0.3091, allocations: 91.89 kB / 0.489 GB, free: 4.891 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.4423/0.7514, allocations: 123.6 MB / 0.6097 GB, free: 14.7 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0005793/0.7521, allocations: 144 kB / 0.6098 GB, free: 14.56 MB / 394.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.02551/0.7776, allocations: 6.919 MB / 0.6166 GB, free: 7.566 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.7776, allocations: 8.031 kB / 0.6166 GB, free: 7.559 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01356/0.7912, allocations: 2.44 MB / 0.619 GB, free: 5.105 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02252/0.8138, allocations: 7.883 MB / 0.6267 GB, free: 13.14 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004067/0.8142, allocations: 228 kB / 0.6269 GB, free: 12.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003062/0.8173, allocations: 419.8 kB / 0.6273 GB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0214/0.8387, allocations: 10.28 MB / 0.6373 GB, free: 2.219 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03601/0.8748, allocations: 14.9 MB / 0.6519 GB, free: 1.961 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004196/0.8752, allocations: 87.27 kB / 0.652 GB, free: 1.875 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002549/0.8778, allocations: 40 kB / 0.652 GB, free: 1.836 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002554/0.8804, allocations: 1.569 MB / 0.6535 GB, free: 272 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2116/1.092, allocations: 75.09 MB / 0.7269 GB, free: 56.98 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005126/1.097, allocations: 4.388 MB / 0.7312 GB, free: 56.32 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00381/1.101, allocations: 3.608 MB / 0.7347 GB, free: 56.29 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01588/1.117, allocations: 11.2 MB / 0.7456 GB, free: 51.28 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.071e-05/1.117, allocations: 58.03 kB / 0.7457 GB, free: 51.23 MB / 426.7 MB Notification: Performance of pre-optimization done (n=253): time 5.631e-06/1.117, allocations: 0 / 0.7457 GB, free: 51.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=278): time 0.05351/1.171, allocations: 23.32 MB / 0.7684 GB, free: 42.38 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/1.171, allocations: 155.9 kB / 0.7686 GB, free: 42.22 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006334/1.177, allocations: 4.599 MB / 0.7731 GB, free: 40.54 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000543/1.178, allocations: 25.7 kB / 0.7731 GB, free: 40.51 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001838/1.179, allocations: 4.427 MB / 0.7774 GB, free: 37.12 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001283/1.181, allocations: 1.048 MB / 0.7785 GB, free: 36.34 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000371/1.181, allocations: 0 / 0.7785 GB, free: 36.34 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003495/1.181, allocations: 0.6912 MB / 0.7791 GB, free: 35.88 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003684/1.185, allocations: 3.246 MB / 0.7823 GB, free: 34.75 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005426/1.191, allocations: 8.68 MB / 0.7908 GB, free: 26.27 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006302/1.197, allocations: 5.27 MB / 0.7959 GB, free: 22.88 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001001/1.197, allocations: 60 kB / 0.796 GB, free: 22.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=1184) (initialization): time 0.02411/1.221, allocations: 12.49 MB / 0.8082 GB, free: 12.22 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/1.221, allocations: 11.38 kB / 0.8082 GB, free: 12.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009708/1.231, allocations: 5.675 MB / 0.8137 GB, free: 7.453 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006232/1.237, allocations: 1.966 MB / 0.8157 GB, free: 6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007257/1.244, allocations: 2.12 MB / 0.8177 GB, free: 4.152 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1469/1.391, allocations: 13.32 MB / 0.8307 GB, free: 83.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00743/1.399, allocations: 325.3 kB / 0.831 GB, free: 83.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001782/1.401, allocations: 0.54 MB / 0.8316 GB, free: 83.79 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 889 * 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 (1130): * Single equations (assignments): 1116 * 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.001579/1.402, allocations: 0.5951 MB / 0.8321 GB, free: 83.68 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001034/1.403, allocations: 0.4948 MB / 0.8326 GB, free: 83.68 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01111/1.414, allocations: 6.324 MB / 0.8388 GB, free: 83.21 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009316/1.424, allocations: 5.459 MB / 0.8441 GB, free: 82.79 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.009703/1.433, allocations: 5.872 MB / 0.8499 GB, free: 82.33 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.354e-05/1.433, allocations: 15.19 kB / 0.8499 GB, free: 82.33 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02736/1.461, allocations: 15.54 MB / 0.8651 GB, free: 81.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.99e-05/1.461, allocations: 9.344 kB / 0.8651 GB, free: 81.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002581/1.463, allocations: 472.6 kB / 0.8655 GB, free: 81.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0053/1.469, allocations: 1.652 MB / 0.8671 GB, free: 81.48 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005347/1.469, allocations: 33.12 kB / 0.8672 GB, free: 81.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01033/1.48, allocations: 9.31 MB / 0.8763 GB, free: 77.88 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006772/1.48, allocations: 1.379 MB / 0.8776 GB, free: 76.59 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01425/1.495, allocations: 10.49 MB / 0.8879 GB, free: 74.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001479/1.496, allocations: 0.5212 MB / 0.8884 GB, free: 74.59 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001022/1.497, allocations: 25.2 kB / 0.8884 GB, free: 74.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002287/1.499, allocations: 108.6 kB / 0.8885 GB, free: 74.58 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003874/1.5, allocations: 147.7 kB / 0.8886 GB, free: 74.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002643/1.5, allocations: 79.73 kB / 0.8887 GB, free: 74.55 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.006372/1.507, allocations: 3.098 MB / 0.8917 GB, free: 73.46 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.008666/1.515, allocations: 1.517 MB / 0.8932 GB, free: 73.46 MB / 426.7 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 (232): * Single equations (assignments): 222 * 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.0009043/1.516, allocations: 235.5 kB / 0.8934 GB, free: 73.37 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01299/1.529, allocations: 8.614 MB / 0.9019 GB, free: 70.46 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.214e-05/1.529, allocations: 3.5 kB / 0.9019 GB, free: 70.46 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005225/1.534, allocations: 3.261 MB / 0.905 GB, free: 69.03 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005783/1.54, allocations: 0.6582 MB / 0.9057 GB, free: 68.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02891/1.569, allocations: 12.57 MB / 0.918 GB, free: 63.05 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008183/1.577, allocations: 5.342 MB / 0.9232 GB, free: 59.05 MB / 426.7 MB Notification: Performance of SimCode: time 1.092e-06/1.577, allocations: 0 / 0.9232 GB, free: 59.05 MB / 426.7 MB Notification: Performance of Templates: time 0.2811/1.859, allocations: 61.68 MB / 0.9834 GB, free: 77.41 MB / 426.7 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