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") [: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 3.2.3+maint.om/package.mo): time 0.001682/0.001682, allocations: 178.3 kB / 8.152 MB, free: 2.207 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.689/1.689, allocations: 205.2 MB / 213.8 MB, free: 13.92 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.001249/0.001248, allocations: 95 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.097e-06/9.348e-06, allocations: 0 / 314.3 MB, free: 9.055 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.2408, allocations: 47.56 MB / 361.8 MB, free: 45.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1791/0.42, allocations: 112.4 MB / 474.2 MB, free: 5.664 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004445/0.4205, allocations: 87.94 kB / 474.3 MB, free: 5.578 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.8309/1.251, allocations: 124.3 MB / 0.5845 GB, free: 58.06 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0006584/1.252, allocations: 142.8 kB / 0.5847 GB, free: 57.92 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: 2401 * Number of variables: 2401 Notification: Performance of Generate backend data structure: time 0.04992/1.302, allocations: 7.015 MB / 0.5915 GB, free: 50.84 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.116e-05/1.302, allocations: 8.031 kB / 0.5915 GB, free: 50.84 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03128/1.333, allocations: 2.467 MB / 0.5939 GB, free: 48.36 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04232/1.376, allocations: 8.255 MB / 0.602 GB, free: 40.09 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006648/1.377, allocations: 235.9 kB / 0.6022 GB, free: 39.86 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004806/1.381, allocations: 427.8 kB / 0.6026 GB, free: 39.45 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03862/1.42, allocations: 10.49 MB / 0.6129 GB, free: 28.96 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05597/1.476, allocations: 15.17 MB / 0.6277 GB, free: 12.44 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006295/1.477, allocations: 83.22 kB / 0.6278 GB, free: 12.36 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004498/1.481, allocations: 40 kB / 0.6278 GB, free: 12.32 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005208/1.487, allocations: 1.605 MB / 0.6294 GB, free: 10.72 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3836/1.87, allocations: 75.88 MB / 0.7035 GB, free: 69.21 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00901/1.879, allocations: 4.422 MB / 0.7078 GB, free: 68.56 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007746/1.887, allocations: 3.654 MB / 0.7114 GB, free: 68.51 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03284/1.92, allocations: 11.34 MB / 0.7224 GB, free: 65.74 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.631e-05/1.92, allocations: 70.31 kB / 0.7225 GB, free: 65.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=262): time 8.005e-06/1.92, allocations: 0 / 0.7225 GB, free: 65.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=287): time 0.104/2.024, allocations: 23.69 MB / 0.7456 GB, free: 58.64 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.55e-05/2.024, allocations: 158.9 kB / 0.7458 GB, free: 58.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01317/2.037, allocations: 4.7 MB / 0.7504 GB, free: 56.81 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001032/2.039, allocations: 25.7 kB / 0.7504 GB, free: 56.78 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003775/2.042, allocations: 4.396 MB / 0.7547 GB, free: 53.32 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002256/2.045, allocations: 1.077 MB / 0.7557 GB, free: 52.54 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001526/2.046, allocations: 0 / 0.7557 GB, free: 52.54 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0009178/2.047, allocations: 0.7082 MB / 0.7564 GB, free: 52.05 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01052/2.058, allocations: 3.302 MB / 0.7597 GB, free: 50.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01504/2.073, allocations: 8.829 MB / 0.7683 GB, free: 42.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01356/2.087, allocations: 5.363 MB / 0.7735 GB, free: 40.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003749/2.087, allocations: 55.66 kB / 0.7736 GB, free: 40.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=1209) (initialization): time 0.04299/2.13, allocations: 12.53 MB / 0.7858 GB, free: 31.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/2.13, allocations: 8 kB / 0.7858 GB, free: 31.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02007/2.15, allocations: 5.767 MB / 0.7915 GB, free: 26.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01175/2.162, allocations: 1.973 MB / 0.7934 GB, free: 25.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01497/2.177, allocations: 2.16 MB / 0.7955 GB, free: 23.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02448/2.202, allocations: 13.79 MB / 0.809 GB, free: 10.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01017/2.212, allocations: 331.2 kB / 0.8093 GB, free: 9.934 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002607/2.214, allocations: 0.5535 MB / 0.8098 GB, free: 9.395 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 905 * 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 (1155): * Single equations (assignments): 1141 * 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.00379/2.218, allocations: 0.5261 MB / 0.8103 GB, free: 8.871 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001435/2.22, allocations: 0.4974 MB / 0.8108 GB, free: 8.367 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02302/2.243, allocations: 6.434 MB / 0.8171 GB, free: 3.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1841/2.427, allocations: 5.602 MB / 0.8226 GB, free: 99.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.02078/2.448, allocations: 5.952 MB / 0.8284 GB, free: 99.23 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.05e-05/2.448, allocations: 10.31 kB / 0.8284 GB, free: 99.23 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05878/2.507, allocations: 16.35 MB / 0.8444 GB, free: 98.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.286e-05/2.507, allocations: 9 kB / 0.8444 GB, free: 98.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005511/2.512, allocations: 0.4937 MB / 0.8449 GB, free: 98.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01071/2.523, allocations: 1.657 MB / 0.8465 GB, free: 98.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008323/2.524, allocations: 33.05 kB / 0.8465 GB, free: 98.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02053/2.545, allocations: 9.305 MB / 0.8556 GB, free: 94.61 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001161/2.546, allocations: 1.383 MB / 0.8569 GB, free: 93.32 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02789/2.574, allocations: 11.09 MB / 0.8678 GB, free: 90.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001824/2.576, allocations: 0.5432 MB / 0.8683 GB, free: 90.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002039/2.578, allocations: 26.33 kB / 0.8683 GB, free: 90.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005445/2.583, allocations: 116.9 kB / 0.8684 GB, free: 90.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009354/2.584, allocations: 160.5 kB / 0.8686 GB, free: 90.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000376/2.584, allocations: 91.09 kB / 0.8687 GB, free: 90.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.008245/2.593, allocations: 3.174 MB / 0.8718 GB, free: 90.04 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.01225/2.605, allocations: 1.525 MB / 0.8733 GB, free: 90.04 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * 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 (242): * Single equations (assignments): 232 * 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.00159/2.607, allocations: 243.2 kB / 0.8735 GB, free: 89.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.02308/2.63, allocations: 8.758 MB / 0.882 GB, free: 86.99 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.686e-05/2.63, allocations: 1.125 kB / 0.882 GB, free: 86.99 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01495/2.645, allocations: 3.341 MB / 0.8853 GB, free: 85.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0094/2.654, allocations: 0.6408 MB / 0.8859 GB, free: 85.32 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06126/2.716, allocations: 13.67 MB / 0.8993 GB, free: 80.29 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02204/2.738, allocations: 5.465 MB / 0.9046 GB, free: 76.28 MB / 410.7 MB Notification: Performance of SimCode: time 2.073e-06/2.738, allocations: 0 / 0.9046 GB, free: 76.28 MB / 410.7 MB Notification: Performance of Templates: time 0.781/3.519, allocations: 280.3 MB / 1.178 GB, free: 67.73 MB / 410.7 MB 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