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.0009804/0.0009805, allocations: 97.11 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001171/0.001171, allocations: 199.7 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.384/1.384, allocations: 227.3 MB / 245.9 MB, free: 12.04 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000266/0.0002663, allocations: 8 kB / 306.7 MB, free: 1.512 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1146, allocations: 51.5 MB / 358.2 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.3069/0.4216, allocations: 73.07 MB / 431.3 MB, free: 2.426 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.04361/0.4652, allocations: 17.21 MB / 448.5 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02003/0.4853, allocations: 383 kB / 448.9 MB, free: 0.793 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01364/0.499, allocations: 3.697 MB / 452.6 MB, free: 13.08 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03555/0.5346, allocations: 10.26 MB / 462.8 MB, free: 2.797 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006815/0.5414, allocations: 1.17 MB / 464 MB, free: 1.625 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008562/0.55, allocations: 3.768 MB / 467.8 MB, free: 13.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01291/0.5629, allocations: 9.431 MB / 477.2 MB, free: 4.352 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00332/0.5663, allocations: 1.717 MB / 478.9 MB, free: 2.629 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0031/0.5694, allocations: 2.005 MB / 480.9 MB, free: 0.6172 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009163/0.5704, allocations: 220 kB / 481.1 MB, free: 412 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00272/0.5731, allocations: 1.241 MB / 482.4 MB, free: 15.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002549/0.5757, allocations: 2.56 MB / 484.9 MB, free: 12.59 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001735/0.5774, allocations: 1.333 MB / 486.3 MB, free: 11.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01039/0.5878, allocations: 9.368 MB / 495.6 MB, free: 1.859 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.5878, allocations: 0 / 495.6 MB, free: 1.859 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.5879, allocations: 0 / 495.6 MB, free: 1.859 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004098/0.5883, allocations: 4 kB / 495.6 MB, free: 1.855 MB / 398.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.0198/0.6081, allocations: 7.187 MB / 0.491 GB, free: 10.59 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.6081, allocations: 8.031 kB / 0.491 GB, free: 10.58 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003982/0.6121, allocations: 1.135 MB / 0.4922 GB, free: 9.434 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009768/0.6219, allocations: 2.608 MB / 0.4947 GB, free: 6.812 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00967/0.6316, allocations: 4.185 MB / 0.4988 GB, free: 2.547 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003637/0.632, allocations: 431.1 kB / 0.4992 GB, free: 2.125 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002324/0.6343, allocations: 0.5738 MB / 0.4998 GB, free: 1.551 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03772/0.6721, allocations: 16.78 MB / 0.5161 GB, free: 15.88 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004622/0.6726, allocations: 63.39 kB / 0.5162 GB, free: 15.81 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003477/0.6761, allocations: 259.8 kB / 0.5164 GB, free: 15.56 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004526/0.6806, allocations: 2.58 MB / 0.519 GB, free: 12.98 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4268/1.107, allocations: 14.4 MB / 0.533 GB, free: 138.8 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.09704/1.205, allocations: 62.59 MB / 0.5942 GB, free: 95.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02062/1.225, allocations: 7.79 MB / 0.6018 GB, free: 88.16 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02672/1.252, allocations: 16.82 MB / 0.6182 GB, free: 70.88 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/1.252, allocations: 60.56 kB / 0.6182 GB, free: 70.81 MB / 446.1 MB Notification: Performance of pre-optimization done (n=265): time 5.47e-06/1.252, allocations: 0 / 0.6182 GB, free: 70.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=331): time 0.1222/1.374, allocations: 43.3 MB / 0.6605 GB, free: 27.21 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02129/1.396, allocations: 17.04 MB / 0.6772 GB, free: 9.633 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0114/1.407, allocations: 5.861 MB / 0.6829 GB, free: 3.793 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001165/1.408, allocations: 73.7 kB / 0.683 GB, free: 3.715 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003949/1.412, allocations: 4.665 MB / 0.6875 GB, free: 15.04 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002328/1.415, allocations: 1.232 MB / 0.6887 GB, free: 13.82 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006827/1.415, allocations: 180 kB / 0.6889 GB, free: 13.64 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0005789/1.416, allocations: 0.6902 MB / 0.6896 GB, free: 12.95 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006416/1.422, allocations: 4.015 MB / 0.6935 GB, free: 8.922 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2813/1.704, allocations: 9.15 MB / 0.7024 GB, free: 137.9 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0109/1.715, allocations: 5.933 MB / 0.7082 GB, free: 137.7 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002078/1.715, allocations: 55.69 kB / 0.7083 GB, free: 137.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=1175) (initialization): time 0.03972/1.754, allocations: 17.28 MB / 0.7251 GB, free: 132 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003757/1.755, allocations: 79.53 kB / 0.7252 GB, free: 132 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003682/1.755, allocations: 181.8 kB / 0.7254 GB, free: 132 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01381/1.769, allocations: 4.586 MB / 0.7299 GB, free: 131.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007146/1.776, allocations: 1.996 MB / 0.7318 GB, free: 130.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03998/1.816, allocations: 35.05 MB / 0.766 GB, free: 102.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009575/1.826, allocations: 0.536 MB / 0.7666 GB, free: 101.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002023/1.828, allocations: 0.5587 MB / 0.7671 GB, free: 101 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 (1044): * Single equations (assignments): 1031 * 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%) 33,(2,100.0%) 19,(3,77.8%) 12,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 1 {2 19} Notification: Performance of prepare postOptimizeDAE: time 0.008717/1.837, allocations: 3.216 MB / 0.7703 GB, free: 97.88 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001618/1.838, allocations: 0.5148 MB / 0.7708 GB, free: 97.65 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0201/1.858, allocations: 9.824 MB / 0.7804 GB, free: 87.69 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.641e-05/1.859, allocations: 40 kB / 0.7804 GB, free: 87.65 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0164/1.875, allocations: 8.391 MB / 0.7886 GB, free: 79.13 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.601e-05/1.875, allocations: 15.95 kB / 0.7886 GB, free: 79.11 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04502/1.92, allocations: 22.15 MB / 0.8102 GB, free: 56.91 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.688e-05/1.92, allocations: 4.375 kB / 0.8102 GB, free: 56.91 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002491/1.923, allocations: 466.5 kB / 0.8107 GB, free: 56.45 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0101/1.933, allocations: 3.295 MB / 0.8139 GB, free: 53.15 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008295/1.934, allocations: 58.39 kB / 0.814 GB, free: 53.1 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03069/1.964, allocations: 25.19 MB / 0.8386 GB, free: 27.45 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01336/1.978, allocations: 11.02 MB / 0.8493 GB, free: 16.14 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02504/2.003, allocations: 14.15 MB / 0.8631 GB, free: 1.742 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00193/2.005, allocations: 0.5683 MB / 0.8637 GB, free: 1.148 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002057/2.007, allocations: 56 kB / 0.8637 GB, free: 1.094 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004153/2.011, allocations: 218.2 kB / 0.864 GB, free: 0.8828 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001225/2.012, allocations: 225.6 kB / 0.8642 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006678/2.013, allocations: 85 kB / 0.8643 GB, free: 0.5781 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.009383/2.022, allocations: 3.683 MB / 0.8678 GB, free: 12.93 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.523e-06/2.022, allocations: 3.938 kB / 0.8679 GB, free: 12.92 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.259/2.281, allocations: 1.973 MB / 0.8698 GB, free: 144.5 MB / 478.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 (210): * Single equations (assignments): 202 * 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%) 30,(3,100.0%) 21} * Non-linear torn systems: 1 {3 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.02858/2.31, allocations: 15.53 MB / 0.8849 GB, free: 142.1 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01831/2.328, allocations: 10.56 MB / 0.8953 GB, free: 138.3 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.214e-05/2.328, allocations: 5.062 kB / 0.8953 GB, free: 138.3 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00648/2.335, allocations: 4.079 MB / 0.8992 GB, free: 136.4 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004916/2.34, allocations: 0.7482 MB / 0.9 GB, free: 136.1 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2878/2.628, allocations: 157.1 MB / 1.053 GB, free: 164.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009012/2.637, allocations: 5.049 MB / 1.058 GB, free: 164 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.008103/2.645, allocations: 2.739 MB / 1.061 GB, free: 163.9 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004613/2.65, allocations: 3.115 MB / 1.064 GB, free: 163.9 MB / 494.1 MB Notification: Performance of SimCode: time 1.993e-06/2.65, allocations: 0 / 1.064 GB, free: 163.9 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.415/9.065, allocations: 145.8 MB / 1.206 GB, free: 37.27 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002005/9.065, allocations: 228.5 kB / 1.207 GB, free: 37.04 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.239/14.3, allocations: 0 / 1.207 GB, free: 37.04 MB / 494.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