Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1,fileNamePrefix="ModelicaTest_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001046/0.001046, allocations: 183 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.517/1.517, allocations: 205.2 MB / 218.9 MB, free: 9.215 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009591/0.0009589, allocations: 90.53 kB / 267.1 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4145/0.4145, allocations: 43.46 MB / 358.6 MB, free: 52.32 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.991e-05/2.994e-05, allocations: 4 kB / 425.4 MB, free: 8.781 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1345, allocations: 58.85 MB / 484.3 MB, free: 13.82 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4255/0.5601, allocations: 108.8 MB / 0.5791 GB, free: 12.13 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002808/0.5604, allocations: 81.73 kB / 0.5792 GB, free: 12.05 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.741/1.301, allocations: 148.6 MB / 0.7243 GB, free: 83.93 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.885e-06/1.302, allocations: 0 / 0.7243 GB, free: 83.93 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0006089/1.302, allocations: 143.6 kB / 0.7244 GB, free: 83.93 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.03902/1.341, allocations: 8.569 MB / 0.7328 GB, free: 81.07 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/1.341, allocations: 14.06 kB / 0.7328 GB, free: 81.06 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005428/1.347, allocations: 1.16 MB / 0.7339 GB, free: 80.97 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05964/1.406, allocations: 16.69 MB / 0.7502 GB, free: 79.6 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03486/1.441, allocations: 13.32 MB / 0.7632 GB, free: 74.57 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006304/1.442, allocations: 495.4 kB / 0.7637 GB, free: 74.38 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0045/1.446, allocations: 0.6653 MB / 0.7644 GB, free: 74.18 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04673/1.493, allocations: 16.79 MB / 0.7808 GB, free: 61.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006418/1.494, allocations: 107 kB / 0.7809 GB, free: 61.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003661/1.498, allocations: 328.2 kB / 0.7812 GB, free: 61.52 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002264/1.5, allocations: 1.481 MB / 0.7826 GB, free: 60.04 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03281/1.533, allocations: 13.48 MB / 0.7958 GB, free: 46.54 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5199/2.053, allocations: 76.83 MB / 0.8708 GB, free: 41.96 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02611/2.079, allocations: 8.545 MB / 0.8792 GB, free: 41.29 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005915/2.085, allocations: 4.094 MB / 0.8832 GB, free: 41.24 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001721/2.087, allocations: 1.345 MB / 0.8845 GB, free: 40.11 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.13e-05/2.087, allocations: 71.98 kB / 0.8845 GB, free: 40.07 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=268): time 7.083e-06/2.087, allocations: 0 / 0.8845 GB, free: 40.07 MB / 0.4948 GB Notification: Performance of matching and sorting (n=352): time 0.1533/2.24, allocations: 44.91 MB / 0.9284 GB, free: 34.77 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001906/2.242, allocations: 3.237 MB / 0.9316 GB, free: 31.59 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01385/2.256, allocations: 6.509 MB / 0.9379 GB, free: 29.44 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.00129/2.257, allocations: 81.3 kB / 0.938 GB, free: 29.37 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004657/2.262, allocations: 5.212 MB / 0.9431 GB, free: 25.54 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002411/2.264, allocations: 1.34 MB / 0.9444 GB, free: 24.57 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001109/2.265, allocations: 190.2 kB / 0.9446 GB, free: 24.42 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005042/2.266, allocations: 0.7127 MB / 0.9453 GB, free: 23.94 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006627/2.273, allocations: 4.479 MB / 0.9496 GB, free: 22.34 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01045/2.283, allocations: 9.787 MB / 0.9592 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01025/2.293, allocations: 6.52 MB / 0.9656 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001683/2.294, allocations: 56.22 kB / 0.9656 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.07296/2.367, allocations: 31.45 MB / 0.9963 GB, free: 14.15 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001428/2.367, allocations: 88 kB / 0.9964 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05232/2.419, allocations: 20.57 MB / 1.017 GB, free: 10.56 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05208/2.471, allocations: 16.6 MB / 1.033 GB, free: 9.914 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01013/2.481, allocations: 2.117 MB / 1.035 GB, free: 7.793 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0571/2.539, allocations: 33.33 MB / 1.067 GB, free: 5.969 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01335/2.552, allocations: 0.7761 MB / 1.068 GB, free: 5.191 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003557/2.556, allocations: 0.5567 MB / 1.069 GB, free: 4.637 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 () * 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.006233/2.562, allocations: 0.8141 MB / 1.069 GB, free: 3.82 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002461/2.564, allocations: 0.6786 MB / 1.07 GB, free: 3.137 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4335/2.998, allocations: 10.14 MB / 1.08 GB, free: 157.6 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0183/3.016, allocations: 8.849 MB / 1.089 GB, free: 157.2 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.949e-05/3.016, allocations: 21 kB / 1.089 GB, free: 157.2 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.682e-05/3.016, allocations: 15.05 kB / 1.089 GB, free: 157.2 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05943/3.076, allocations: 23.37 MB / 1.112 GB, free: 153.9 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-05/3.076, allocations: 1.406 kB / 1.112 GB, free: 153.9 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003585/3.08, allocations: 0.5553 MB / 1.112 GB, free: 153.9 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01476/3.094, allocations: 4.007 MB / 1.116 GB, free: 153.2 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001319/3.096, allocations: 100.7 kB / 1.116 GB, free: 153.2 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03069/3.126, allocations: 23.99 MB / 1.139 GB, free: 139.3 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001762/3.128, allocations: 3.001 MB / 1.142 GB, free: 136.5 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02962/3.158, allocations: 15.48 MB / 1.158 GB, free: 130.6 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006238/3.164, allocations: 1.383 MB / 1.159 GB, free: 130.2 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004648/3.169, allocations: 87.23 kB / 1.159 GB, free: 130.1 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008254/3.177, allocations: 360.9 kB / 1.159 GB, free: 130.1 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00183/3.179, allocations: 240.7 kB / 1.16 GB, free: 130 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009249/3.18, allocations: 102.8 kB / 1.16 GB, free: 130 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.01096/3.191, allocations: 4.647 MB / 1.164 GB, free: 128.5 MB / 0.573 GB Notification: Performance of sort global known variables: time 6.01e-07/3.191, allocations: 3.281 kB / 1.164 GB, free: 128.5 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01359/3.205, allocations: 2.136 MB / 1.166 GB, free: 128.3 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 16 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],fixedRotation1.frame_b.R.w[1],fixedRotation1.frame_b.R.w[2],fixedRotation1.frame_b.R.w[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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (244): * Single equations (assignments): 233 * 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: 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: 2 {4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(5,100.0%) 35,(1,100.0%) 1,(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.02916/3.234, allocations: 16.45 MB / 1.182 GB, free: 121.3 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0238/3.258, allocations: 11.8 MB / 1.194 GB, free: 114.9 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-05/3.258, allocations: 0 / 1.194 GB, free: 114.9 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.00968/3.267, allocations: 5.174 MB / 1.199 GB, free: 110.2 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008262/3.276, allocations: 0.9419 MB / 1.2 GB, free: 109.4 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06268/3.339, allocations: 18.78 MB / 1.218 GB, free: 93.5 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009534/3.348, allocations: 5.518 MB / 1.224 GB, free: 89.5 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01002/3.358, allocations: 3.17 MB / 1.227 GB, free: 87.44 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007669/3.366, allocations: 3.687 MB / 1.23 GB, free: 84.05 MB / 0.573 GB Notification: Performance of SimCode: time 1.863e-06/3.366, allocations: 0 / 1.23 GB, free: 84.05 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.675/4.041, allocations: 176.4 MB / 1.403 GB, free: 108.2 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001701/4.041, allocations: 189.3 kB / 1.403 GB, free: 107.9 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.394/12.44, allocations: 0 / 1.403 GB, free: 107.9 MB / 0.573 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_1_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-08 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_1.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1_res.mat does not exist to compare? outputFormat=mat