Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.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.UniversalConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.body.w_a.1.|bodyOfConstraint.body.w_a.2.|bodyOfConstraint.body.w_a.3.|joint.phi_a|joint.phi_b|joint.w_a|joint.w_b",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.body.w_a.1.|bodyOfConstraint.body.w_a.2.|bodyOfConstraint.body.w_a.3.|joint.phi_a|joint.phi_b|joint.w_a|joint.w_b",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint") [: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.00145/0.00145, allocations: 179.1 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.139/1.139, allocations: 205.2 MB / 214.1 MB, free: 5.445 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.0008297/0.0008298, allocations: 82.31 kB / 262.1 MB, free: 5.5 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.462e-06/6.492e-06, allocations: 4 kB / 315 MB, free: 41.54 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07561/0.07563, allocations: 47.57 MB / 362.5 MB, free: 10.01 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2749/0.3506, allocations: 113.4 MB / 475.9 MB, free: 11.78 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002269/0.3509, allocations: 89.02 kB / 476 MB, free: 11.73 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.4816/0.8324, allocations: 136.3 MB / 0.598 GB, free: 71.95 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003972/0.8329, allocations: 164.1 kB / 0.5981 GB, free: 71.94 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: 2676 * Number of variables: 2676 Notification: Performance of Generate backend data structure: time 0.02593/0.8588, allocations: 7.843 MB / 0.6058 GB, free: 69.06 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.8589, allocations: 10.97 kB / 0.6058 GB, free: 69.06 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01296/0.8719, allocations: 2.457 MB / 0.6082 GB, free: 68.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01888/0.8908, allocations: 8.138 MB / 0.6161 GB, free: 67.53 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004202/0.8912, allocations: 258.2 kB / 0.6164 GB, free: 67.53 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003401/0.8946, allocations: 471.9 kB / 0.6168 GB, free: 67.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02167/0.9163, allocations: 11.87 MB / 0.6284 GB, free: 66.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03469/0.951, allocations: 16.82 MB / 0.6448 GB, free: 54.67 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003141/0.9514, allocations: 94.84 kB / 0.6449 GB, free: 54.58 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001756/0.9532, allocations: 40 kB / 0.645 GB, free: 54.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002186/0.9553, allocations: 1.81 MB / 0.6467 GB, free: 53.06 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2366/1.192, allocations: 81.62 MB / 0.7264 GB, free: 82.59 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006485/1.199, allocations: 5.777 MB / 0.7321 GB, free: 81.94 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005041/1.204, allocations: 4.877 MB / 0.7369 GB, free: 81.89 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02038/1.224, allocations: 14.13 MB / 0.7507 GB, free: 78.95 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.642e-05/1.224, allocations: 67.84 kB / 0.7507 GB, free: 78.91 MB / 426.7 MB Notification: Performance of pre-optimization done (n=322): time 7.023e-06/1.224, allocations: 2.344 kB / 0.7507 GB, free: 78.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=392): time 0.0858/1.31, allocations: 40 MB / 0.7898 GB, free: 68.87 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.104e-05/1.31, allocations: 169 kB / 0.7899 GB, free: 68.71 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006999/1.317, allocations: 4.777 MB / 0.7946 GB, free: 67.02 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001028/1.318, allocations: 25.7 kB / 0.7946 GB, free: 66.99 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002176/1.32, allocations: 4.762 MB / 0.7993 GB, free: 63.45 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001828/1.322, allocations: 1.407 MB / 0.8007 GB, free: 62.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005299/1.323, allocations: 0 / 0.8007 GB, free: 62.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004131/1.323, allocations: 0.7321 MB / 0.8014 GB, free: 61.92 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00517/1.328, allocations: 4.421 MB / 0.8057 GB, free: 59.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007652/1.336, allocations: 9.947 MB / 0.8154 GB, free: 47.69 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008347/1.344, allocations: 6.597 MB / 0.8218 GB, free: 42.42 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.895e-05/1.344, allocations: 56 kB / 0.8219 GB, free: 42.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=1302) (initialization): time 0.03311/1.377, allocations: 16.6 MB / 0.8381 GB, free: 29.11 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/1.378, allocations: 4 kB / 0.8381 GB, free: 29.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000225/1.378, allocations: 196 kB / 0.8383 GB, free: 28.92 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01149/1.389, allocations: 3.543 MB / 0.8418 GB, free: 26.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009095/1.398, allocations: 2.293 MB / 0.844 GB, free: 24.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0276/1.426, allocations: 24.87 MB / 0.8683 GB, free: 1.859 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009238/1.435, allocations: 370.4 kB / 0.8686 GB, free: 1.566 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002254/1.438, allocations: 0.606 MB / 0.8692 GB, free: 1.004 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 896 * Number of states: 0 () * Number of discrete variables: 66 (freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],fixedTranslationOfConstraint.color[3],fixedTranslationOfConstraint.color[2],fixedTranslationOfConstraint.color[1],fixedTranslationOfJoint.color[3],fixedTranslationOfJoint.color[2],fixedTranslationOfJoint.color[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.cylinderColor[3],joint.cylinderColor[2],joint.cylinderColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1208): * Single equations (assignments): 1193 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(3,100.0%) 19,(1,100.0%) 6,(4,75.0%) 22,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.001778/1.439, allocations: 0.6023 MB / 0.8698 GB, free: 408 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001234/1.441, allocations: 0.5401 MB / 0.8703 GB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02085/1.461, allocations: 10.25 MB / 0.8804 GB, free: 7.457 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.174/1.635, allocations: 8.898 MB / 0.889 GB, free: 121.5 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01765/1.653, allocations: 9.338 MB / 0.8982 GB, free: 121 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.191e-05/1.653, allocations: 18.14 kB / 0.8982 GB, free: 121 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0438/1.697, allocations: 23.54 MB / 0.9212 GB, free: 119.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.18e-05/1.697, allocations: 8.906 kB / 0.9212 GB, free: 119.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003949/1.701, allocations: 0.6097 MB / 0.9218 GB, free: 119.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009298/1.71, allocations: 2.81 MB / 0.9245 GB, free: 119.7 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008641/1.711, allocations: 25.89 kB / 0.9245 GB, free: 119.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02457/1.736, allocations: 19.07 MB / 0.9432 GB, free: 110.6 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00574/1.742, allocations: 5.198 MB / 0.9482 GB, free: 107 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02425/1.766, allocations: 15.77 MB / 0.9636 GB, free: 100.7 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004602/1.771, allocations: 1.23 MB / 0.9648 GB, free: 100.3 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001743/1.772, allocations: 18 kB / 0.9649 GB, free: 100.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003547/1.776, allocations: 133.6 kB / 0.965 GB, free: 100.3 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005372/1.777, allocations: 198 kB / 0.9652 GB, free: 100.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003531/1.777, allocations: 104.2 kB / 0.9653 GB, free: 100.2 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.004876/1.782, allocations: 3.229 MB / 0.9684 GB, free: 99.11 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0103/1.792, allocations: 1.863 MB / 0.9702 GB, free: 99.11 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 8 ($STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[2],$STATESET1.x[1],joint.phi_a,joint.phi_b,joint.w_a,joint.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (304): * Single equations (assignments): 296 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(4,75.0%) 19,(3,100.0%) 16,(3,100.0%) 7} * Non-linear torn systems: 1 {3 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.001072/1.793, allocations: 234.8 kB / 0.9705 GB, free: 99.01 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01535/1.809, allocations: 11.28 MB / 0.9815 GB, free: 92.71 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/1.809, allocations: 0 / 0.9815 GB, free: 92.71 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00658/1.815, allocations: 4.549 MB / 0.9859 GB, free: 88.66 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003907/1.819, allocations: 0.6525 MB / 0.9866 GB, free: 88.13 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02817/1.847, allocations: 15.22 MB / 1.001 GB, free: 74.52 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008289/1.856, allocations: 6.047 MB / 1.007 GB, free: 70 MB / 442.7 MB Notification: Performance of SimCode: time 2.064e-06/1.856, allocations: 0 / 1.007 GB, free: 70 MB / 442.7 MB Notification: Performance of Templates: time 0.2682/2.124, allocations: 86.52 MB / 1.092 GB, free: 113.2 MB / 442.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Constraints/UniversalConstraint/UniversalConstraint.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches