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.0009013/0.0009014, allocations: 93.38 kB / 17 MB, free: 6.797 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009584/0.0009585, allocations: 199.9 kB / 17.91 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.318/1.318, allocations: 227.3 MB / 246 MB, free: 10.27 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003294/0.0003295, allocations: 4 kB / 306.8 MB, free: 1.25 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1129, allocations: 51.5 MB / 358.3 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint): time 0.316/0.4289, allocations: 91.58 MB / 449.9 MB, free: 4 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.06238/0.4914, allocations: 19.03 MB / 468.9 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02591/0.5173, allocations: 458.8 kB / 469.4 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01614/0.5335, allocations: 4.405 MB / 473.8 MB, free: 8.039 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03966/0.5732, allocations: 12.61 MB / 486.4 MB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007685/0.5809, allocations: 1.131 MB / 487.5 MB, free: 10.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01301/0.5939, allocations: 8.541 MB / 496.1 MB, free: 1.695 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01767/0.6117, allocations: 10.55 MB / 0.4947 GB, free: 7.043 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005163/0.6169, allocations: 2.312 MB / 0.497 GB, free: 4.723 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005782/0.6227, allocations: 3.302 MB / 0.5002 GB, free: 1.41 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001657/0.6244, allocations: 252 kB / 0.5005 GB, free: 1.164 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004005/0.6284, allocations: 1.315 MB / 0.5017 GB, free: 15.85 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004329/0.6327, allocations: 3.054 MB / 0.5047 GB, free: 12.79 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002817/0.6356, allocations: 1.497 MB / 0.5062 GB, free: 11.28 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01176/0.6473, allocations: 10.46 MB / 0.5164 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.308e-06/0.6474, allocations: 4 kB / 0.5164 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.046e-06/0.6474, allocations: 0 / 0.5164 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006246/0.648, allocations: 0 / 0.5164 GB, free: 0.7852 MB / 430.1 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.02256/0.6706, allocations: 7.715 MB / 0.5239 GB, free: 8.98 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.6707, allocations: 8.031 kB / 0.5239 GB, free: 8.973 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005373/0.6761, allocations: 1.263 MB / 0.5252 GB, free: 7.695 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009116/0.6852, allocations: 2.419 MB / 0.5275 GB, free: 5.262 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01157/0.6968, allocations: 4.792 MB / 0.5322 GB, free: 396 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.3544/1.051, allocations: 481.7 kB / 0.5327 GB, free: 145.4 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003776/1.055, allocations: 0.6426 MB / 0.5333 GB, free: 145.4 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04101/1.096, allocations: 18.53 MB / 0.5514 GB, free: 138.3 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003503/1.097, allocations: 70.25 kB / 0.5515 GB, free: 138.3 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001558/1.098, allocations: 298 kB / 0.5518 GB, free: 138.1 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00416/1.102, allocations: 2.948 MB / 0.5546 GB, free: 137.5 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03081/1.133, allocations: 15.9 MB / 0.5702 GB, free: 123.9 MB / 446.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.08186/1.215, allocations: 69.74 MB / 0.6383 GB, free: 53.13 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02229/1.237, allocations: 8.913 MB / 0.647 GB, free: 44.07 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006021/1.243, allocations: 4.994 MB / 0.6518 GB, free: 39.07 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02886/1.272, allocations: 20.26 MB / 0.6716 GB, free: 18.3 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.401e-05/1.272, allocations: 60.53 kB / 0.6717 GB, free: 18.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=313): time 6.893e-06/1.272, allocations: 0 / 0.6717 GB, free: 18.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=371): time 0.3549/1.627, allocations: 43.75 MB / 0.7144 GB, free: 144 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01549/1.643, allocations: 12.33 MB / 0.7265 GB, free: 135.2 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0144/1.657, allocations: 5.966 MB / 0.7323 GB, free: 133.1 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001057/1.658, allocations: 86.83 kB / 0.7324 GB, free: 133 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003389/1.662, allocations: 5.062 MB / 0.7373 GB, free: 129.2 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002098/1.664, allocations: 1.389 MB / 0.7387 GB, free: 128.2 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006268/1.665, allocations: 184.7 kB / 0.7388 GB, free: 128 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0003964/1.665, allocations: 0.7097 MB / 0.7395 GB, free: 127.5 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005561/1.67, allocations: 4.356 MB / 0.7438 GB, free: 126 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008009/1.679, allocations: 9.694 MB / 0.7533 GB, free: 117.4 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009529/1.688, allocations: 6.37 MB / 0.7595 GB, free: 114.8 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001296/1.688, allocations: 59.47 kB / 0.7595 GB, free: 114.8 MB / 462.1 MB Notification: Performance of matching and sorting (n=1246) (initialization): time 0.03262/1.721, allocations: 17.3 MB / 0.7764 GB, free: 100.2 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002674/1.721, allocations: 90.91 kB / 0.7765 GB, free: 100.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000341/1.722, allocations: 188 kB / 0.7767 GB, free: 99.92 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009158/1.731, allocations: 3.565 MB / 0.7802 GB, free: 96.35 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007245/1.738, allocations: 2.193 MB / 0.7823 GB, free: 94.15 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02821/1.766, allocations: 27.09 MB / 0.8088 GB, free: 66.14 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008117/1.774, allocations: 0.6135 MB / 0.8094 GB, free: 65.52 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00198/1.776, allocations: 0.573 MB / 0.8099 GB, free: 64.95 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 851 * Number of states: 0 () * Number of discrete variables: 68 (sensorConstraintRelative.arrow.arrowLine.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 (1139): * Single equations (assignments): 1122 * Array equations: 10 * 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.008621/1.785, allocations: 3.502 MB / 0.8134 GB, free: 61.43 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002396/1.788, allocations: 0.5631 MB / 0.8139 GB, free: 60.86 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02111/1.809, allocations: 10.24 MB / 0.8239 GB, free: 50.49 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0162/1.825, allocations: 8.962 MB / 0.8327 GB, free: 41.41 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01586/1.841, allocations: 8.821 MB / 0.8413 GB, free: 32.47 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.653e-05/1.841, allocations: 19.94 kB / 0.8413 GB, free: 32.45 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04539/1.886, allocations: 23.99 MB / 0.8647 GB, free: 8.32 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.292e-05/1.886, allocations: 4 kB / 0.8647 GB, free: 8.316 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003154/1.89, allocations: 0.6243 MB / 0.8653 GB, free: 7.691 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008334/1.898, allocations: 2.976 MB / 0.8682 GB, free: 4.703 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001036/1.899, allocations: 67.98 kB / 0.8683 GB, free: 4.637 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2444/2.143, allocations: 21.06 MB / 0.8889 GB, free: 122.9 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006512/2.15, allocations: 5.855 MB / 0.8946 GB, free: 119 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02428/2.174, allocations: 14.76 MB / 0.909 GB, free: 113.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002016/2.176, allocations: 0.5912 MB / 0.9096 GB, free: 113.4 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002173/2.179, allocations: 65.31 kB / 0.9096 GB, free: 113.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00447/2.183, allocations: 272.7 kB / 0.9099 GB, free: 113.3 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00139/2.185, allocations: 243.1 kB / 0.9101 GB, free: 113.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004755/2.185, allocations: 97.42 kB / 0.9102 GB, free: 113.2 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.006486/2.191, allocations: 3.709 MB / 0.9138 GB, free: 112 MB / 462.1 MB Notification: Performance of sort global known variables: time 6.51e-07/2.192, allocations: 0 / 0.9138 GB, free: 112 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01014/2.202, allocations: 2.059 MB / 0.9159 GB, free: 111.8 MB / 462.1 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.02342/2.225, allocations: 15.52 MB / 0.931 GB, free: 101.6 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01567/2.241, allocations: 11.29 MB / 0.942 GB, free: 90.85 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/2.241, allocations: 0.5469 kB / 0.942 GB, free: 90.85 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007008/2.248, allocations: 4.718 MB / 0.9466 GB, free: 86.11 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00718/2.255, allocations: 0.8441 MB / 0.9475 GB, free: 85.29 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1063/2.361, allocations: 69.44 MB / 1.015 GB, free: 10.14 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006464/2.368, allocations: 5.368 MB / 1.021 GB, free: 4.734 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.008283/2.376, allocations: 3.067 MB / 1.024 GB, free: 1.656 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006075/2.382, allocations: 3.531 MB / 1.027 GB, free: 14.12 MB / 478.1 MB Notification: Performance of SimCode: time 2.856e-06/2.382, allocations: 112 / 1.027 GB, free: 14.12 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4274/2.81, allocations: 149.9 MB / 1.173 GB, free: 65.67 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001512/2.81, allocations: 241.8 kB / 1.174 GB, free: 65.43 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.565/8.375, allocations: 0 / 1.174 GB, free: 65.43 MB / 494.1 MB (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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint_res.mat does not exist to compare? outputFormat=mat