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") [: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.0009775/0.0009775, allocations: 179.8 kB / 8.479 MB, free: 1.891 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.187/1.187, allocations: 205.2 MB / 214.1 MB, free: 5.098 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.001096/0.001096, allocations: 86.31 kB / 262.1 MB, free: 5.141 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.294e-06/7.313e-06, allocations: 3.938 kB / 315 MB, free: 41.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08081/0.08083, allocations: 47.57 MB / 362.5 MB, free: 9.973 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2782/0.3591, allocations: 112.4 MB / 474.9 MB, free: 12.69 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002249/0.3594, allocations: 88.08 kB / 475 MB, free: 12.65 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.4624/0.8218, allocations: 124.3 MB / 0.5852 GB, free: 75.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003738/0.8222, allocations: 155.2 kB / 0.5854 GB, free: 75.29 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.02238/0.8446, allocations: 7.003 MB / 0.5922 GB, free: 72.71 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.8447, allocations: 11.25 kB / 0.5922 GB, free: 72.71 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01305/0.8577, allocations: 2.46 MB / 0.5946 GB, free: 72.23 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02016/0.8779, allocations: 8.267 MB / 0.6027 GB, free: 71.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003645/0.8783, allocations: 228.9 kB / 0.6029 GB, free: 71.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002917/0.8813, allocations: 421.2 kB / 0.6033 GB, free: 71.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01719/0.8985, allocations: 10.49 MB / 0.6136 GB, free: 71.26 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03006/0.9286, allocations: 15.16 MB / 0.6284 GB, free: 64.51 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003423/0.929, allocations: 80.62 kB / 0.6284 GB, free: 64.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001449/0.9304, allocations: 41.41 kB / 0.6285 GB, free: 64.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002163/0.9326, allocations: 1.609 MB / 0.63 GB, free: 64.24 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07863/1.011, allocations: 75.89 MB / 0.7042 GB, free: 12.3 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005978/1.017, allocations: 4.427 MB / 0.7085 GB, free: 8.082 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005117/1.022, allocations: 3.645 MB / 0.712 GB, free: 4.723 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1432/1.166, allocations: 11.36 MB / 0.7231 GB, free: 123.3 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.899e-05/1.166, allocations: 62.83 kB / 0.7232 GB, free: 123.3 MB / 426.7 MB Notification: Performance of pre-optimization done (n=262): time 5.029e-06/1.166, allocations: 1.406 kB / 0.7232 GB, free: 123.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=287): time 0.04671/1.212, allocations: 23.7 MB / 0.7463 GB, free: 119.2 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.3e-05/1.213, allocations: 164.1 kB / 0.7465 GB, free: 119.1 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008003/1.221, allocations: 4.696 MB / 0.7511 GB, free: 118.7 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007082/1.221, allocations: 29.2 kB / 0.7511 GB, free: 118.6 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002264/1.224, allocations: 4.516 MB / 0.7555 GB, free: 116.1 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001556/1.225, allocations: 1.083 MB / 0.7566 GB, free: 115.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003614/1.225, allocations: 0 / 0.7566 GB, free: 115.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000419/1.226, allocations: 0.694 MB / 0.7573 GB, free: 115.1 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003864/1.23, allocations: 3.303 MB / 0.7605 GB, free: 115.1 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005817/1.236, allocations: 8.833 MB / 0.7691 GB, free: 107.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006471/1.242, allocations: 5.366 MB / 0.7743 GB, free: 106.7 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001147/1.242, allocations: 59.89 kB / 0.7744 GB, free: 106.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=1209) (initialization): time 0.02375/1.266, allocations: 12.68 MB / 0.7868 GB, free: 103 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/1.266, allocations: 9.281 kB / 0.7868 GB, free: 103 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01226/1.278, allocations: 5.763 MB / 0.7924 GB, free: 101.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006331/1.285, allocations: 1.973 MB / 0.7944 GB, free: 100.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00846/1.293, allocations: 2.172 MB / 0.7965 GB, free: 100.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01298/1.306, allocations: 13.32 MB / 0.8095 GB, free: 88.83 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008112/1.314, allocations: 330.2 kB / 0.8098 GB, free: 88.56 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002086/1.316, allocations: 0.5544 MB / 0.8103 GB, free: 88.02 MB / 426.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.002728/1.319, allocations: 0.5931 MB / 0.8109 GB, free: 87.42 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001384/1.321, allocations: 0.4975 MB / 0.8114 GB, free: 86.92 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01275/1.333, allocations: 6.441 MB / 0.8177 GB, free: 81.64 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009521/1.343, allocations: 5.535 MB / 0.8231 GB, free: 77.01 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.009731/1.353, allocations: 5.952 MB / 0.8289 GB, free: 71.98 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.004e-05/1.353, allocations: 14.16 kB / 0.8289 GB, free: 71.98 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03204/1.385, allocations: 16.37 MB / 0.8449 GB, free: 58.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.458e-05/1.385, allocations: 12 kB / 0.8449 GB, free: 58.78 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0026/1.387, allocations: 494.7 kB / 0.8454 GB, free: 58.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005187/1.393, allocations: 1.656 MB / 0.847 GB, free: 57.24 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004809/1.393, allocations: 38.55 kB / 0.847 GB, free: 57.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0104/1.404, allocations: 9.311 MB / 0.8561 GB, free: 48.76 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007608/1.404, allocations: 1.395 MB / 0.8575 GB, free: 47.29 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01753/1.422, allocations: 11.08 MB / 0.8683 GB, free: 36.83 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001675/1.424, allocations: 0.5375 MB / 0.8688 GB, free: 36.27 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001596/1.425, allocations: 19.98 kB / 0.8689 GB, free: 36.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003284/1.429, allocations: 119.7 kB / 0.869 GB, free: 36.13 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005187/1.429, allocations: 161.6 kB / 0.8691 GB, free: 35.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003501/1.429, allocations: 83.98 kB / 0.8692 GB, free: 35.89 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.006575/1.436, allocations: 3.172 MB / 0.8723 GB, free: 32.75 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01/1.446, allocations: 1.542 MB / 0.8738 GB, free: 31.22 MB / 426.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.001294/1.447, allocations: 236.5 kB / 0.874 GB, free: 31 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0144/1.462, allocations: 8.743 MB / 0.8826 GB, free: 22.19 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.151e-05/1.462, allocations: 4 kB / 0.8826 GB, free: 22.18 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1568/1.619, allocations: 3.328 MB / 0.8858 GB, free: 111.1 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004009/1.623, allocations: 0.6516 MB / 0.8865 GB, free: 111.1 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02456/1.647, allocations: 12.89 MB / 0.8991 GB, free: 108.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008708/1.656, allocations: 5.444 MB / 0.9044 GB, free: 107.6 MB / 426.7 MB Notification: Performance of SimCode: time 1.352e-06/1.656, allocations: 0 / 0.9044 GB, free: 107.6 MB / 426.7 MB Notification: Performance of Templates: time 0.1067/1.763, allocations: 62.76 MB / 0.9657 GB, free: 91.77 MB / 426.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