Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_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 trunk/package.mo): time 0.001319/0.001319, allocations: 195.6 kB / 8.535 MB, free: 1.836 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.237/1.237, allocations: 225.5 MB / 234.4 MB, free: 3.332 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009487/0.0009487, allocations: 95.48 kB / 286.3 MB, free: 5.266 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 8.827e-06/9.057e-06, allocations: 4 kB / 343.1 MB, free: 8.672 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0871/0.08712, allocations: 51.48 MB / 394.6 MB, free: 5.148 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2733/0.3605, allocations: 114.1 MB / 0.4968 GB, free: 11.48 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002432/0.3608, allocations: 90.19 kB / 0.4969 GB, free: 11.43 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.4587/0.8194, allocations: 128.8 MB / 0.6226 GB, free: 75.23 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005197/0.82, allocations: 151.8 kB / 0.6228 GB, free: 75.21 MB / 442.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.02543/0.8455, allocations: 7.018 MB / 0.6296 GB, free: 72.62 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.8455, allocations: 7.875 kB / 0.6296 GB, free: 72.62 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01356/0.8591, allocations: 2.494 MB / 0.6321 GB, free: 72.13 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01871/0.8779, allocations: 7.093 MB / 0.639 GB, free: 69.55 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006301/0.8785, allocations: 230.3 kB / 0.6392 GB, free: 69.55 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003963/0.8825, allocations: 419.7 kB / 0.6396 GB, free: 69.54 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02215/0.9047, allocations: 10.28 MB / 0.6497 GB, free: 65.91 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03325/0.938, allocations: 14.91 MB / 0.6642 GB, free: 58.15 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006163/0.9386, allocations: 78.53 kB / 0.6643 GB, free: 58.11 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003737/0.9424, allocations: 39.12 kB / 0.6643 GB, free: 58.11 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002674/0.9451, allocations: 1.567 MB / 0.6659 GB, free: 57.83 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08545/1.031, allocations: 75.1 MB / 0.7392 GB, free: 10.89 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006099/1.037, allocations: 4.384 MB / 0.7435 GB, free: 6.371 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0051/1.042, allocations: 3.614 MB / 0.747 GB, free: 2.746 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1738/1.216, allocations: 11.18 MB / 0.7579 GB, free: 137.1 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.431e-05/1.216, allocations: 61.81 kB / 0.758 GB, free: 137.1 MB / 458.7 MB Notification: Performance of pre-optimization done (n=253): time 8.145e-06/1.216, allocations: 0 / 0.758 GB, free: 137.1 MB / 458.7 MB Notification: Performance of matching and sorting (n=278): time 0.0575/1.273, allocations: 23.33 MB / 0.7808 GB, free: 133 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.581e-05/1.273, allocations: 159.1 kB / 0.7809 GB, free: 132.8 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01125/1.285, allocations: 4.593 MB / 0.7854 GB, free: 132.3 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008245/1.286, allocations: 30.05 kB / 0.7854 GB, free: 132.3 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00311/1.289, allocations: 4.427 MB / 0.7898 GB, free: 129.1 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001937/1.291, allocations: 1.052 MB / 0.7908 GB, free: 128.3 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0012/1.292, allocations: 0 / 0.7908 GB, free: 128.3 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0009053/1.293, allocations: 0.6927 MB / 0.7915 GB, free: 127.9 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005329/1.298, allocations: 3.241 MB / 0.7946 GB, free: 126.7 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007961/1.306, allocations: 8.681 MB / 0.8031 GB, free: 118.3 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007776/1.314, allocations: 5.272 MB / 0.8083 GB, free: 116.7 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003073/1.314, allocations: 57.56 kB / 0.8083 GB, free: 116.7 MB / 458.7 MB Notification: Performance of matching and sorting (n=1184) (initialization): time 0.02825/1.342, allocations: 12.48 MB / 0.8205 GB, free: 112.7 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/1.343, allocations: 5.875 kB / 0.8205 GB, free: 112.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0121/1.355, allocations: 5.685 MB / 0.8261 GB, free: 110.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006691/1.361, allocations: 1.967 MB / 0.828 GB, free: 110.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008007/1.369, allocations: 2.118 MB / 0.83 GB, free: 110.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01341/1.383, allocations: 13.32 MB / 0.843 GB, free: 101 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008573/1.392, allocations: 333 kB / 0.8434 GB, free: 100.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002418/1.394, allocations: 0.5419 MB / 0.8439 GB, free: 100.9 MB / 458.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.003674/1.398, allocations: 0.5894 MB / 0.8445 GB, free: 100.4 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001461/1.399, allocations: 0.4932 MB / 0.845 GB, free: 100.1 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01393/1.413, allocations: 6.326 MB / 0.8511 GB, free: 97.63 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01026/1.423, allocations: 5.456 MB / 0.8565 GB, free: 93.07 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01014/1.434, allocations: 5.875 MB / 0.8622 GB, free: 88.11 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-05/1.434, allocations: 14.67 kB / 0.8622 GB, free: 88.11 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03284/1.467, allocations: 15.56 MB / 0.8774 GB, free: 75.65 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.097e-05/1.467, allocations: 8 kB / 0.8774 GB, free: 75.64 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002557/1.469, allocations: 476 kB / 0.8779 GB, free: 75.26 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005086/1.474, allocations: 1.656 MB / 0.8795 GB, free: 74.12 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000473/1.475, allocations: 30.66 kB / 0.8795 GB, free: 74.09 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009758/1.485, allocations: 9.306 MB / 0.8886 GB, free: 65.65 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006637/1.485, allocations: 1.376 MB / 0.8899 GB, free: 64.2 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01364/1.499, allocations: 10.49 MB / 0.9002 GB, free: 54.71 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00144/1.5, allocations: 0.5264 MB / 0.9007 GB, free: 54.18 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001047/1.501, allocations: 15.09 kB / 0.9007 GB, free: 54.16 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002315/1.504, allocations: 107.3 kB / 0.9008 GB, free: 54.1 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003357/1.504, allocations: 148.8 kB / 0.901 GB, free: 54.01 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002216/1.504, allocations: 89.2 kB / 0.901 GB, free: 53.93 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.004432/1.509, allocations: 3.094 MB / 0.9041 GB, free: 51.25 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008301/1.517, allocations: 1.524 MB / 0.9056 GB, free: 49.75 MB / 458.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.001056/1.518, allocations: 257.3 kB / 0.9058 GB, free: 49.53 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01298/1.531, allocations: 8.612 MB / 0.9142 GB, free: 41.64 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.728e-06/1.531, allocations: 0 / 0.9142 GB, free: 41.64 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005/1.536, allocations: 3.271 MB / 0.9174 GB, free: 38.41 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003888/1.54, allocations: 0.653 MB / 0.918 GB, free: 37.79 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02313/1.563, allocations: 12.57 MB / 0.9303 GB, free: 25.05 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006652/1.57, allocations: 5.338 MB / 0.9355 GB, free: 19.71 MB / 458.7 MB Notification: Performance of SimCode: time 1.413e-06/1.57, allocations: 4 kB / 0.9355 GB, free: 19.71 MB / 458.7 MB Notification: Performance of Templates: time 0.2747/1.845, allocations: 61.83 MB / 0.9959 GB, free: 112.5 MB / 458.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches