Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.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.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_trunk_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_trunk_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 trunk/package.mo): time 0.001224/0.001224, allocations: 190.8 kB / 8.533 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.268/1.268, allocations: 225.5 MB / 234.4 MB, free: 3.426 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001328/0.001328, allocations: 89.7 kB / 286.3 MB, free: 5.25 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.921e-06/6.082e-06, allocations: 0 / 343.1 MB, free: 8.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08634/0.08636, allocations: 51.47 MB / 394.6 MB, free: 5.211 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.283/0.3694, allocations: 115.1 MB / 0.4978 GB, free: 10.54 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001957/0.3697, allocations: 87.02 kB / 0.4979 GB, free: 10.49 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.5124/0.8821, allocations: 139.5 MB / 0.6341 GB, free: 48.33 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005463/0.8827, allocations: 160.3 kB / 0.6343 GB, free: 48.32 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: 2627 * Number of variables: 2627 Notification: Performance of Generate backend data structure: time 0.02988/0.9126, allocations: 7.902 MB / 0.642 GB, free: 45.48 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.9126, allocations: 8.531 kB / 0.642 GB, free: 45.48 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01456/0.9272, allocations: 2.426 MB / 0.6444 GB, free: 44.95 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02363/0.9508, allocations: 7.089 MB / 0.6513 GB, free: 43.77 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005821/0.9515, allocations: 257.1 kB / 0.6515 GB, free: 43.76 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003856/0.9553, allocations: 467.6 kB / 0.652 GB, free: 43.75 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02534/0.9807, allocations: 11.66 MB / 0.6634 GB, free: 40.05 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03614/1.017, allocations: 16.56 MB / 0.6795 GB, free: 31.7 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005065/1.017, allocations: 86.97 kB / 0.6796 GB, free: 31.65 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002948/1.02, allocations: 38.84 kB / 0.6797 GB, free: 31.65 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002415/1.023, allocations: 1.781 MB / 0.6814 GB, free: 31.32 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2777/1.301, allocations: 80.85 MB / 0.7604 GB, free: 96.67 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006767/1.307, allocations: 5.731 MB / 0.766 GB, free: 96.02 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005757/1.313, allocations: 4.847 MB / 0.7707 GB, free: 95.97 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02318/1.336, allocations: 13.96 MB / 0.7843 GB, free: 93.06 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.233e-05/1.336, allocations: 67.56 kB / 0.7844 GB, free: 93.02 MB / 474.7 MB Notification: Performance of pre-optimization done (n=313): time 7.244e-06/1.336, allocations: 0 / 0.7844 GB, free: 93.02 MB / 474.7 MB Notification: Performance of matching and sorting (n=383): time 0.09573/1.432, allocations: 39.58 MB / 0.823 GB, free: 83.22 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.682e-05/1.432, allocations: 166.7 kB / 0.8232 GB, free: 83.06 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007601/1.44, allocations: 4.671 MB / 0.8278 GB, free: 81.29 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00109/1.441, allocations: 25.7 kB / 0.8278 GB, free: 81.26 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002664/1.444, allocations: 4.676 MB / 0.8323 GB, free: 77.69 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002204/1.446, allocations: 1.376 MB / 0.8337 GB, free: 76.66 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009144/1.447, allocations: 0 / 0.8337 GB, free: 76.66 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005093/1.447, allocations: 0.7186 MB / 0.8344 GB, free: 76.18 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006368/1.454, allocations: 4.37 MB / 0.8387 GB, free: 74.6 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00854/1.462, allocations: 9.783 MB / 0.8482 GB, free: 65.73 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008943/1.471, allocations: 6.505 MB / 0.8546 GB, free: 63.68 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001649/1.471, allocations: 58.22 kB / 0.8546 GB, free: 63.68 MB / 474.7 MB Notification: Performance of matching and sorting (n=1277) (initialization): time 0.04217/1.514, allocations: 16.41 MB / 0.8706 GB, free: 57.68 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/1.514, allocations: 8.188 kB / 0.8707 GB, free: 57.68 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005566/1.514, allocations: 196 kB / 0.8708 GB, free: 57.48 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02274/1.537, allocations: 3.543 MB / 0.8743 GB, free: 55 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01727/1.554, allocations: 2.247 MB / 0.8765 GB, free: 53.07 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03459/1.589, allocations: 24.87 MB / 0.9008 GB, free: 30.43 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01052/1.6, allocations: 355.5 kB / 0.9011 GB, free: 30.16 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00289/1.603, allocations: 0.6005 MB / 0.9017 GB, free: 29.6 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 880 * Number of states: 0 () * Number of discrete variables: 68 (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.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.cylinderColor[3],joint.cylinderColor[2],joint.cylinderColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1183): * Single equations (assignments): 1168 * 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.004028/1.607, allocations: 0.6007 MB / 0.9023 GB, free: 28.99 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002172/1.609, allocations: 0.5283 MB / 0.9028 GB, free: 28.45 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0261/1.635, allocations: 10.13 MB / 0.9127 GB, free: 20.29 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0197/1.655, allocations: 8.807 MB / 0.9213 GB, free: 13 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01955/1.674, allocations: 9.25 MB / 0.9303 GB, free: 5.305 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001412/1.674, allocations: 17.34 kB / 0.9303 GB, free: 5.305 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.254/1.928, allocations: 23.19 MB / 0.953 GB, free: 121 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.555e-05/1.929, allocations: 7.375 kB / 0.953 GB, free: 121 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003785/1.932, allocations: 0.5859 MB / 0.9536 GB, free: 121 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009359/1.942, allocations: 2.802 MB / 0.9563 GB, free: 121 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008315/1.943, allocations: 20.06 kB / 0.9563 GB, free: 121 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02424/1.967, allocations: 19.06 MB / 0.9749 GB, free: 116.1 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005321/1.972, allocations: 5.185 MB / 0.98 GB, free: 113.5 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0225/1.995, allocations: 15.18 MB / 0.9948 GB, free: 108.7 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001555/1.996, allocations: 0.5604 MB / 0.9954 GB, free: 108.6 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001189/1.997, allocations: 9.688 kB / 0.9954 GB, free: 108.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002932/2, allocations: 132.5 kB / 0.9955 GB, free: 108.6 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005006/2.001, allocations: 183.8 kB / 0.9957 GB, free: 108.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000341/2.001, allocations: 102.4 kB / 0.9958 GB, free: 108.5 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.004301/2.006, allocations: 3.145 MB / 0.9989 GB, free: 107.4 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01011/2.016, allocations: 1.857 MB / 1.001 GB, free: 107.4 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (294): * Single equations (assignments): 286 * 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.001169/2.017, allocations: 245.6 kB / 1.001 GB, free: 107.3 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01752/2.034, allocations: 11.12 MB / 1.012 GB, free: 103.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.927e-06/2.034, allocations: 2.406 kB / 1.012 GB, free: 103.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01023/2.045, allocations: 4.501 MB / 1.016 GB, free: 101.6 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005336/2.05, allocations: 0.6545 MB / 1.017 GB, free: 101.4 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03461/2.085, allocations: 14.9 MB / 1.031 GB, free: 96.04 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01121/2.096, allocations: 5.942 MB / 1.037 GB, free: 94.23 MB / 474.7 MB Notification: Performance of SimCode: time 1.694e-06/2.096, allocations: 7.031 kB / 1.037 GB, free: 94.23 MB / 474.7 MB Notification: Performance of Templates: time 0.321/2.417, allocations: 85.59 MB / 1.121 GB, free: 118.4 MB / 474.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Constraints/UniversalConstraint/UniversalConstraint.csv","../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches