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.001644/0.001644, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001921/0.001921, allocations: 205.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 59.91 kB / 358.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.2694, allocations: 50.55 MB / 408.8 MB, free: 1.453 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint): time 0.02357/0.293, allocations: 20.28 MB / 429.1 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01408/0.3071, allocations: 6.485 MB / 435.6 MB, free: 6.574 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003787/0.311, allocations: 163.4 kB / 435.7 MB, free: 6.414 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01298/0.324, allocations: 7.025 MB / 442.8 MB, free: 15.37 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007219/0.3313, allocations: 2.715 MB / 445.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005429/0.3367, allocations: 2.514 MB / 448 MB, free: 10.12 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01027/0.347, allocations: 7.229 MB / 455.2 MB, free: 2.879 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01094/0.358, allocations: 9.021 MB / 464.3 MB, free: 9.758 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005264/0.3633, allocations: 3.151 MB / 467.4 MB, free: 6.598 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006811/0.3701, allocations: 3.93 MB / 471.3 MB, free: 2.656 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00247/0.3726, allocations: 0.7188 MB / 472.1 MB, free: 1.938 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00468/0.3773, allocations: 1.935 MB / 474 MB, free: 0 / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004911/0.3822, allocations: 3.644 MB / 477.6 MB, free: 12.35 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007426/0.3897, allocations: 4.2 MB / 481.8 MB, free: 8.125 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01844/0.4082, allocations: 13.31 MB / 495.1 MB, free: 10.77 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.4082, allocations: 0 / 495.1 MB, free: 10.77 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4082, allocations: 0 / 495.1 MB, free: 10.77 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004138/0.4086, allocations: 0 / 495.1 MB, free: 10.77 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.02367/0.4323, allocations: 9.464 MB / 0.4928 GB, free: 1.199 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.4323, allocations: 8.031 kB / 0.4928 GB, free: 1.191 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002561/0.4349, allocations: 1.247 MB / 0.494 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008081/0.443, allocations: 2.394 MB / 0.4963 GB, free: 13.53 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009747/0.4528, allocations: 4.989 MB / 0.5012 GB, free: 8.461 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003988/0.4532, allocations: 484.5 kB / 0.5017 GB, free: 7.984 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001832/0.455, allocations: 0.648 MB / 0.5023 GB, free: 7.336 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0427/0.4978, allocations: 18.33 MB / 0.5202 GB, free: 4.008 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002859/0.4981, allocations: 79.38 kB / 0.5203 GB, free: 3.93 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001449/0.4995, allocations: 295.8 kB / 0.5206 GB, free: 3.641 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005003/0.5046, allocations: 2.882 MB / 0.5234 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03499/0.5396, allocations: 15.76 MB / 0.5388 GB, free: 0.9688 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.4601/0.9997, allocations: 69.08 MB / 0.6062 GB, free: 59.21 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0222/1.022, allocations: 8.847 MB / 0.6149 GB, free: 50.21 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005044/1.027, allocations: 5.002 MB / 0.6198 GB, free: 45.2 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0227/1.05, allocations: 20.25 MB / 0.6395 GB, free: 24.58 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.881e-05/1.05, allocations: 72.53 kB / 0.6396 GB, free: 24.5 MB / 462.1 MB Notification: Performance of pre-optimization done (n=313): time 5.23e-06/1.05, allocations: 0 / 0.6396 GB, free: 24.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=371): time 0.1105/1.16, allocations: 44.11 MB / 0.6827 GB, free: 12.37 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01722/1.178, allocations: 12.88 MB / 0.6953 GB, free: 14.7 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01083/1.188, allocations: 5.994 MB / 0.7011 GB, free: 8.801 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0009373/1.189, allocations: 77.7 kB / 0.7012 GB, free: 8.719 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.005311/1.195, allocations: 5.213 MB / 0.7063 GB, free: 3.48 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.002702/1.198, allocations: 1.442 MB / 0.7077 GB, free: 2.027 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003683/1.201, allocations: 1.968 MB / 0.7096 GB, free: 48 kB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0001602/1.201, allocations: 305.2 kB / 0.7099 GB, free: 15.75 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007044/1.208, allocations: 4.379 MB / 0.7142 GB, free: 11.36 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01252/1.221, allocations: 9.706 MB / 0.7237 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.228/1.449, allocations: 15.21 MB / 0.7385 GB, free: 171.8 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001779/1.449, allocations: 53.12 kB / 0.7386 GB, free: 171.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1243) (initialization): time 0.03096/1.48, allocations: 17.38 MB / 0.7555 GB, free: 167.2 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001066/1.48, allocations: 86 kB / 0.7556 GB, free: 167.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002246/1.481, allocations: 184 kB / 0.7558 GB, free: 167.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00954/1.49, allocations: 3.556 MB / 0.7593 GB, free: 166.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007253/1.497, allocations: 2.181 MB / 0.7614 GB, free: 166.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02868/1.526, allocations: 28.96 MB / 0.7897 GB, free: 143.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008347/1.535, allocations: 0.6136 MB / 0.7903 GB, free: 142.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001705/1.536, allocations: 0.5738 MB / 0.7908 GB, free: 142 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.005539/1.542, allocations: 3.479 MB / 0.7942 GB, free: 138.7 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001136/1.543, allocations: 0.5883 MB / 0.7948 GB, free: 138.4 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01702/1.56, allocations: 10.24 MB / 0.8048 GB, free: 128 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01514/1.575, allocations: 8.988 MB / 0.8136 GB, free: 118.9 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01488/1.59, allocations: 8.834 MB / 0.8222 GB, free: 110 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001003/1.59, allocations: 19.92 kB / 0.8222 GB, free: 109.9 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0364/1.627, allocations: 23.72 MB / 0.8454 GB, free: 86.22 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.195e-05/1.627, allocations: 4 kB / 0.8454 GB, free: 86.22 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003128/1.63, allocations: 0.6127 MB / 0.846 GB, free: 85.61 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007915/1.638, allocations: 2.966 MB / 0.8489 GB, free: 82.64 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000815/1.639, allocations: 67.98 kB / 0.849 GB, free: 82.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02359/1.662, allocations: 22.71 MB / 0.8712 GB, free: 59.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005453/1.668, allocations: 6.024 MB / 0.877 GB, free: 53.23 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0222/1.69, allocations: 14.82 MB / 0.8915 GB, free: 38.33 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001251/1.691, allocations: 0.619 MB / 0.8921 GB, free: 37.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001051/1.692, allocations: 63.98 kB / 0.8922 GB, free: 37.63 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003056/1.695, allocations: 271.6 kB / 0.8924 GB, free: 37.37 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008345/1.696, allocations: 233.9 kB / 0.8927 GB, free: 37.14 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002864/1.697, allocations: 97.73 kB / 0.8928 GB, free: 37.04 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004271/1.701, allocations: 3.734 MB / 0.8964 GB, free: 33.31 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9.42e-07/1.701, allocations: 0 / 0.8964 GB, free: 33.31 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007641/1.709, allocations: 2.036 MB / 0.8984 GB, free: 31.29 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.02206/1.731, allocations: 15.58 MB / 0.9136 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01501/1.746, allocations: 11.38 MB / 0.9247 GB, free: 4.133 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.145e-05/1.746, allocations: 0 / 0.9247 GB, free: 4.133 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.007342/1.753, allocations: 4.738 MB / 0.9293 GB, free: 15.35 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005296/1.758, allocations: 0.912 MB / 0.9302 GB, free: 14.46 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3228/2.081, allocations: 87.82 MB / 1.016 GB, free: 124.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006895/2.088, allocations: 5.321 MB / 1.021 GB, free: 118.9 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00651/2.095, allocations: 3.056 MB / 1.024 GB, free: 115.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004676/2.099, allocations: 3.491 MB / 1.028 GB, free: 112.3 MB / 0.545 GB Notification: Performance of SimCode: time 1.112e-06/2.099, allocations: 4 kB / 1.028 GB, free: 112.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4032/2.503, allocations: 140.8 MB / 1.165 GB, free: 174.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.93/29.44, allocations: 9.422 kB / 1.165 GB, free: 174.6 MB / 0.545 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)