Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.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.RevoluteConstraint,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Constraints_RevoluteConstraint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Constraints_RevoluteConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008679/0.000868, allocations: 102 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008522/0.0008522, allocations: 193.1 kB / 17.9 MB, free: 5.938 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: 11.81 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002381/0.0002382, allocations: 8 kB / 306.8 MB, free: 1.434 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1147, allocations: 51.5 MB / 358.3 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.2726/0.3874, allocations: 77.39 MB / 435.7 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03982/0.4273, allocations: 16.46 MB / 452.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01492/0.4422, allocations: 383 kB / 452.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01066/0.4529, allocations: 3.639 MB / 456.2 MB, free: 9.719 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03115/0.4841, allocations: 10.53 MB / 466.7 MB, free: 15.15 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006101/0.4902, allocations: 1.018 MB / 467.7 MB, free: 14.13 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01123/0.5015, allocations: 7.783 MB / 475.5 MB, free: 6.336 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01449/0.516, allocations: 9.498 MB / 485 MB, free: 12.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004692/0.5208, allocations: 2.11 MB / 487.1 MB, free: 10.65 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004965/0.5258, allocations: 2.971 MB / 490.1 MB, free: 7.668 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001535/0.5274, allocations: 224 kB / 490.3 MB, free: 7.449 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003833/0.5312, allocations: 1.276 MB / 491.6 MB, free: 6.172 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003975/0.5352, allocations: 2.762 MB / 494.3 MB, free: 3.402 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002371/0.5376, allocations: 1.333 MB / 495.7 MB, free: 2.059 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01069/0.5483, allocations: 9.368 MB / 0.4932 GB, free: 8.664 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.5484, allocations: 0 / 0.4932 GB, free: 8.664 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.245e-06/0.5484, allocations: 0 / 0.4932 GB, free: 8.664 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004195/0.5488, allocations: 0 / 0.4932 GB, free: 8.664 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: 2341 * Number of variables: 2341 Notification: Performance of Generate backend data structure: time 0.01636/0.5652, allocations: 6.948 MB / 0.5 GB, free: 1.641 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.5652, allocations: 8.031 kB / 0.5 GB, free: 1.633 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003432/0.5687, allocations: 1.123 MB / 0.5011 GB, free: 0.5 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008407/0.5771, allocations: 2.327 MB / 0.5034 GB, free: 14.16 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008988/0.5861, allocations: 4.376 MB / 0.5076 GB, free: 9.703 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003783/0.5866, allocations: 423.1 kB / 0.508 GB, free: 9.289 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002198/0.5888, allocations: 0.57 MB / 0.5086 GB, free: 8.719 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03199/0.6208, allocations: 16.54 MB / 0.5248 GB, free: 7.281 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001947/0.621, allocations: 63.42 kB / 0.5248 GB, free: 7.219 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008872/0.6219, allocations: 263.8 kB / 0.5251 GB, free: 6.961 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00379/0.6257, allocations: 2.572 MB / 0.5276 GB, free: 4.383 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4025/1.028, allocations: 14.12 MB / 0.5414 GB, free: 140 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.06829/1.097, allocations: 62.37 MB / 0.6023 GB, free: 88.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01847/1.115, allocations: 7.661 MB / 0.6098 GB, free: 80.57 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004428/1.12, allocations: 3.928 MB / 0.6136 GB, free: 76.64 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0199/1.14, allocations: 16.65 MB / 0.6299 GB, free: 59.51 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/1.14, allocations: 68.55 kB / 0.6299 GB, free: 59.44 MB / 446.1 MB Notification: Performance of pre-optimization done (n=265): time 4.698e-06/1.14, allocations: 0 / 0.6299 GB, free: 59.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=316): time 0.09764/1.237, allocations: 39.6 MB / 0.6686 GB, free: 19.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01492/1.252, allocations: 11.64 MB / 0.68 GB, free: 7.664 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006231/1.258, allocations: 5.615 MB / 0.6854 GB, free: 2.07 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006606/1.259, allocations: 69.7 kB / 0.6855 GB, free: 1.996 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002817/1.262, allocations: 4.667 MB / 0.6901 GB, free: 13.33 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001719/1.264, allocations: 1.189 MB / 0.6912 GB, free: 12.15 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005016/1.264, allocations: 176 kB / 0.6914 GB, free: 11.98 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0005036/1.265, allocations: 0.6899 MB / 0.6921 GB, free: 11.28 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006247/1.271, allocations: 3.902 MB / 0.6959 GB, free: 7.367 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2167/1.488, allocations: 9.067 MB / 0.7047 GB, free: 139.3 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01026/1.498, allocations: 5.81 MB / 0.7104 GB, free: 138.9 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002153/1.498, allocations: 53 kB / 0.7105 GB, free: 138.9 MB / 462.1 MB Notification: Performance of matching and sorting (n=1160) (initialization): time 0.03621/1.534, allocations: 16.67 MB / 0.7267 GB, free: 133.3 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001466/1.535, allocations: 81.84 kB / 0.7268 GB, free: 133.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002021/1.535, allocations: 180.2 kB / 0.727 GB, free: 133.3 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01211/1.547, allocations: 4.225 MB / 0.7311 GB, free: 132.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006291/1.553, allocations: 2.022 MB / 0.7331 GB, free: 132.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03109/1.584, allocations: 30.41 MB / 0.7628 GB, free: 108.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00852/1.593, allocations: 0.5335 MB / 0.7633 GB, free: 107.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001591/1.595, allocations: 0.5481 MB / 0.7638 GB, free: 107.1 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 826 * Number of states: 0 () * Number of discrete variables: 62 (sensorConstraintRelative.arrow.arrowLine.twoHeadedArrow,sensorConstraintRelative.arrow.headAtOrigin,freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[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 (1053): * Single equations (assignments): 1040 * Array equations: 6 * 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%) 25,(2,100.0%) 11,(2,100.0%) 13,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 1 {2 11} Notification: Performance of prepare postOptimizeDAE: time 0.006378/1.601, allocations: 3.19 MB / 0.767 GB, free: 104.1 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001131/1.602, allocations: 0.5192 MB / 0.7675 GB, free: 103.8 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01698/1.619, allocations: 9.279 MB / 0.7765 GB, free: 94.39 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.85e-05/1.619, allocations: 44.7 kB / 0.7766 GB, free: 94.35 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01461/1.634, allocations: 7.891 MB / 0.7843 GB, free: 86.33 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.97e-05/1.634, allocations: 15.94 kB / 0.7843 GB, free: 86.31 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03373/1.668, allocations: 21.39 MB / 0.8052 GB, free: 64.93 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-05/1.668, allocations: 0 / 0.8052 GB, free: 64.93 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002419/1.67, allocations: 499.6 kB / 0.8056 GB, free: 64.44 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008903/1.679, allocations: 3.025 MB / 0.8086 GB, free: 61.41 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005194/1.68, allocations: 56.55 kB / 0.8087 GB, free: 61.35 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02515/1.705, allocations: 21.59 MB / 0.8297 GB, free: 39.33 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01089/1.716, allocations: 8.868 MB / 0.8384 GB, free: 30.18 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02228/1.738, allocations: 12.96 MB / 0.851 GB, free: 17.07 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001546/1.74, allocations: 0.5566 MB / 0.8516 GB, free: 16.49 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001437/1.741, allocations: 52 kB / 0.8516 GB, free: 16.44 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00331/1.744, allocations: 223.6 kB / 0.8519 GB, free: 16.22 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007949/1.745, allocations: 197.7 kB / 0.852 GB, free: 16.03 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002446/1.745, allocations: 88.92 kB / 0.8521 GB, free: 15.94 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.005182/1.751, allocations: 3.487 MB / 0.8555 GB, free: 12.48 MB / 462.1 MB Notification: Performance of sort global known variables: time 5.01e-07/1.751, allocations: 0 / 0.8555 GB, free: 12.48 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.009955/1.761, allocations: 1.896 MB / 0.8574 GB, free: 10.6 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 ($STATESET2.x,$STATESET1.x,joint.phi,joint.w) * 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 (219): * Single equations (assignments): 211 * 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 {(1,100.0%) 11,(3,100.0%) 22,(3,100.0%) 13} * Non-linear torn systems: 1 {3 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.2653/2.026, allocations: 13.65 MB / 0.8707 GB, free: 148.3 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01856/2.045, allocations: 10.13 MB / 0.8806 GB, free: 147 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.153e-05/2.045, allocations: 3.844 kB / 0.8806 GB, free: 147 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006968/2.052, allocations: 3.823 MB / 0.8843 GB, free: 145.9 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005064/2.057, allocations: 0.7794 MB / 0.8851 GB, free: 145.6 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1057/2.162, allocations: 62.63 MB / 0.9463 GB, free: 98.17 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005741/2.168, allocations: 4.86 MB / 0.951 GB, free: 93.75 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.007113/2.175, allocations: 2.772 MB / 0.9537 GB, free: 90.97 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00403/2.179, allocations: 3.096 MB / 0.9567 GB, free: 87.88 MB / 478.1 MB Notification: Performance of SimCode: time 1.322e-06/2.179, allocations: 4 kB / 0.9568 GB, free: 87.87 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4527/2.632, allocations: 141.6 MB / 1.095 GB, free: 114 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001447/2.632, allocations: 251.2 kB / 1.095 GB, free: 113.7 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.837/8.469, allocations: 0 / 1.095 GB, free: 113.7 MB / 478.1 MB (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Constraints_RevoluteConstraint_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Constraints_RevoluteConstraint.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint_res.mat does not exist to compare? outputFormat=mat