Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.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) 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 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(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008162/0.0008162, 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.0009644/0.0009644, 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.343/1.343, allocations: 227.4 MB / 246 MB, free: 10.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.219/0.219, allocations: 45.91 MB / 344.1 MB, free: 11.96 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002804/0.0002805, allocations: 7.984 kB / 418.2 MB, free: 20.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1291, allocations: 63.48 MB / 481.6 MB, free: 5.215 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.3545/0.4837, allocations: 59.53 MB / 0.5285 GB, free: 9.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03568/0.5194, allocations: 12.37 MB / 0.5406 GB, free: 4.336 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01623/0.5357, allocations: 281.2 kB / 0.5408 GB, free: 4.293 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01109/0.5468, allocations: 3.101 MB / 0.5439 GB, free: 2.805 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03127/0.5781, allocations: 9.029 MB / 0.5527 GB, free: 12.65 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004639/0.5827, allocations: 0.619 MB / 0.5533 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.008162/0.5909, allocations: 5.038 MB / 0.5582 GB, free: 9.383 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01/0.6009, allocations: 5.951 MB / 0.564 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003666/0.6047, allocations: 1.417 MB / 0.5654 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003935/0.6086, allocations: 2.177 MB / 0.5675 GB, free: 68 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001233/0.6099, allocations: 160 kB / 0.5677 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002873/0.6128, allocations: 0.8035 MB / 0.5685 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003093/0.6159, allocations: 1.893 MB / 0.5703 GB, free: 13.21 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002308/0.6182, allocations: 0.9635 MB / 0.5713 GB, free: 12.23 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01027/0.6285, allocations: 6.352 MB / 0.5775 GB, free: 5.867 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.264e-05/0.6286, allocations: 0 / 0.5775 GB, free: 5.867 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.236e-06/0.6286, allocations: 0 / 0.5775 GB, free: 5.867 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004803/0.6291, allocations: 0 / 0.5775 GB, free: 5.867 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: 1765 * Number of variables: 1765 Notification: Performance of Generate backend data structure: time 0.01853/0.6476, allocations: 5.257 MB / 0.5826 GB, free: 0.543 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.6477, allocations: 8.031 kB / 0.5826 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003187/0.6509, allocations: 0.843 MB / 0.5834 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008096/0.659, allocations: 2.064 MB / 0.5854 GB, free: 13.61 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007209/0.6663, allocations: 2.816 MB / 0.5882 GB, free: 10.73 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003588/0.6667, allocations: 295.6 kB / 0.5885 GB, free: 10.45 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001821/0.6685, allocations: 391.8 kB / 0.5888 GB, free: 10.06 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02918/0.6977, allocations: 12.37 MB / 0.6009 GB, free: 12.98 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002685/0.698, allocations: 51.58 kB / 0.601 GB, free: 12.93 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001642/0.6997, allocations: 187.8 kB / 0.6012 GB, free: 12.74 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004569/0.7043, allocations: 2.249 MB / 0.6033 GB, free: 10.49 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02674/0.731, allocations: 11.34 MB / 0.6144 GB, free: 15.12 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06991/0.801, allocations: 46.47 MB / 0.6598 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01646/0.8175, allocations: 5.481 MB / 0.6652 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004872/0.8224, allocations: 3.436 MB / 0.6685 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001103/0.8235, allocations: 0.7063 MB / 0.6692 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.955e-05/0.8236, allocations: 55.88 kB / 0.6693 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=203): time 4.939e-06/0.8236, allocations: 0 / 0.6693 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of matching and sorting (n=234): time 0.07821/0.9018, allocations: 27.37 MB / 0.696 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001324/0.902, allocations: 154.5 kB / 0.6961 GB, free: 9.867 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006315/0.9083, allocations: 4.392 MB / 0.7004 GB, free: 5.453 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006558/0.909, allocations: 57.7 kB / 0.7005 GB, free: 5.391 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002548/0.9116, allocations: 3.423 MB / 0.7038 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001269/0.9129, allocations: 0.8868 MB / 0.7047 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003465/0.9132, allocations: 128 kB / 0.7048 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003867/0.9136, allocations: 0.579 MB / 0.7054 GB, free: 316 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3242/1.238, allocations: 3.257 MB / 0.7086 GB, free: 181.1 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008079/1.246, allocations: 7.083 MB / 0.7155 GB, free: 175.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009032/1.255, allocations: 4.67 MB / 0.72 GB, free: 173.8 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001595/1.255, allocations: 44.59 kB / 0.7201 GB, free: 173.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=854) (initialization): time 0.02517/1.28, allocations: 11.27 MB / 0.7311 GB, free: 170.1 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000281/1.281, allocations: 63.75 kB / 0.7311 GB, free: 170.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003001/1.281, allocations: 134.3 kB / 0.7313 GB, free: 170.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00265/1.284, allocations: 1.135 MB / 0.7324 GB, free: 169.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006578/1.29, allocations: 1.698 MB / 0.734 GB, free: 169.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006987/1.297, allocations: 6.001 MB / 0.7399 GB, free: 166.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007696/1.305, allocations: 401.6 kB / 0.7403 GB, free: 166.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002481/1.308, allocations: 446.1 kB / 0.7407 GB, free: 166.6 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 613 * Number of states: 0 () * Number of discrete variables: 44 (torque.torqueArrow.arrowLine.twoHeadedArrow,torque.torqueArrow.headAtOrigin,fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (815): * Single equations (assignments): 811 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006845/1.314, allocations: 2.338 MB / 0.743 GB, free: 165.3 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001739/1.316, allocations: 395.2 kB / 0.7434 GB, free: 165.1 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01212/1.328, allocations: 6.199 MB / 0.7494 GB, free: 160.1 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.113e-05/1.328, allocations: 31.95 kB / 0.7494 GB, free: 160.1 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.975e-05/1.328, allocations: 0 / 0.7494 GB, free: 160.1 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.743e-05/1.328, allocations: 19.95 kB / 0.7495 GB, free: 160.1 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02448/1.353, allocations: 13.06 MB / 0.7622 GB, free: 147 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.406e-05/1.353, allocations: 8.062 kB / 0.7622 GB, free: 147 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002764/1.356, allocations: 0.5537 MB / 0.7628 GB, free: 146.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002267/1.358, allocations: 0.9411 MB / 0.7637 GB, free: 145.5 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005354/1.359, allocations: 88.05 kB / 0.7638 GB, free: 145.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006481/1.365, allocations: 5.739 MB / 0.7694 GB, free: 139.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/1.365, allocations: 6.188 kB / 0.7694 GB, free: 139.6 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01506/1.38, allocations: 10.46 MB / 0.7796 GB, free: 129.2 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002451/1.383, allocations: 0.8979 MB / 0.7805 GB, free: 128.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001275/1.384, allocations: 44.94 kB / 0.7805 GB, free: 128.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002828/1.387, allocations: 171.8 kB / 0.7807 GB, free: 128 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000597/1.388, allocations: 182.8 kB / 0.7809 GB, free: 127.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003653/1.388, allocations: 111.7 kB / 0.781 GB, free: 127.8 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005051/1.393, allocations: 2.758 MB / 0.7837 GB, free: 125 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.91e-07/1.393, allocations: 0 / 0.7837 GB, free: 125 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007486/1.4, allocations: 1.204 MB / 0.7848 GB, free: 123.8 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,r1.phi,r1.w,r2.phi,r2.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 (206): * Single equations (assignments): 202 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01513/1.416, allocations: 11.14 MB / 0.7957 GB, free: 112.6 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01215/1.428, allocations: 7.687 MB / 0.8032 GB, free: 104.9 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.849e-06/1.428, allocations: 0 / 0.8032 GB, free: 104.9 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004491/1.432, allocations: 3.016 MB / 0.8062 GB, free: 101.9 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005155/1.438, allocations: 496 kB / 0.8066 GB, free: 101.4 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07761/1.515, allocations: 45.84 MB / 0.8514 GB, free: 51.46 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005751/1.521, allocations: 3.662 MB / 0.855 GB, free: 47.76 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006402/1.527, allocations: 2.27 MB / 0.8572 GB, free: 45.49 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004141/1.532, allocations: 2.354 MB / 0.8595 GB, free: 43.13 MB / 0.5294 GB Notification: Performance of SimCode: time 1.273e-06/1.532, allocations: 0 / 0.8595 GB, free: 43.13 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4344/1.966, allocations: 99.23 MB / 0.9564 GB, free: 164.2 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001794/1.966, allocations: 211.6 kB / 0.9566 GB, free: 163.9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.592/6.559, allocations: 0 / 0.9566 GB, free: 163.9 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_3_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_3.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat does not exist to compare? outputFormat=mat