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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001104/0.001104, allocations: 201.2 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.285/1.285, allocations: 226.5 MB / 245.4 MB, free: 6.512 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009713/0.0009713, allocations: 105.7 kB / 297.5 MB, free: 6.684 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002324/0.0002324, allocations: 4 kB / 358.1 MB, free: 10.08 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2148/0.2151, allocations: 51.28 MB / 409.4 MB, free: 27.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2969/0.5121, allocations: 116.1 MB / 0.5131 GB, free: 97.41 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002209/0.5123, allocations: 95.97 kB / 0.5132 GB, free: 97.41 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3078/0.8201, allocations: 141.3 MB / 0.6512 GB, free: 7.176 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.8202, allocations: 4 kB / 0.6512 GB, free: 7.172 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005071/0.8207, allocations: 160 kB / 0.6513 GB, free: 7.016 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.02836/0.849, allocations: 8.024 MB / 0.6592 GB, free: 14.9 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.8491, allocations: 8.031 kB / 0.6592 GB, free: 14.89 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01302/0.8621, allocations: 2.818 MB / 0.6619 GB, free: 12.06 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01556/0.8777, allocations: 6.406 MB / 0.6682 GB, free: 5.57 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006042/0.8784, allocations: 0.5821 MB / 0.6687 GB, free: 4.988 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003158/0.8815, allocations: 0.7735 MB / 0.6695 GB, free: 4.215 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4081/1.29, allocations: 19.02 MB / 0.6881 GB, free: 56.08 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002798/1.29, allocations: 92.36 kB / 0.6882 GB, free: 56.08 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001205/1.291, allocations: 364.7 kB / 0.6885 GB, free: 56.08 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001891/1.293, allocations: 1.688 MB / 0.6902 GB, free: 56.06 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02955/1.323, allocations: 16 MB / 0.7058 GB, free: 56.01 MB / 442.8 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.07871/1.401, allocations: 80.1 MB / 0.784 GB, free: 6.492 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0225/1.424, allocations: 8.904 MB / 0.7927 GB, free: 3.895 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005632/1.43, allocations: 4.951 MB / 0.7975 GB, free: 1.781 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03343/1.463, allocations: 20.06 MB / 0.8171 GB, free: 1.562 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.486e-05/1.463, allocations: 68.53 kB / 0.8172 GB, free: 1.484 MB / 458.8 MB Notification: Performance of pre-optimization done (n=313): time 7.534e-06/1.463, allocations: 3.312 kB / 0.8172 GB, free: 1.484 MB / 458.8 MB Notification: Performance of matching and sorting (n=371): time 0.3449/1.808, allocations: 44.72 MB / 0.8609 GB, free: 101.9 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01189/1.82, allocations: 12.33 MB / 0.8729 GB, free: 95.54 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007028/1.827, allocations: 5.965 MB / 0.8787 GB, free: 95.18 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007535/1.828, allocations: 83.89 kB / 0.8788 GB, free: 95.14 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002456/1.83, allocations: 5.091 MB / 0.8838 GB, free: 93.59 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001512/1.832, allocations: 1.383 MB / 0.8851 GB, free: 92.78 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004965/1.832, allocations: 186.9 kB / 0.8853 GB, free: 92.78 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0004109/1.833, allocations: 0.7131 MB / 0.886 GB, free: 92.45 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005794/1.839, allocations: 4.32 MB / 0.8902 GB, free: 92.43 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008712/1.847, allocations: 9.702 MB / 0.8997 GB, free: 85.61 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01529/1.863, allocations: 15.17 MB / 0.9145 GB, free: 78.77 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001698/1.863, allocations: 53.78 kB / 0.9146 GB, free: 78.77 MB / 490.8 MB Notification: Performance of matching and sorting (n=1241) (initialization): time 0.03026/1.893, allocations: 17.27 MB / 0.9314 GB, free: 73.43 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001301/1.893, allocations: 85.44 kB / 0.9315 GB, free: 73.43 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002214/1.894, allocations: 189.3 kB / 0.9317 GB, free: 73.43 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009525/1.903, allocations: 3.562 MB / 0.9352 GB, free: 72.74 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007389/1.91, allocations: 2.203 MB / 0.9373 GB, free: 72.49 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0269/1.937, allocations: 27.15 MB / 0.9638 GB, free: 56.25 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007577/1.945, allocations: 0.6129 MB / 0.9644 GB, free: 56.09 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001683/1.947, allocations: 0.5663 MB / 0.965 GB, free: 56.01 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 856 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1144): * Single equations (assignments): 1129 * 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%) 20,(1,100.0%) 7,(2,100.0%) 24,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.006439/1.953, allocations: 3.524 MB / 0.9684 GB, free: 54.35 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001075/1.954, allocations: 0.5569 MB / 0.969 GB, free: 54.04 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01765/1.972, allocations: 10.26 MB / 0.979 GB, free: 50.14 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01639/1.988, allocations: 8.96 MB / 0.9877 GB, free: 42.82 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01571/2.004, allocations: 9.377 MB / 0.9969 GB, free: 35.12 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.025e-05/2.004, allocations: 15.61 kB / 0.9969 GB, free: 35.12 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0417/2.046, allocations: 24.08 MB / 1.02 GB, free: 15.83 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.884e-05/2.046, allocations: 7.891 kB / 1.02 GB, free: 15.83 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003187/2.049, allocations: 0.6132 MB / 1.021 GB, free: 15.36 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008413/2.058, allocations: 3.005 MB / 1.024 GB, free: 13.34 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007176/2.058, allocations: 71.27 kB / 1.024 GB, free: 13.27 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2646/2.323, allocations: 21.01 MB / 1.045 GB, free: 88.98 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006066/2.329, allocations: 5.854 MB / 1.05 GB, free: 86.23 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02363/2.353, allocations: 14.54 MB / 1.064 GB, free: 85.73 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001834/2.355, allocations: 0.5982 MB / 1.065 GB, free: 85.63 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001712/2.356, allocations: 67.59 kB / 1.065 GB, free: 85.63 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00352/2.36, allocations: 270.7 kB / 1.065 GB, free: 85.63 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000916/2.361, allocations: 236 kB / 1.066 GB, free: 85.62 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002878/2.361, allocations: 96.48 kB / 1.066 GB, free: 85.62 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.006401/2.368, allocations: 3.717 MB / 1.069 GB, free: 85.41 MB / 490.8 MB Notification: Performance of sort global known variables: time 4.41e-07/2.368, allocations: 0 / 1.069 GB, free: 85.41 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.01079/2.378, allocations: 2.096 MB / 1.071 GB, free: 85.41 MB / 490.8 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (280): * Single equations (assignments): 272 * 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%) 17,(3,100.0%) 8} * Non-linear torn systems: 1 {3 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.00129/2.38, allocations: 294 kB / 1.072 GB, free: 85.32 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0161/2.396, allocations: 11.23 MB / 1.083 GB, free: 84.17 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 8.987e-06/2.396, allocations: 0 / 1.083 GB, free: 84.17 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.007058/2.403, allocations: 4.7 MB / 1.087 GB, free: 82.25 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008274/2.411, allocations: 0.8444 MB / 1.088 GB, free: 81.91 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02998/2.441, allocations: 20.64 MB / 1.108 GB, free: 71.6 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007637/2.449, allocations: 5.369 MB / 1.113 GB, free: 69.81 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.009875/2.459, allocations: 3.079 MB / 1.116 GB, free: 69.74 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002454/2.461, allocations: 398.2 kB / 1.117 GB, free: 69.72 MB / 490.8 MB Notification: Performance of SimCode: time 1.092e-06/2.461, allocations: 1.641 kB / 1.117 GB, free: 69.72 MB / 490.8 MB Notification: Performance of Templates: time 0.1263/2.588, allocations: 81.08 MB / 1.196 GB, free: 8.957 MB / 490.8 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/jenkins1/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