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/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.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/Complex trunk/package.mo): time 0.001079/0.001079, allocations: 197.5 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.316/1.316, allocations: 225.6 MB / 234.8 MB, free: 3.246 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008833/0.0008832, allocations: 98.53 kB / 286.7 MB, free: 5.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2013/0.2013, allocations: 45.15 MB / 383.8 MB, free: 276 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.874e-05/1.875e-05, allocations: 4 kB / 453.3 MB, free: 75.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1104, allocations: 63.25 MB / 0.5045 GB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.411/0.5214, allocations: 110.6 MB / 0.6125 GB, free: 7.922 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002004/0.5217, allocations: 83.77 kB / 0.6125 GB, free: 7.879 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.228/0.7496, allocations: 94.34 MB / 0.7047 GB, free: 1.715 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.115e-06/0.7497, allocations: 0 / 0.7047 GB, free: 1.715 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002589/0.75, allocations: 99.94 kB / 0.7048 GB, free: 1.617 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: 1765 * Number of variables: 1765 Notification: Performance of Generate backend data structure: time 0.01988/0.7698, allocations: 5.447 MB / 0.7101 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.448e-05/0.7699, allocations: 8.031 kB / 0.7101 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01092/0.7808, allocations: 2.329 MB / 0.7124 GB, free: 9.758 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01295/0.7938, allocations: 4.211 MB / 0.7165 GB, free: 5.484 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002806/0.7942, allocations: 160 kB / 0.7166 GB, free: 5.328 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002423/0.7966, allocations: 296 kB / 0.7169 GB, free: 5.039 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01607/0.8127, allocations: 7.489 MB / 0.7242 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0233/0.836, allocations: 11.06 MB / 0.735 GB, free: 1.434 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002037/0.8363, allocations: 63.31 kB / 0.7351 GB, free: 1.371 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007231/0.837, allocations: 32 kB / 0.7351 GB, free: 1.34 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001631/0.8387, allocations: 1.16 MB / 0.7363 GB, free: 176 kB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3484/1.187, allocations: 52.15 MB / 0.7872 GB, free: 95.89 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005526/1.193, allocations: 4.263 MB / 0.7914 GB, free: 95.22 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004067/1.197, allocations: 3.069 MB / 0.7944 GB, free: 95.19 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001413/1.198, allocations: 1.01 MB / 0.7953 GB, free: 94.34 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.689e-05/1.198, allocations: 56.34 kB / 0.7954 GB, free: 94.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=203): time 4.078e-06/1.198, allocations: 0 / 0.7954 GB, free: 94.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=234): time 0.03929/1.238, allocations: 21.96 MB / 0.8168 GB, free: 91.03 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.039e-05/1.238, allocations: 152.2 kB / 0.817 GB, free: 90.87 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004081/1.242, allocations: 3.204 MB / 0.8201 GB, free: 90.18 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002663/1.242, allocations: 29.64 kB / 0.8201 GB, free: 90.14 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001572/1.244, allocations: 3.482 MB / 0.8235 GB, free: 87.77 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007103/1.244, allocations: 0.8629 MB / 0.8244 GB, free: 87.12 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002683/1.245, allocations: 0 / 0.8244 GB, free: 87.12 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002632/1.245, allocations: 0.5931 MB / 0.825 GB, free: 86.7 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002947/1.248, allocations: 2.72 MB / 0.8276 GB, free: 85.74 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004266/1.252, allocations: 6.642 MB / 0.8341 GB, free: 79.49 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004713/1.257, allocations: 4.187 MB / 0.8382 GB, free: 78.21 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.379e-05/1.257, allocations: 40.12 kB / 0.8382 GB, free: 78.21 MB / 0.5261 GB Notification: Performance of matching and sorting (n=880) (initialization): time 0.0149/1.272, allocations: 9.52 MB / 0.8475 GB, free: 75.36 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.918e-05/1.272, allocations: 67.62 kB / 0.8476 GB, free: 75.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001572/1.272, allocations: 141 kB / 0.8477 GB, free: 75.35 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002638/1.275, allocations: 1.127 MB / 0.8488 GB, free: 75.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00678/1.282, allocations: 1.678 MB / 0.8505 GB, free: 74.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00658/1.288, allocations: 5.622 MB / 0.856 GB, free: 72.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006129/1.294, allocations: 284.9 kB / 0.8562 GB, free: 72.09 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001702/1.296, allocations: 428.1 kB / 0.8566 GB, free: 72.03 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 639 * Number of states: 0 () * Number of discrete variables: 44 (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.torqueArrow.arrowLine.twoHeadedArrow,torque.torqueArrow.headAtOrigin,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (841): * Single equations (assignments): 837 * 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.002622/1.299, allocations: 463.7 kB / 0.8571 GB, free: 71.65 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008877/1.308, allocations: 5.182 MB / 0.8621 GB, free: 69.93 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008794/1.309, allocations: 359.3 kB / 0.8625 GB, free: 69.73 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008075/1.317, allocations: 5.02 MB / 0.8674 GB, free: 67.75 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.857e-05/1.317, allocations: 28 kB / 0.8674 GB, free: 67.73 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/1.317, allocations: 4 kB / 0.8674 GB, free: 67.72 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.48e-05/1.317, allocations: 11.5 kB / 0.8674 GB, free: 67.72 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01829/1.335, allocations: 10.52 MB / 0.8777 GB, free: 59.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.828e-05/1.335, allocations: 4 kB / 0.8777 GB, free: 59.23 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00242/1.338, allocations: 473.5 kB / 0.8782 GB, free: 58.87 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002178/1.34, allocations: 0.9391 MB / 0.8791 GB, free: 58.23 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002558/1.34, allocations: 18.39 kB / 0.8791 GB, free: 58.21 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005261/1.345, allocations: 5.345 MB / 0.8843 GB, free: 53.51 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/1.345, allocations: 0 / 0.8843 GB, free: 53.51 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01034/1.356, allocations: 9.004 MB / 0.8931 GB, free: 45.63 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00178/1.357, allocations: 0.8078 MB / 0.8939 GB, free: 44.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005075/1.358, allocations: 11.89 kB / 0.8939 GB, free: 44.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001891/1.36, allocations: 148.7 kB / 0.894 GB, free: 44.79 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003349/1.36, allocations: 139.2 kB / 0.8942 GB, free: 44.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001683/1.36, allocations: 67.42 kB / 0.8942 GB, free: 44.64 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002964/1.363, allocations: 2.13 MB / 0.8963 GB, free: 42.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.9e-07/1.363, allocations: 0 / 0.8963 GB, free: 42.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005148/1.369, allocations: 1.045 MB / 0.8973 GB, free: 41.77 MB / 0.5261 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 () * 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.01128/1.38, allocations: 10.37 MB / 0.9075 GB, free: 32.54 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009006/1.389, allocations: 6.498 MB / 0.9138 GB, free: 26.74 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/1.389, allocations: 0 / 0.9138 GB, free: 26.74 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002986/1.392, allocations: 2.496 MB / 0.9163 GB, free: 24.52 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002241/1.394, allocations: 351.6 kB / 0.9166 GB, free: 24.23 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02569/1.42, allocations: 10.93 MB / 0.9273 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003687/1.424, allocations: 3.766 MB / 0.9309 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005681/1.429, allocations: 2.217 MB / 0.9331 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003974/1.433, allocations: 2.206 MB / 0.9353 GB, free: 7.816 MB / 0.5261 GB Notification: Performance of SimCode: time 2.955e-06/1.433, allocations: 0 / 0.9353 GB, free: 7.816 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4635/1.897, allocations: 84.39 MB / 1.018 GB, free: 128.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001669/1.897, allocations: 138.2 kB / 1.018 GB, free: 127.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.236/6.133, allocations: 7.406 kB / 1.018 GB, free: 127.9 MB / 0.5417 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