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.001025/0.001025, allocations: 183.9 kB / 15.76 MB, free: 6.363 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.439/1.439, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0008528/0.0008528, allocations: 94.81 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2062/0.2062, allocations: 43.56 MB / 362.1 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003099/0.0003098, allocations: 12 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1189, allocations: 58.86 MB / 490.3 MB, free: 8.578 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4089/0.5279, allocations: 108.8 MB / 0.5852 GB, free: 7.176 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002703/0.5282, allocations: 87.02 kB / 0.5852 GB, free: 7.129 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6925/1.221, allocations: 148.4 MB / 0.7302 GB, free: 97.68 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.795e-06/1.221, allocations: 3.5 kB / 0.7302 GB, free: 97.68 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.001015/1.222, allocations: 145.6 kB / 0.7303 GB, free: 97.67 MB / 0.4948 GB 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.04251/1.264, allocations: 9.499 MB / 0.7396 GB, free: 94.47 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 7.055e-05/1.264, allocations: 7.562 kB / 0.7396 GB, free: 94.47 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006941/1.271, allocations: 1.159 MB / 0.7407 GB, free: 94.38 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05709/1.329, allocations: 16.67 MB / 0.757 GB, free: 93.87 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03683/1.365, allocations: 13.37 MB / 0.7701 GB, free: 92.8 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007219/1.366, allocations: 0.4938 MB / 0.7706 GB, free: 92.79 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004996/1.371, allocations: 0.6637 MB / 0.7712 GB, free: 92.78 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04612/1.417, allocations: 16.91 MB / 0.7877 GB, free: 88.44 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007405/1.418, allocations: 107.8 kB / 0.7878 GB, free: 88.43 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003659/1.422, allocations: 320.9 kB / 0.7881 GB, free: 88.25 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00265/1.425, allocations: 1.474 MB / 0.7896 GB, free: 87.98 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03408/1.459, allocations: 13.67 MB / 0.8029 GB, free: 84.13 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09492/1.554, allocations: 76.84 MB / 0.878 GB, free: 9.805 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02451/1.578, allocations: 8.597 MB / 0.8864 GB, free: 1.078 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001923/1.58, allocations: 1.342 MB / 0.8877 GB, free: 15.53 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001104/1.58, allocations: 64.56 kB / 0.8877 GB, free: 15.46 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=268): time 7.605e-06/1.58, allocations: 0 / 0.8877 GB, free: 15.46 MB / 0.5105 GB Notification: Performance of matching and sorting (n=352): time 0.4842/2.064, allocations: 51.53 MB / 0.9381 GB, free: 99.38 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002043/2.067, allocations: 3.261 MB / 0.9412 GB, free: 96.35 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02089/2.087, allocations: 6.583 MB / 0.9477 GB, free: 95.85 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001351/2.089, allocations: 78.91 kB / 0.9477 GB, free: 95.82 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005594/2.095, allocations: 5.212 MB / 0.9528 GB, free: 93.75 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002498/2.097, allocations: 1.343 MB / 0.9541 GB, free: 92.98 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001813/2.099, allocations: 183.8 kB / 0.9543 GB, free: 92.98 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001307/2.1, allocations: 0.7084 MB / 0.955 GB, free: 92.66 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007823/2.108, allocations: 4.555 MB / 0.9595 GB, free: 92.63 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01504/2.123, allocations: 9.853 MB / 0.9691 GB, free: 84.91 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01082/2.134, allocations: 6.539 MB / 0.9755 GB, free: 82.59 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004834/2.135, allocations: 51.72 kB / 0.9755 GB, free: 82.59 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.07671/2.211, allocations: 31.61 MB / 1.006 GB, free: 76.76 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003485/2.212, allocations: 87.39 kB / 1.006 GB, free: 76.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04743/2.259, allocations: 20.63 MB / 1.027 GB, free: 63.69 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04276/2.302, allocations: 16.61 MB / 1.043 GB, free: 47.04 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008228/2.31, allocations: 2.125 MB / 1.045 GB, free: 44.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04809/2.358, allocations: 35.35 MB / 1.079 GB, free: 9.066 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01114/2.369, allocations: 0.7773 MB / 1.08 GB, free: 8.289 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003136/2.373, allocations: 0.5585 MB / 1.081 GB, free: 7.73 MB / 0.5105 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.012/2.385, allocations: 3.445 MB / 1.084 GB, free: 4.281 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003279/2.388, allocations: 0.6775 MB / 1.085 GB, free: 3.598 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02531/2.413, allocations: 10.13 MB / 1.095 GB, free: 9.379 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.38/2.793, allocations: 8.82 MB / 1.103 GB, free: 106.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.679e-05/2.793, allocations: 16.84 kB / 1.103 GB, free: 106.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-05/2.794, allocations: 16.88 kB / 1.103 GB, free: 106.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05672/2.85, allocations: 23.44 MB / 1.126 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.825e-05/2.85, allocations: 3.75 kB / 1.126 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003325/2.854, allocations: 0.5692 MB / 1.127 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01225/2.866, allocations: 3.626 MB / 1.13 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001127/2.867, allocations: 97.69 kB / 1.13 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02853/2.896, allocations: 22.73 MB / 1.153 GB, free: 94.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001837/2.898, allocations: 3.03 MB / 1.156 GB, free: 92.02 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02787/2.926, allocations: 15.58 MB / 1.171 GB, free: 85.96 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005716/2.931, allocations: 1.374 MB / 1.172 GB, free: 85.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002642/2.934, allocations: 86.09 kB / 1.172 GB, free: 85.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005548/2.94, allocations: 358.7 kB / 1.173 GB, free: 85.48 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001464/2.941, allocations: 243 kB / 1.173 GB, free: 85.44 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007805/2.942, allocations: 101.6 kB / 1.173 GB, free: 85.42 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01408/2.956, allocations: 4.718 MB / 1.177 GB, free: 83.91 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.61e-07/2.956, allocations: 0 / 1.177 GB, free: 83.91 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01603/2.972, allocations: 2.13 MB / 1.18 GB, free: 83.7 MB / 0.5261 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.03102/3.003, allocations: 16.64 MB / 1.196 GB, free: 76.62 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02062/3.024, allocations: 11.97 MB / 1.207 GB, free: 70.91 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.121e-05/3.024, allocations: 0 / 1.207 GB, free: 70.91 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.008325/3.032, allocations: 5.096 MB / 1.212 GB, free: 66.39 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007201/3.039, allocations: 0.9407 MB / 1.213 GB, free: 65.63 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5842/3.624, allocations: 219.9 MB / 1.428 GB, free: 16.91 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007414/3.631, allocations: 5.518 MB / 1.433 GB, free: 16.02 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01023/3.641, allocations: 3.179 MB / 1.437 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008104/3.65, allocations: 3.687 MB / 1.44 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of SimCode: time 1.573e-06/3.65, allocations: 1.375 kB / 1.44 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8683/4.518, allocations: 177.2 MB / 1.613 GB, free: 92.8 MB / 0.5574 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001765/4.518, allocations: 207 kB / 1.613 GB, free: 92.57 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.822/12.34, allocations: 0 / 1.613 GB, free: 92.57 MB / 0.5574 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