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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001394/0.001394, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.451/1.451, allocations: 225.4 MB / 240.1 MB, free: 15.04 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000968/0.0009677, allocations: 83.91 kB / 292.1 MB, free: 5.988 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.84e-05/3.843e-05, allocations: 4 kB / 350.6 MB, free: 2.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1317, allocations: 51.48 MB / 402.1 MB, free: 14.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4347/0.5664, allocations: 115.3 MB / 0.5053 GB, free: 6.551 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002809/0.5667, allocations: 91.09 kB / 0.5054 GB, free: 6.508 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.654/1.221, allocations: 131.7 MB / 0.634 GB, free: 79.81 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.589e-06/1.221, allocations: 0 / 0.634 GB, free: 79.81 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0007364/1.222, allocations: 138.8 kB / 0.6341 GB, free: 79.8 MB / 442.7 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.02974/1.251, allocations: 7.174 MB / 0.6412 GB, free: 77.25 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.363e-05/1.252, allocations: 7.812 kB / 0.6412 GB, free: 77.25 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007164/1.259, allocations: 1.187 MB / 0.6423 GB, free: 76.85 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01523/1.274, allocations: 2.756 MB / 0.645 GB, free: 76.34 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02199/1.296, allocations: 6.52 MB / 0.6514 GB, free: 73.8 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008148/1.297, allocations: 0.5167 MB / 0.6519 GB, free: 73.59 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004839/1.302, allocations: 0.6901 MB / 0.6526 GB, free: 73.39 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05317/1.355, allocations: 17.11 MB / 0.6693 GB, free: 65.09 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008039/1.356, allocations: 80.12 kB / 0.6693 GB, free: 65.05 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004622/1.36, allocations: 325.3 kB / 0.6697 GB, free: 64.86 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003042/1.364, allocations: 1.49 MB / 0.6711 GB, free: 64.59 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03471/1.398, allocations: 14.28 MB / 0.6851 GB, free: 53.16 MB / 442.7 MB Warning: The model contains alias variables with conflicting start and/or 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.4881/1.886, allocations: 72.88 MB / 0.7562 GB, free: 46.07 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02252/1.909, allocations: 7.726 MB / 0.7638 GB, free: 45.39 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00594/1.915, allocations: 3.935 MB / 0.7676 GB, free: 45.35 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03073/1.946, allocations: 16.49 MB / 0.7837 GB, free: 41.84 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.001e-05/1.946, allocations: 64.05 kB / 0.7838 GB, free: 41.8 MB / 458.7 MB Notification: Performance of pre-optimization done (n=266): time 6.723e-06/1.946, allocations: 0 / 0.7838 GB, free: 41.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=340): time 0.1212/2.067, allocations: 38.76 MB / 0.8216 GB, free: 33.3 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02065/2.088, allocations: 14.86 MB / 0.8361 GB, free: 26.01 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01051/2.099, allocations: 4.942 MB / 0.841 GB, free: 24.19 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001352/2.1, allocations: 78.64 kB / 0.841 GB, free: 24.12 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004193/2.104, allocations: 4.681 MB / 0.8456 GB, free: 20.52 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002565/2.107, allocations: 1.274 MB / 0.8468 GB, free: 19.59 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001108/2.108, allocations: 184.8 kB / 0.847 GB, free: 19.45 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000536/2.108, allocations: 0.6878 MB / 0.8477 GB, free: 18.98 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006664/2.115, allocations: 3.994 MB / 0.8516 GB, free: 17.56 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01059/2.126, allocations: 9.146 MB / 0.8605 GB, free: 9.27 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009926/2.136, allocations: 5.997 MB / 0.8664 GB, free: 5.832 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002312/2.136, allocations: 55.95 kB / 0.8664 GB, free: 5.777 MB / 458.7 MB Notification: Performance of matching and sorting (n=1176) (initialization): time 0.04414/2.18, allocations: 17.67 MB / 0.8837 GB, free: 7.797 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001857/2.18, allocations: 87.95 kB / 0.8838 GB, free: 7.711 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003212/2.181, allocations: 180 kB / 0.884 GB, free: 7.535 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01697/2.198, allocations: 4.981 MB / 0.8888 GB, free: 4.172 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008632/2.206, allocations: 1.976 MB / 0.8907 GB, free: 2.465 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05815/2.265, allocations: 37.05 MB / 0.9269 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01097/2.276, allocations: 0.5395 MB / 0.9275 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003224/2.279, allocations: 0.5574 MB / 0.928 GB, free: 11.81 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 828 * Number of states: 0 () * Number of discrete variables: 62 (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.arrow.arrowLine.twoHeadedArrow,sensorConstraintRelative.arrow.headAtOrigin,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1042): * Single equations (assignments): 1031 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(3,100.0%) 38,(2,100.0%) 23,(2,100.0%) 13,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 1 {2 23} Notification: Performance of prepare postOptimizeDAE: time 0.005171/2.284, allocations: 0.7997 MB / 0.9288 GB, free: 11 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002478/2.287, allocations: 0.5206 MB / 0.9293 GB, free: 10.48 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03054/2.317, allocations: 10.37 MB / 0.9394 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001354/2.317, allocations: 44 kB / 0.9395 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.02366/2.341, allocations: 9.463 MB / 0.9487 GB, free: 6.336 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001112/2.341, allocations: 15.94 kB / 0.9487 GB, free: 6.32 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4178/2.759, allocations: 23.01 MB / 0.9712 GB, free: 149.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.453e-05/2.759, allocations: 8.844 kB / 0.9712 GB, free: 149.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002601/2.762, allocations: 439.8 kB / 0.9716 GB, free: 149.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01239/2.774, allocations: 3.678 MB / 0.9752 GB, free: 149.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000967/2.775, allocations: 68.47 kB / 0.9753 GB, free: 149.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04445/2.82, allocations: 27.3 MB / 1.002 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01735/2.837, allocations: 12.12 MB / 1.014 GB, free: 134.3 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02918/2.866, allocations: 14.62 MB / 1.028 GB, free: 128.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002381/2.869, allocations: 0.56 MB / 1.029 GB, free: 128.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002236/2.871, allocations: 51.95 kB / 1.029 GB, free: 128.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004868/2.876, allocations: 219 kB / 1.029 GB, free: 128.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001736/2.878, allocations: 234.3 kB / 1.029 GB, free: 128.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005347/2.878, allocations: 89.58 kB / 1.029 GB, free: 128.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.007946/2.886, allocations: 3.446 MB / 1.033 GB, free: 127.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.643e-06/2.886, allocations: 0 / 1.033 GB, free: 127.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01448/2.901, allocations: 2.037 MB / 1.035 GB, free: 127.2 MB / 0.5261 GB 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (206): * Single equations (assignments): 198 * 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%) 35,(3,100.0%) 25} * Non-linear torn systems: 1 {3 29} Notification: Performance of Backend phase and start with SimCode phase: time 0.02922/2.93, allocations: 16.02 MB / 1.05 GB, free: 120.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01917/2.949, allocations: 10.6 MB / 1.06 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.38e-05/2.949, allocations: 0 / 1.06 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.007173/2.957, allocations: 4.176 MB / 1.065 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005694/2.962, allocations: 0.7508 MB / 1.065 GB, free: 112.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04644/3.009, allocations: 15.68 MB / 1.081 GB, free: 98.61 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01067/3.02, allocations: 5.078 MB / 1.086 GB, free: 94.88 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.009182/3.029, allocations: 2.711 MB / 1.088 GB, free: 93.23 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0065/3.035, allocations: 3.114 MB / 1.091 GB, free: 90.34 MB / 0.5261 GB Notification: Performance of SimCode: time 2.164e-06/3.035, allocations: 0 / 1.091 GB, free: 90.34 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.551/3.586, allocations: 153.2 MB / 1.241 GB, free: 121.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002577/3.587, allocations: 207.2 kB / 1.241 GB, free: 121.6 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.452/11.04, allocations: 4 kB / 1.241 GB, free: 121.6 MB / 0.5261 GB (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