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.0009848/0.0009848, allocations: 201.1 kB / 8.766 MB, free: 324 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.42/1.42, allocations: 225.6 MB / 234.8 MB, free: 3.297 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008015/0.0008015, allocations: 101.6 kB / 286.7 MB, free: 5.258 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.115e-05/2.108e-05, allocations: 7.938 kB / 343.7 MB, free: 8.273 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1044, allocations: 51.48 MB / 395.2 MB, free: 4.754 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3958/0.5003, allocations: 115.2 MB / 0.4984 GB, free: 10.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003056/0.5007, allocations: 86.52 kB / 0.4985 GB, free: 10.39 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6584/1.159, allocations: 141.2 MB / 0.6364 GB, free: 74.12 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.615e-06/1.159, allocations: 0 / 0.6364 GB, free: 74.12 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004855/1.16, allocations: 153.2 kB / 0.6365 GB, free: 74.12 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.04225/1.202, allocations: 7.984 MB / 0.6443 GB, free: 70.61 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.952e-05/1.202, allocations: 11.81 kB / 0.6444 GB, free: 70.61 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01681/1.219, allocations: 2.882 MB / 0.6472 GB, free: 70.05 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01837/1.237, allocations: 7.056 MB / 0.6541 GB, free: 67.25 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004439/1.238, allocations: 256.4 kB / 0.6543 GB, free: 67.25 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004378/1.242, allocations: 474.6 kB / 0.6548 GB, free: 67.23 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02256/1.265, allocations: 11.33 MB / 0.6658 GB, free: 63.13 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03732/1.302, allocations: 16.25 MB / 0.6817 GB, free: 54.82 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003974/1.303, allocations: 87.7 kB / 0.6818 GB, free: 54.77 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002285/1.305, allocations: 40.66 kB / 0.6818 GB, free: 54.77 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002226/1.307, allocations: 1.69 MB / 0.6835 GB, free: 53.53 MB / 442.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.4088/1.716, allocations: 79.57 MB / 0.7612 GB, free: 44.19 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007208/1.723, allocations: 5.994 MB / 0.767 GB, free: 43.53 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006047/1.729, allocations: 4.482 MB / 0.7714 GB, free: 43.48 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001835/1.731, allocations: 1.785 MB / 0.7731 GB, free: 41.98 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.164e-05/1.731, allocations: 72.38 kB / 0.7732 GB, free: 41.93 MB / 458.7 MB Notification: Performance of pre-optimization done (n=323): time 6.622e-06/1.731, allocations: 1.203 kB / 0.7732 GB, free: 41.93 MB / 458.7 MB Notification: Performance of matching and sorting (n=393): time 0.1039/1.835, allocations: 40.36 MB / 0.8126 GB, free: 31.79 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.597e-05/1.835, allocations: 169.3 kB / 0.8128 GB, free: 31.62 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007402/1.843, allocations: 4.594 MB / 0.8173 GB, free: 29.91 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001238/1.844, allocations: 29.27 kB / 0.8173 GB, free: 29.88 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003405/1.847, allocations: 5.115 MB / 0.8223 GB, free: 25.92 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002811/1.85, allocations: 1.412 MB / 0.8237 GB, free: 24.87 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001198/1.851, allocations: 0 / 0.8237 GB, free: 24.87 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0006204/1.852, allocations: 0.7261 MB / 0.8244 GB, free: 24.38 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005746/1.858, allocations: 4.29 MB / 0.8286 GB, free: 22.78 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00936/1.867, allocations: 9.702 MB / 0.8381 GB, free: 13.92 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009414/1.877, allocations: 6.379 MB / 0.8443 GB, free: 11.74 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002017/1.877, allocations: 53.41 kB / 0.8443 GB, free: 11.74 MB / 458.7 MB Notification: Performance of matching and sorting (n=1284) (initialization): time 0.03796/1.915, allocations: 16.59 MB / 0.8605 GB, free: 6.355 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001416/1.915, allocations: 90.84 kB / 0.8606 GB, free: 6.355 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002571/1.915, allocations: 190.8 kB / 0.8608 GB, free: 6.355 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01181/1.927, allocations: 3.775 MB / 0.8645 GB, free: 4.609 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009591/1.937, allocations: 2.306 MB / 0.8667 GB, free: 2.652 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03437/1.971, allocations: 25.84 MB / 0.892 GB, free: 11.63 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009461/1.981, allocations: 471 kB / 0.8924 GB, free: 11.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002613/1.983, allocations: 0.5925 MB / 0.893 GB, free: 10.75 MB / 490.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.001998/1.985, allocations: 0.5979 MB / 0.8936 GB, free: 10.14 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001275/1.987, allocations: 0.5361 MB / 0.8941 GB, free: 9.602 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02021/2.007, allocations: 10.28 MB / 0.9041 GB, free: 1.465 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02371/2.031, allocations: 9.354 MB / 0.9133 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01925/2.05, allocations: 8.875 MB / 0.922 GB, free: 3.402 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001271/2.05, allocations: 23.92 kB / 0.922 GB, free: 3.379 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3315/2.382, allocations: 23.45 MB / 0.9449 GB, free: 117 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-05/2.382, allocations: 5.938 kB / 0.9449 GB, free: 117 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003756/2.385, allocations: 0.6488 MB / 0.9455 GB, free: 117 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009118/2.394, allocations: 2.973 MB / 0.9484 GB, free: 117 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009144/2.395, allocations: 21.53 kB / 0.9484 GB, free: 117 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02822/2.424, allocations: 19.86 MB / 0.9678 GB, free: 109.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00666/2.43, allocations: 5.524 MB / 0.9732 GB, free: 105.5 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02841/2.459, allocations: 15.52 MB / 0.9884 GB, free: 99.28 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001893/2.461, allocations: 0.5621 MB / 0.9889 GB, free: 99.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001934/2.463, allocations: 15.03 kB / 0.989 GB, free: 99.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005109/2.468, allocations: 217.5 kB / 0.9892 GB, free: 99.15 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001448/2.469, allocations: 243.3 kB / 0.9894 GB, free: 99.12 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005488/2.47, allocations: 106.5 kB / 0.9895 GB, free: 99.09 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.007997/2.478, allocations: 3.081 MB / 0.9925 GB, free: 97.98 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.82e-07/2.478, allocations: 2 kB / 0.9925 GB, free: 97.98 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0146/2.493, allocations: 1.904 MB / 0.9944 GB, free: 97.98 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 8 ($STATESET1.x[2],$STATESET1.x[1],$STATESET0.x[2],$STATESET0.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.001937/2.495, allocations: 245.6 kB / 0.9946 GB, free: 97.88 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01997/2.515, allocations: 11.21 MB / 1.006 GB, free: 93.84 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.211e-05/2.515, allocations: 3.938 kB / 1.006 GB, free: 93.84 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.008779/2.523, allocations: 4.684 MB / 1.01 GB, free: 91.84 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00588/2.529, allocations: 0.6789 MB / 1.011 GB, free: 91.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0357/2.565, allocations: 14.74 MB / 1.025 GB, free: 86.07 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009535/2.575, allocations: 5.545 MB / 1.031 GB, free: 84.28 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.008878/2.584, allocations: 3.187 MB / 1.034 GB, free: 83.74 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001644/2.585, allocations: 402.5 kB / 1.034 GB, free: 83.38 MB / 0.4948 GB Notification: Performance of SimCode: time 1.152e-06/2.585, allocations: 0 / 1.034 GB, free: 83.38 MB / 0.4948 GB Notification: Performance of Templates: time 0.4055/2.991, allocations: 76.21 MB / 1.109 GB, free: 113.7 MB / 0.4948 GB 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