Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001/0.001, allocations: 176.4 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 221.5 MB / 230.3 MB, free: 7.582 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008366/0.0008366, allocations: 91.73 kB / 281.2 MB, free: 5.336 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.209e-05/2.212e-05, allocations: 8 kB / 337.1 MB, free: 10.04 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1069, allocations: 50.42 MB / 387.5 MB, free: 7.578 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4105/0.5174, allocations: 114.8 MB / 0.4905 GB, free: 11.96 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002843/0.5178, allocations: 91.94 kB / 0.4906 GB, free: 11.87 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5728/1.091, allocations: 137.4 MB / 0.6248 GB, free: 82.24 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.934e-06/1.091, allocations: 0 / 0.6248 GB, free: 82.24 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003473/1.091, allocations: 160 kB / 0.6249 GB, free: 82.09 MB / 426.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.02516/1.116, allocations: 7.834 MB / 0.6326 GB, free: 74.19 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/1.116, allocations: 11.97 kB / 0.6326 GB, free: 74.18 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01461/1.131, allocations: 2.89 MB / 0.6354 GB, free: 71.28 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01705/1.148, allocations: 7.7 MB / 0.6429 GB, free: 63.57 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000301/1.148, allocations: 256 kB / 0.6432 GB, free: 63.32 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003036/1.151, allocations: 467.8 kB / 0.6436 GB, free: 62.86 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02535/1.177, allocations: 11.34 MB / 0.6547 GB, free: 51.53 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04696/1.224, allocations: 16.25 MB / 0.6706 GB, free: 33.93 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004581/1.224, allocations: 91.17 kB / 0.6706 GB, free: 33.84 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003558/1.228, allocations: 40 kB / 0.6707 GB, free: 33.8 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002446/1.23, allocations: 1.688 MB / 0.6723 GB, free: 32.11 MB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3788/1.609, allocations: 79.56 MB / 0.75 GB, free: 51.71 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008154/1.617, allocations: 5.995 MB / 0.7559 GB, free: 51.04 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005724/1.623, allocations: 4.487 MB / 0.7603 GB, free: 50.99 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001781/1.625, allocations: 1.789 MB / 0.762 GB, free: 49.48 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.871e-05/1.625, allocations: 66.12 kB / 0.7621 GB, free: 49.44 MB / 442.7 MB Notification: Performance of pre-optimization done (n=323): time 5.721e-06/1.625, allocations: 0.6562 kB / 0.7621 GB, free: 49.44 MB / 442.7 MB Notification: Performance of matching and sorting (n=393): time 0.08817/1.713, allocations: 40.36 MB / 0.8015 GB, free: 39.27 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.439e-05/1.713, allocations: 173.9 kB / 0.8017 GB, free: 39.11 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008602/1.722, allocations: 4.593 MB / 0.8061 GB, free: 37.46 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001168/1.723, allocations: 29.3 kB / 0.8062 GB, free: 37.43 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003602/1.727, allocations: 5.116 MB / 0.8112 GB, free: 33.49 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002612/1.729, allocations: 1.413 MB / 0.8125 GB, free: 32.44 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001133/1.73, allocations: 5.656 kB / 0.8126 GB, free: 32.44 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005325/1.731, allocations: 0.7191 MB / 0.8133 GB, free: 31.96 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00615/1.737, allocations: 4.283 MB / 0.8174 GB, free: 30.36 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009751/1.747, allocations: 9.708 MB / 0.8269 GB, free: 18.89 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008903/1.756, allocations: 6.382 MB / 0.8332 GB, free: 13.75 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001206/1.756, allocations: 52 kB / 0.8332 GB, free: 13.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=1284) (initialization): time 0.037/1.793, allocations: 16.59 MB / 0.8494 GB, free: 188 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000108/1.793, allocations: 84 kB / 0.8495 GB, free: 104 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008318/1.794, allocations: 243.8 kB / 0.8497 GB, free: 0 / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01258/1.807, allocations: 3.806 MB / 0.8534 GB, free: 13.55 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00979/1.816, allocations: 2.309 MB / 0.8557 GB, free: 11.59 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03499/1.851, allocations: 25.79 MB / 0.8809 GB, free: 4.371 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009578/1.861, allocations: 469 kB / 0.8813 GB, free: 4.047 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003271/1.864, allocations: 0.5925 MB / 0.8819 GB, free: 3.492 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 877 * 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 (1190): * Single equations (assignments): 1175 * 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.004063/1.868, allocations: 0.6043 MB / 0.8825 GB, free: 2.883 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001921/1.87, allocations: 0.5283 MB / 0.883 GB, free: 2.348 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02618/1.897, allocations: 10.51 MB / 0.8933 GB, free: 9.355 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01903/1.916, allocations: 9.006 MB / 0.9021 GB, free: 244 kB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.3425/2.258, allocations: 8.872 MB / 0.9107 GB, free: 125.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001463/2.258, allocations: 18.12 kB / 0.9107 GB, free: 125.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04782/2.306, allocations: 23.44 MB / 0.9336 GB, free: 124.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-05/2.306, allocations: 4.281 kB / 0.9336 GB, free: 124.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00377/2.31, allocations: 0.6621 MB / 0.9343 GB, free: 124.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009116/2.319, allocations: 2.971 MB / 0.9372 GB, free: 124.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001076/2.32, allocations: 17 kB / 0.9372 GB, free: 124.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02416/2.345, allocations: 19.87 MB / 0.9566 GB, free: 113.6 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005822/2.35, allocations: 5.518 MB / 0.962 GB, free: 109.9 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02778/2.378, allocations: 15.52 MB / 0.9772 GB, free: 103.7 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002133/2.38, allocations: 0.5553 MB / 0.9777 GB, free: 103.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002428/2.383, allocations: 11.11 kB / 0.9777 GB, free: 103.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004617/2.388, allocations: 219.4 kB / 0.9779 GB, free: 103.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001252/2.389, allocations: 248.9 kB / 0.9782 GB, free: 103.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003451/2.389, allocations: 105.5 kB / 0.9783 GB, free: 103.6 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.006257/2.395, allocations: 3.084 MB / 0.9813 GB, free: 102.4 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.6e-07/2.395, allocations: 0 / 0.9813 GB, free: 102.4 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01359/2.409, allocations: 1.89 MB / 0.9831 GB, free: 102.4 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 8 ($STATESET6.x[2],$STATESET6.x[1],$STATESET5.x[2],$STATESET5.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.001604/2.411, allocations: 231 kB / 0.9833 GB, free: 102.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01837/2.429, allocations: 11.21 MB / 0.9943 GB, free: 93.25 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.024e-05/2.429, allocations: 0 / 0.9943 GB, free: 93.25 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007891/2.437, allocations: 4.693 MB / 0.9989 GB, free: 89.08 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004776/2.442, allocations: 0.6748 MB / 0.9995 GB, free: 88.55 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03419/2.476, allocations: 14.74 MB / 1.014 GB, free: 75.46 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01433/2.49, allocations: 5.55 MB / 1.019 GB, free: 71.39 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01998/2.51, allocations: 3.174 MB / 1.022 GB, free: 69.46 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003603/2.514, allocations: 405.8 kB / 1.023 GB, free: 69.09 MB / 490.7 MB Notification: Performance of SimCode: time 2.094e-06/2.514, allocations: 0 / 1.023 GB, free: 69.09 MB / 490.7 MB Notification: Performance of Templates: time 0.4246/2.939, allocations: 76.07 MB / 1.097 GB, free: 113.9 MB / 490.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches