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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Constraints_UniversalConstraint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Constraints_UniversalConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001081/0.001081, allocations: 122.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001257/0.001258, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.314/1.314, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 59.89 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.2307, allocations: 50.54 MB / 408.8 MB, free: 1.512 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint): time 0.01873/0.2495, allocations: 20.27 MB / 429 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01206/0.2616, allocations: 6.497 MB / 435.5 MB, free: 6.637 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003028/0.2646, allocations: 159.5 kB / 435.7 MB, free: 6.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01154/0.2762, allocations: 7.025 MB / 442.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008014/0.2843, allocations: 2.707 MB / 445.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005349/0.2896, allocations: 2.522 MB / 447.9 MB, free: 10.19 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009273/0.2989, allocations: 7.229 MB / 455.2 MB, free: 2.945 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008936/0.3079, allocations: 9.021 MB / 464.2 MB, free: 9.824 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004156/0.3121, allocations: 3.136 MB / 467.3 MB, free: 6.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004871/0.3169, allocations: 3.937 MB / 471.3 MB, free: 2.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001533/0.3185, allocations: 0.7227 MB / 472 MB, free: 2.008 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003389/0.3219, allocations: 1.939 MB / 473.9 MB, free: 68 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003811/0.3257, allocations: 3.726 MB / 477.6 MB, free: 12.33 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005916/0.3317, allocations: 4.2 MB / 481.8 MB, free: 8.109 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01597/0.3477, allocations: 13.27 MB / 495.1 MB, free: 10.8 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.3477, allocations: 0 / 495.1 MB, free: 10.8 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.3477, allocations: 0 / 495.1 MB, free: 10.8 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004342/0.3482, allocations: 0 / 495.1 MB, free: 10.8 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2598 * Number of variables: 2598 Notification: Performance of Generate backend data structure: time 0.02204/0.3702, allocations: 9.228 MB / 0.4925 GB, free: 1.477 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/0.3703, allocations: 12.02 kB / 0.4925 GB, free: 1.465 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002436/0.3727, allocations: 1.251 MB / 0.4938 GB, free: 208 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00774/0.3805, allocations: 2.331 MB / 0.496 GB, free: 13.86 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01003/0.3906, allocations: 4.979 MB / 0.5009 GB, free: 8.793 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003945/0.391, allocations: 480.5 kB / 0.5013 GB, free: 8.32 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002036/0.393, allocations: 0.6479 MB / 0.502 GB, free: 7.672 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03759/0.4306, allocations: 18.33 MB / 0.5199 GB, free: 4.344 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004588/0.4311, allocations: 59.47 kB / 0.5199 GB, free: 4.285 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002703/0.4339, allocations: 291.8 kB / 0.5202 GB, free: 4 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004732/0.4386, allocations: 2.894 MB / 0.523 GB, free: 1.105 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03171/0.4703, allocations: 15.76 MB / 0.5384 GB, free: 1.316 MB / 462.1 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.4459/0.9163, allocations: 68.97 MB / 0.6058 GB, free: 59.75 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02236/0.9387, allocations: 8.846 MB / 0.6144 GB, free: 50.76 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004861/0.9436, allocations: 4.998 MB / 0.6193 GB, free: 45.75 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02436/0.968, allocations: 20.23 MB / 0.6391 GB, free: 25.01 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.649e-05/0.9681, allocations: 68.53 kB / 0.6391 GB, free: 24.93 MB / 462.1 MB Notification: Performance of pre-optimization done (n=313): time 5.911e-06/0.9681, allocations: 0 / 0.6391 GB, free: 24.93 MB / 462.1 MB Notification: Performance of matching and sorting (n=371): time 0.1091/1.077, allocations: 43.72 MB / 0.6818 GB, free: 12.77 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01583/1.093, allocations: 12.87 MB / 0.6944 GB, free: 15.1 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01148/1.105, allocations: 5.979 MB / 0.7002 GB, free: 9.105 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0009693/1.106, allocations: 81.69 kB / 0.7003 GB, free: 9.02 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.004291/1.11, allocations: 5.014 MB / 0.7052 GB, free: 3.938 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.002287/1.112, allocations: 1.38 MB / 0.7066 GB, free: 2.539 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006142/1.118, allocations: 1.955 MB / 0.7085 GB, free: 0.5703 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0001084/1.119, allocations: 301.1 kB / 0.7088 GB, free: 280 kB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00799/1.127, allocations: 4.383 MB / 0.713 GB, free: 11.88 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01232/1.139, allocations: 9.714 MB / 0.7225 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2383/1.377, allocations: 15.2 MB / 0.7374 GB, free: 172 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002225/1.378, allocations: 56.66 kB / 0.7374 GB, free: 172 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1243) (initialization): time 0.03004/1.408, allocations: 17.35 MB / 0.7544 GB, free: 167.6 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001067/1.408, allocations: 86.66 kB / 0.7545 GB, free: 167.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001945/1.408, allocations: 193.7 kB / 0.7546 GB, free: 167.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009232/1.417, allocations: 3.539 MB / 0.7581 GB, free: 166.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006991/1.424, allocations: 2.19 MB / 0.7602 GB, free: 166.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02706/1.451, allocations: 28.95 MB / 0.7885 GB, free: 143.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007373/1.459, allocations: 0.6203 MB / 0.7891 GB, free: 143.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001175/1.46, allocations: 0.5663 MB / 0.7897 GB, free: 142.5 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 848 * Number of states: 0 () * Number of discrete variables: 68 (sensorConstraintRelative.arrow.twoHeadedArrow,sensorConstraintRelative.arrow.headAtOrigin,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1136): * Single equations (assignments): 1119 * Array equations: 10 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(3,20,100.0%), (1,7,100.0%), (2,24,100.0%), (2,1,100.0%), (2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.005391/1.465, allocations: 3.484 MB / 0.7931 GB, free: 139.2 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001047/1.466, allocations: 0.5533 MB / 0.7936 GB, free: 138.9 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01656/1.483, allocations: 10.25 MB / 0.8036 GB, free: 128.5 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0148/1.498, allocations: 8.975 MB / 0.8124 GB, free: 119.4 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01437/1.512, allocations: 8.842 MB / 0.821 GB, free: 110.5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.729e-05/1.512, allocations: 19.94 kB / 0.821 GB, free: 110.5 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03849/1.551, allocations: 23.71 MB / 0.8442 GB, free: 86.74 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.982e-05/1.551, allocations: 4 kB / 0.8442 GB, free: 86.73 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003005/1.554, allocations: 0.6045 MB / 0.8448 GB, free: 86.13 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007923/1.562, allocations: 2.966 MB / 0.8477 GB, free: 83.15 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006452/1.562, allocations: 67.98 kB / 0.8477 GB, free: 83.08 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02363/1.586, allocations: 22.71 MB / 0.8699 GB, free: 59.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005887/1.592, allocations: 6.015 MB / 0.8758 GB, free: 53.71 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02406/1.616, allocations: 14.79 MB / 0.8902 GB, free: 38.86 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001513/1.618, allocations: 0.5913 MB / 0.8908 GB, free: 38.24 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001604/1.619, allocations: 63.98 kB / 0.8909 GB, free: 38.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003551/1.623, allocations: 271.3 kB / 0.8911 GB, free: 37.91 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009996/1.624, allocations: 237.9 kB / 0.8914 GB, free: 37.68 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00046/1.624, allocations: 99.92 kB / 0.8915 GB, free: 37.58 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.007155/1.631, allocations: 3.73 MB / 0.8951 GB, free: 33.86 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3e-07/1.632, allocations: 3.938 kB / 0.8951 GB, free: 33.85 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.009212/1.641, allocations: 2.033 MB / 0.8971 GB, free: 31.83 MB / 0.5294 GB 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(4,19,75.0%), (3,17,100.0%), (3,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02313/1.664, allocations: 15.55 MB / 0.9123 GB, free: 16.15 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01765/1.682, allocations: 11.37 MB / 0.9234 GB, free: 4.703 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.043e-05/1.682, allocations: 4 kB / 0.9234 GB, free: 4.699 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00783/1.689, allocations: 4.725 MB / 0.928 GB, free: 15.93 MB / 0.5451 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008891/1.698, allocations: 0.9097 MB / 0.9289 GB, free: 15.04 MB / 0.5451 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3407/2.039, allocations: 87.52 MB / 1.014 GB, free: 124.8 MB / 0.5451 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006864/2.046, allocations: 5.314 MB / 1.02 GB, free: 119.5 MB / 0.5451 GB Notification: Performance of simCode: alias equations: time 0.006513/2.053, allocations: 3.061 MB / 1.023 GB, free: 116.4 MB / 0.5451 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004554/2.057, allocations: 3.487 MB / 1.026 GB, free: 112.9 MB / 0.5451 GB Notification: Performance of SimCode: time 1.383e-06/2.057, allocations: 0 / 1.026 GB, free: 112.9 MB / 0.5451 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4144/2.472, allocations: 142.9 MB / 1.165 GB, free: 173.8 MB / 0.5451 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.29/28.76, allocations: 8.859 kB / 1.165 GB, free: 173.8 MB / 0.5451 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Constraints_UniversalConstraint_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Constraints_UniversalConstraint.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe 2>&1)