Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001655/0.001655, allocations: 198.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.516/1.516, allocations: 227.2 MB / 245 MB, free: 5.922 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001352/0.001352, allocations: 107.4 kB / 297.3 MB, free: 5.996 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.5523/0.5523, allocations: 45.23 MB / 394.6 MB, free: 31.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003097/0.0003096, allocations: 4 kB / 468.5 MB, free: 7.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4426/0.4429, allocations: 63.26 MB / 0.5193 GB, free: 37.58 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.162/0.605, allocations: 109.8 MB / 0.6265 GB, free: 9.59 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002973/0.6054, allocations: 87.92 kB / 0.6266 GB, free: 9.508 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6994/1.305, allocations: 133 MB / 0.7565 GB, free: 84.4 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.597e-06/1.305, allocations: 0 / 0.7565 GB, free: 84.4 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004968/1.305, allocations: 134.2 kB / 0.7566 GB, free: 84.39 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2149 * Number of variables: 2149 Notification: Performance of Generate backend data structure: time 0.0265/1.332, allocations: 7.425 MB / 0.7638 GB, free: 78.23 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.729e-05/1.332, allocations: 8.031 kB / 0.7638 GB, free: 78.22 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005216/1.337, allocations: 1.087 MB / 0.7649 GB, free: 77.12 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03712/1.374, allocations: 9.426 MB / 0.7741 GB, free: 67.68 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02312/1.398, allocations: 7.71 MB / 0.7816 GB, free: 59.88 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004951/1.398, allocations: 468.4 kB / 0.7821 GB, free: 59.42 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004231/1.402, allocations: 0.6245 MB / 0.7827 GB, free: 58.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03819/1.441, allocations: 15.93 MB / 0.7983 GB, free: 41.62 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005766/1.441, allocations: 83.23 kB / 0.7983 GB, free: 41.54 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003322/1.445, allocations: 295.9 kB / 0.7986 GB, free: 41.25 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002349/1.447, allocations: 1.467 MB / 0.8001 GB, free: 39.78 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02741/1.474, allocations: 13.92 MB / 0.8136 GB, free: 25.83 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09585/1.57, allocations: 68.99 MB / 0.881 GB, free: 2.871 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3757/1.946, allocations: 7.197 MB / 0.8881 GB, free: 123.3 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02417/1.97, allocations: 17.3 MB / 0.9049 GB, free: 121.3 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.832e-05/1.97, allocations: 69.33 kB / 0.905 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=289): time 5.29e-06/1.97, allocations: 0 / 0.905 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=373): time 0.149/2.119, allocations: 56.91 MB / 0.9606 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/2.119, allocations: 324.2 kB / 0.9609 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008937/2.128, allocations: 4.847 MB / 0.9656 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001369/2.13, allocations: 81.7 kB / 0.9657 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002797/2.133, allocations: 4.288 MB / 0.9699 GB, free: 98.91 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.00239/2.135, allocations: 1.357 MB / 0.9712 GB, free: 97.71 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009157/2.136, allocations: 172.8 kB / 0.9714 GB, free: 97.54 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003887/2.136, allocations: 0.6486 MB / 0.972 GB, free: 96.99 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007288/2.144, allocations: 4.663 MB / 0.9766 GB, free: 93.01 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01068/2.154, allocations: 8.962 MB / 0.9853 GB, free: 82.95 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009686/2.164, allocations: 6.35 MB / 0.9915 GB, free: 77.46 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000154/2.164, allocations: 44 kB / 0.9916 GB, free: 77.42 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1059) (initialization): time 0.03731/2.202, allocations: 17.79 MB / 1.009 GB, free: 63.01 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001148/2.202, allocations: 68 kB / 1.009 GB, free: 62.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001976/2.202, allocations: 148 kB / 1.009 GB, free: 62.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01375/2.216, allocations: 4.766 MB / 1.014 GB, free: 58.04 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008095/2.224, allocations: 1.934 MB / 1.016 GB, free: 56.11 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03326/2.257, allocations: 26.19 MB / 1.041 GB, free: 29.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009694/2.267, allocations: 0.5967 MB / 1.042 GB, free: 28.94 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003142/2.27, allocations: 475.9 kB / 1.042 GB, free: 28.47 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 676 * Number of states: 0 () * Number of discrete variables: 59 (torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueArrow.arrowLine.twoHeadedArrow,torque.torqueArrow.headAtOrigin,torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[1],bodyBox3.color[3],bodyBox3.color[2],bodyBox3.color[1],bodyBox3.body.sphereColor[3],bodyBox3.body.sphereColor[2],bodyBox3.body.sphereColor[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],gearConstraint.fixedTranslation2.color[3],gearConstraint.fixedTranslation2.color[2],gearConstraint.fixedTranslation2.color[1],gearConstraint.fixedTranslation1.color[3],gearConstraint.fixedTranslation1.color[2],gearConstraint.fixedTranslation1.color[1],gearConstraint.actuatedRevolute_b.cylinderColor[3],gearConstraint.actuatedRevolute_b.cylinderColor[2],gearConstraint.actuatedRevolute_b.cylinderColor[1],gearConstraint.actuatedRevolute_a.cylinderColor[3],gearConstraint.actuatedRevolute_a.cylinderColor[2],gearConstraint.actuatedRevolute_a.cylinderColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (956): * Single equations (assignments): 950 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 15,(14,42.9%) 41,(2,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01005/2.28, allocations: 3.062 MB / 1.045 GB, free: 25.41 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001644/2.282, allocations: 0.5284 MB / 1.046 GB, free: 24.87 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02574/2.308, allocations: 12.67 MB / 1.058 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.272e-05/2.308, allocations: 40 kB / 1.058 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.233e-05/2.308, allocations: 16 kB / 1.058 GB, free: 12.08 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001167/2.308, allocations: 15.94 kB / 1.058 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04798/2.356, allocations: 22.43 MB / 1.08 GB, free: 5.594 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.78e-05/2.356, allocations: 4.75 kB / 1.08 GB, free: 5.59 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004155/2.36, allocations: 0.6513 MB / 1.081 GB, free: 4.938 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01461/2.375, allocations: 4.53 MB / 1.085 GB, free: 404 kB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001561/2.377, allocations: 67.98 kB / 1.085 GB, free: 336 kB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3894/2.766, allocations: 25.44 MB / 1.11 GB, free: 122.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.683e-06/2.766, allocations: 5.797 kB / 1.11 GB, free: 122.7 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04104/2.807, allocations: 18.95 MB / 1.129 GB, free: 117.9 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002139/2.809, allocations: 0.5523 MB / 1.129 GB, free: 117.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002218/2.812, allocations: 59.36 kB / 1.129 GB, free: 117.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004623/2.816, allocations: 345.3 kB / 1.13 GB, free: 117.7 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001499/2.818, allocations: 236.7 kB / 1.13 GB, free: 117.6 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004496/2.818, allocations: 96.5 kB / 1.13 GB, free: 117.6 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.006356/2.825, allocations: 3.455 MB / 1.133 GB, free: 116.5 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.61e-07/2.825, allocations: 0 / 1.133 GB, free: 116.5 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01151/2.836, allocations: 1.837 MB / 1.135 GB, free: 116.3 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (gearConstraint.actuatedRevolute_a.phi,gearConstraint.actuatedRevolute_a.w,revolute1.phi,revolute1.w,revolute2.phi,revolute2.w,revolute3.phi,revolute3.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 (283): * Single equations (assignments): 277 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 12,(14,43.4%) 41,(2,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03308/2.869, allocations: 19.81 MB / 1.154 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.02155/2.891, allocations: 12.28 MB / 1.166 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.859e-06/2.891, allocations: 2.078 kB / 1.166 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01198/2.903, allocations: 5.889 MB / 1.172 GB, free: 101.4 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005932/2.909, allocations: 0.6918 MB / 1.173 GB, free: 100.8 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4643/3.373, allocations: 169.6 MB / 1.338 GB, free: 148.1 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01056/3.384, allocations: 4.935 MB / 1.343 GB, free: 147.3 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.008999/3.393, allocations: 2.794 MB / 1.346 GB, free: 147.2 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006396/3.399, allocations: 3.096 MB / 1.349 GB, free: 146.4 MB / 0.573 GB Notification: Performance of SimCode: time 1.723e-06/3.399, allocations: 0 / 1.349 GB, free: 146.4 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2756/3.675, allocations: 145.4 MB / 1.491 GB, free: 33.8 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001613/3.675, allocations: 203.5 kB / 1.491 GB, free: 33.57 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.72/10.4, allocations: 0 / 1.491 GB, free: 33.57 MB / 0.573 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint3.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3_res.mat does not exist to compare? outputFormat=mat