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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001456/0.001456, allocations: 177 kB / 8.7 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.388/1.388, allocations: 205.3 MB / 214.4 MB, free: 1.734 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.000836/0.000836, allocations: 78.7 kB / 262.4 MB, free: 1.684 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.336e-05/1.339e-05, allocations: 4 kB / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08643/0.08645, allocations: 47.58 MB / 363.1 MB, free: 7.066 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3743/0.4608, allocations: 113.7 MB / 476.7 MB, free: 14.44 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003503/0.4612, allocations: 92.22 kB / 476.8 MB, free: 14.39 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6933/1.155, allocations: 138 MB / 0.6004 GB, free: 84.33 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.352e-06/1.155, allocations: 3.719 kB / 0.6004 GB, free: 84.33 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005291/1.155, allocations: 159.5 kB / 0.6005 GB, free: 84.32 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.02755/1.183, allocations: 7.944 MB / 0.6083 GB, free: 76.88 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/1.183, allocations: 12.03 kB / 0.6083 GB, free: 76.87 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01522/1.198, allocations: 2.911 MB / 0.6112 GB, free: 73.94 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02148/1.22, allocations: 8.059 MB / 0.619 GB, free: 65.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003906/1.22, allocations: 260 kB / 0.6193 GB, free: 65.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003799/1.224, allocations: 467.8 kB / 0.6197 GB, free: 65.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01977/1.244, allocations: 11.54 MB / 0.631 GB, free: 53.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03376/1.277, allocations: 16.5 MB / 0.6471 GB, free: 35.74 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000531/1.278, allocations: 95.11 kB / 0.6472 GB, free: 35.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003149/1.281, allocations: 44 kB / 0.6472 GB, free: 35.6 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002502/1.284, allocations: 1.727 MB / 0.6489 GB, free: 33.88 MB / 410.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.3527/1.636, allocations: 80.33 MB / 0.7274 GB, free: 31.19 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008532/1.645, allocations: 6.109 MB / 0.7333 GB, free: 30.53 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005119/1.65, allocations: 4.522 MB / 0.7378 GB, free: 30.48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001818/1.652, allocations: 1.79 MB / 0.7395 GB, free: 28.97 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.567e-05/1.652, allocations: 73.42 kB / 0.7396 GB, free: 28.92 MB / 410.7 MB Notification: Performance of pre-optimization done (n=332): time 5.981e-06/1.652, allocations: 3.75 kB / 0.7396 GB, free: 28.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=402): time 0.09349/1.745, allocations: 40.78 MB / 0.7794 GB, free: 16.72 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.425e-05/1.746, allocations: 172.3 kB / 0.7796 GB, free: 16.56 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008929/1.754, allocations: 4.695 MB / 0.7842 GB, free: 14.87 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001118/1.756, allocations: 28.52 kB / 0.7842 GB, free: 14.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00276/1.758, allocations: 5.2 MB / 0.7893 GB, free: 10.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001995/1.76, allocations: 1.444 MB / 0.7907 GB, free: 9.738 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000662/1.761, allocations: 2.219 kB / 0.7907 GB, free: 9.738 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004551/1.762, allocations: 0.7352 MB / 0.7914 GB, free: 9.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005435/1.767, allocations: 4.334 MB / 0.7956 GB, free: 7.293 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009692/1.777, allocations: 9.86 MB / 0.8052 GB, free: 11.58 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01045/1.787, allocations: 6.461 MB / 0.8116 GB, free: 6.211 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001811/1.787, allocations: 56 kB / 0.8116 GB, free: 6.156 MB / 426.7 MB Notification: Performance of matching and sorting (n=1309) (initialization): time 0.0416/1.829, allocations: 16.78 MB / 0.828 GB, free: 8.262 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001692/1.829, allocations: 88 kB / 0.8281 GB, free: 8.176 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003633/1.83, allocations: 196 kB / 0.8283 GB, free: 7.984 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01216/1.842, allocations: 3.774 MB / 0.832 GB, free: 5.449 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009912/1.852, allocations: 2.357 MB / 0.8343 GB, free: 3.445 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3324/2.184, allocations: 25.83 MB / 0.8595 GB, free: 108.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01096/2.195, allocations: 472.7 kB / 0.8599 GB, free: 108.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003089/2.198, allocations: 0.6139 MB / 0.8605 GB, free: 108.1 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 893 * 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 (1215): * Single equations (assignments): 1200 * 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.004119/2.203, allocations: 0.6083 MB / 0.8611 GB, free: 107.9 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001839/2.204, allocations: 0.5409 MB / 0.8617 GB, free: 107.9 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02357/2.228, allocations: 10.38 MB / 0.8718 GB, free: 107.3 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01714/2.245, allocations: 9.069 MB / 0.8806 GB, free: 106.8 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01816/2.263, allocations: 8.968 MB / 0.8894 GB, free: 106.3 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001345/2.264, allocations: 18.38 kB / 0.8894 GB, free: 106.3 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04613/2.31, allocations: 23.98 MB / 0.9128 GB, free: 97.85 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-05/2.31, allocations: 9.953 kB / 0.9129 GB, free: 97.85 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003896/2.314, allocations: 0.6709 MB / 0.9135 GB, free: 97.83 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00933/2.323, allocations: 2.974 MB / 0.9164 GB, free: 97.26 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001009/2.324, allocations: 29.22 kB / 0.9164 GB, free: 97.26 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02381/2.348, allocations: 19.79 MB / 0.9358 GB, free: 86.76 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00556/2.354, allocations: 5.532 MB / 0.9412 GB, free: 82.02 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02609/2.38, allocations: 16.07 MB / 0.9569 GB, free: 68.24 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00415/2.384, allocations: 1.245 MB / 0.9581 GB, free: 67.09 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001522/2.385, allocations: 20.16 kB / 0.9581 GB, free: 67.07 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004101/2.39, allocations: 223.5 kB / 0.9583 GB, free: 66.96 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007448/2.39, allocations: 260.1 kB / 0.9586 GB, free: 66.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003061/2.391, allocations: 107.4 kB / 0.9587 GB, free: 66.7 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004933/2.396, allocations: 3.157 MB / 0.9617 GB, free: 63.98 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.71e-07/2.396, allocations: 0 / 0.9617 GB, free: 63.98 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01173/2.407, allocations: 1.919 MB / 0.9636 GB, free: 62.08 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (314): * Single equations (assignments): 306 * 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.001654/2.409, allocations: 231 kB / 0.9638 GB, free: 61.92 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02034/2.429, allocations: 11.35 MB / 0.9749 GB, free: 50.89 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.321e-05/2.429, allocations: 6 kB / 0.9749 GB, free: 50.89 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007977/2.437, allocations: 4.774 MB / 0.9796 GB, free: 46.1 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005596/2.443, allocations: 0.6743 MB / 0.9802 GB, free: 45.46 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03179/2.475, allocations: 15.06 MB / 0.995 GB, free: 30.33 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008431/2.483, allocations: 5.63 MB / 1 GB, free: 24.7 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.009015/2.492, allocations: 3.237 MB / 1.004 GB, free: 21.52 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001995/2.494, allocations: 411.3 kB / 1.004 GB, free: 21.12 MB / 458.7 MB Notification: Performance of SimCode: time 1.082e-06/2.494, allocations: 0 / 1.004 GB, free: 21.12 MB / 458.7 MB Notification: Performance of Templates: time 0.3815/2.876, allocations: 76.85 MB / 1.079 GB, free: 92.64 MB / 458.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