Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.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_1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002278/0.002277, allocations: 198.3 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.402/1.402, allocations: 227.2 MB / 245 MB, free: 5.902 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009192/0.0009192, allocations: 104.3 kB / 297.3 MB, free: 5.961 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4339/0.4339, allocations: 45.22 MB / 394.6 MB, free: 31.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002947/0.0002947, allocations: 8 kB / 468.5 MB, free: 7.594 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4553/0.4556, allocations: 63.25 MB / 0.5193 GB, free: 37.59 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1671/0.6228, allocations: 111.4 MB / 0.6281 GB, free: 7.98 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002862/0.6231, allocations: 83.92 kB / 0.6282 GB, free: 7.902 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6825/1.306, allocations: 158.9 MB / 0.7833 GB, free: 59.56 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.015e-06/1.306, allocations: 0 / 0.7833 GB, free: 59.56 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005312/1.306, allocations: 144 kB / 0.7834 GB, free: 59.42 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: 2276 * Number of variables: 2276 Notification: Performance of Generate backend data structure: time 0.0411/1.347, allocations: 9.7 MB / 0.7929 GB, free: 49.62 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/1.347, allocations: 8.031 kB / 0.7929 GB, free: 49.62 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005155/1.353, allocations: 1.165 MB / 0.794 GB, free: 48.44 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05746/1.41, allocations: 17.8 MB / 0.8114 GB, free: 30.6 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03097/1.441, allocations: 11.57 MB / 0.8227 GB, free: 18.96 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000496/1.442, allocations: 0.4932 MB / 0.8232 GB, free: 18.46 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003948/1.446, allocations: 0.6636 MB / 0.8239 GB, free: 17.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03881/1.484, allocations: 16.91 MB / 0.8404 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004556/1.485, allocations: 107 kB / 0.8405 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001743/1.487, allocations: 323.8 kB / 0.8408 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002517/1.489, allocations: 1.471 MB / 0.8422 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03562/1.525, allocations: 13.68 MB / 0.8556 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4902/2.015, allocations: 76.75 MB / 0.9305 GB, free: 57.45 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02612/2.041, allocations: 8.583 MB / 0.9389 GB, free: 56.77 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002022/2.043, allocations: 1.351 MB / 0.9402 GB, free: 55.64 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001116/2.044, allocations: 60 kB / 0.9403 GB, free: 55.6 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=268): time 1.13e-05/2.044, allocations: 0 / 0.9403 GB, free: 55.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=352): time 0.1642/2.208, allocations: 51.31 MB / 0.9904 GB, free: 48.43 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001968/2.21, allocations: 3.261 MB / 0.9936 GB, free: 45.23 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01536/2.225, allocations: 6.524 MB / 0.9999 GB, free: 43.13 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001365/2.227, allocations: 76.11 kB / 1 GB, free: 43.06 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.004402/2.231, allocations: 5.196 MB / 1.005 GB, free: 39.25 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002408/2.234, allocations: 1.339 MB / 1.006 GB, free: 38.27 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009212/2.234, allocations: 187.7 kB / 1.007 GB, free: 38.12 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004509/2.235, allocations: 0.7101 MB / 1.007 GB, free: 37.64 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006646/2.242, allocations: 4.558 MB / 1.012 GB, free: 36.05 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01128/2.253, allocations: 9.853 MB / 1.021 GB, free: 27.36 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01026/2.263, allocations: 6.545 MB / 1.028 GB, free: 22.63 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001856/2.263, allocations: 52 kB / 1.028 GB, free: 22.58 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.0717/2.335, allocations: 31.94 MB / 1.059 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001421/2.335, allocations: 84 kB / 1.059 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05157/2.387, allocations: 20.98 MB / 1.08 GB, free: 10.14 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04873/2.436, allocations: 16.95 MB / 1.096 GB, free: 9.148 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00866/2.444, allocations: 2.121 MB / 1.098 GB, free: 7.023 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5069/2.951, allocations: 35.35 MB / 1.133 GB, free: 137.1 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01181/2.963, allocations: 0.7705 MB / 1.133 GB, free: 137.1 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003465/2.967, allocations: 0.5662 MB / 1.134 GB, free: 137.1 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 845 * Number of states: 0 () * Number of discrete variables: 63 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],bodyCylinder4.color[3],bodyCylinder4.color[2],bodyCylinder4.color[1],bodyCylinder4.body.sphereColor[3],bodyCylinder4.body.sphereColor[2],bodyCylinder4.body.sphereColor[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],bodyCylinder3.color[3],bodyCylinder3.color[2],bodyCylinder3.color[1],bodyCylinder3.body.sphereColor[3],bodyCylinder3.body.sphereColor[2],bodyCylinder3.body.sphereColor[1],spherical2.sphereColor[3],spherical2.sphereColor[2],spherical2.sphereColor[1],fixed.color[3],fixed.color[2],fixed.color[1],bodyCylinder2.color[3],bodyCylinder2.color[2],bodyCylinder2.color[1],bodyCylinder2.body.sphereColor[3],bodyCylinder2.body.sphereColor[2],bodyCylinder2.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],bodyCylinder1.color[3],bodyCylinder1.color[2],bodyCylinder1.color[1],bodyCylinder1.body.sphereColor[3],bodyCylinder1.body.sphereColor[2],bodyCylinder1.body.sphereColor[1],spherical1.sphereColor[3],spherical1.sphereColor[2],spherical1.sphereColor[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 (1092): * Single equations (assignments): 1079 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 38,(4,100.0%) 41} * Non-linear torn systems: 2 {4 9,4 9} Notification: Performance of prepare postOptimizeDAE: time 0.01068/2.978, allocations: 3.424 MB / 1.137 GB, free: 137 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002209/2.98, allocations: 0.6752 MB / 1.138 GB, free: 137 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.024/3.004, allocations: 10.13 MB / 1.148 GB, free: 134.4 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01788/3.022, allocations: 8.835 MB / 1.157 GB, free: 131.4 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.447e-05/3.022, allocations: 14.84 kB / 1.157 GB, free: 131.4 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001082/3.022, allocations: 20.31 kB / 1.157 GB, free: 131.4 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05235/3.074, allocations: 23.42 MB / 1.179 GB, free: 122.8 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.37e-05/3.074, allocations: 0 / 1.179 GB, free: 122.8 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003357/3.078, allocations: 0.5716 MB / 1.18 GB, free: 122.8 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01192/3.09, allocations: 3.633 MB / 1.184 GB, free: 122.2 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001144/3.091, allocations: 95.61 kB / 1.184 GB, free: 122.1 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02663/3.118, allocations: 22.73 MB / 1.206 GB, free: 109.6 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001713/3.119, allocations: 3.035 MB / 1.209 GB, free: 106.7 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0258/3.145, allocations: 15.57 MB / 1.224 GB, free: 96.77 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003796/3.149, allocations: 0.7105 MB / 1.225 GB, free: 96.07 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003193/3.152, allocations: 82.44 kB / 1.225 GB, free: 96 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006049/3.158, allocations: 356.1 kB / 1.225 GB, free: 95.79 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00165/3.16, allocations: 243.4 kB / 1.225 GB, free: 95.65 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000385/3.16, allocations: 97.5 kB / 1.225 GB, free: 95.57 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0109/3.171, allocations: 4.677 MB / 1.23 GB, free: 91.78 MB / 0.573 GB Notification: Performance of sort global known variables: time 5.11e-07/3.171, allocations: 3.719 kB / 1.23 GB, free: 91.78 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01396/3.185, allocations: 2.129 MB / 1.232 GB, free: 89.66 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 16 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],bodyCylinder1.body.w_a[1],bodyCylinder1.body.w_a[2],bodyCylinder1.body.w_a[3],revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,rotor1D.rotorWith3DEffects.w_a[1],rotor1D.rotorWith3DEffects.w_a[2],rotor1D.rotorWith3DEffects.w_a[3]) * 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 (246): * Single equations (assignments): 236 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,100.0%) 34,(3,100.0%) 33,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02887/3.214, allocations: 16.64 MB / 1.248 GB, free: 75.37 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02331/3.238, allocations: 11.97 MB / 1.26 GB, free: 65.38 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/3.238, allocations: 0 / 1.26 GB, free: 65.38 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.008009/3.246, allocations: 5.086 MB / 1.265 GB, free: 60.81 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007793/3.254, allocations: 0.9467 MB / 1.266 GB, free: 59.91 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8073/4.061, allocations: 219.8 MB / 1.481 GB, free: 18.23 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01293/4.074, allocations: 5.495 MB / 1.486 GB, free: 17.34 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01135/4.085, allocations: 3.168 MB / 1.489 GB, free: 17.28 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008383/4.094, allocations: 3.67 MB / 1.493 GB, free: 16.6 MB / 0.573 GB Notification: Performance of SimCode: time 1.493e-06/4.094, allocations: 0 / 1.493 GB, free: 16.6 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5959/4.69, allocations: 176.7 MB / 1.665 GB, free: 72.35 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001907/4.69, allocations: 215.2 kB / 1.665 GB, free: 72.11 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.389/13.08, allocations: 0 / 1.665 GB, free: 72.11 MB / 0.573 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_1_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-08 ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_1.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1_res.mat does not exist to compare? outputFormat=mat