Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.002282/0.002288, allocations: 182.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.141/2.141, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.001134/0.001133, allocations: 90.64 kB / 267.5 MB, free: 14.11 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.3136/0.3136, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.373e-05/3.399e-05, allocations: 4 kB / 425.4 MB, free: 23.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1182, allocations: 58.85 MB / 484.2 MB, free: 12.37 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5094/0.6276, allocations: 108.8 MB / 0.5791 GB, free: 11.07 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003073/0.628, allocations: 78.67 kB / 0.5792 GB, free: 11.03 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9632/1.591, allocations: 148.5 MB / 0.7242 GB, free: 95.83 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.415e-06/1.591, allocations: 0 / 0.7242 GB, free: 95.83 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0007195/1.592, allocations: 143.4 kB / 0.7244 GB, free: 95.82 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.05816/1.65, allocations: 8.576 MB / 0.7328 GB, free: 93.02 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.818e-05/1.65, allocations: 11.59 kB / 0.7328 GB, free: 93.02 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005945/1.656, allocations: 1.16 MB / 0.7339 GB, free: 92.93 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1404/1.797, allocations: 16.69 MB / 0.7502 GB, free: 92.41 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04788/1.845, allocations: 13.32 MB / 0.7632 GB, free: 91.35 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006756/1.845, allocations: 496.9 kB / 0.7637 GB, free: 91.33 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004124/1.849, allocations: 0.6631 MB / 0.7643 GB, free: 91.32 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05502/1.905, allocations: 16.79 MB / 0.7807 GB, free: 87.17 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005964/1.905, allocations: 117.1 kB / 0.7808 GB, free: 87.15 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003107/1.908, allocations: 322.5 kB / 0.7811 GB, free: 87.15 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003678/1.912, allocations: 1.472 MB / 0.7826 GB, free: 87.12 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04684/1.959, allocations: 13.49 MB / 0.7958 GB, free: 83.74 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1236/2.083, allocations: 76.85 MB / 0.8708 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04565/2.128, allocations: 8.556 MB / 0.8792 GB, free: 5.758 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008157/2.137, allocations: 4.103 MB / 0.8832 GB, free: 1.652 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002649/2.139, allocations: 1.337 MB / 0.8845 GB, free: 112 kB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.605e-05/2.139, allocations: 60.56 kB / 0.8845 GB, free: 40 kB / 0.4948 GB Notification: Performance of pre-optimization done (n=268): time 6.934e-06/2.139, allocations: 7.938 kB / 0.8845 GB, free: 32 kB / 0.4948 GB Notification: Performance of matching and sorting (n=352): time 0.6294/2.769, allocations: 44.91 MB / 0.9284 GB, free: 98.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002499/2.771, allocations: 3.224 MB / 0.9315 GB, free: 95.17 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01559/2.787, allocations: 6.514 MB / 0.9379 GB, free: 94.64 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.00127/2.788, allocations: 77.92 kB / 0.938 GB, free: 94.61 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004921/2.793, allocations: 4.88 MB / 0.9427 GB, free: 92.52 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002543/2.796, allocations: 1.34 MB / 0.9441 GB, free: 91.75 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001349/2.797, allocations: 190.7 kB / 0.9442 GB, free: 91.75 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005867/2.798, allocations: 0.7174 MB / 0.9449 GB, free: 91.41 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01075/2.809, allocations: 4.485 MB / 0.9493 GB, free: 91.39 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01552/2.824, allocations: 9.778 MB / 0.9589 GB, free: 84.62 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.015/2.839, allocations: 6.527 MB / 0.9652 GB, free: 82.79 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002278/2.84, allocations: 54.12 kB / 0.9653 GB, free: 82.79 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.1243/2.964, allocations: 31.13 MB / 0.9957 GB, free: 77.59 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001635/2.964, allocations: 84.28 kB / 0.9958 GB, free: 77.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08725/3.051, allocations: 20.58 MB / 1.016 GB, free: 70.99 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08717/3.139, allocations: 16.6 MB / 1.032 GB, free: 55.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01351/3.152, allocations: 2.121 MB / 1.034 GB, free: 53.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07588/3.228, allocations: 33.33 MB / 1.067 GB, free: 19.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01433/3.242, allocations: 0.7812 MB / 1.067 GB, free: 18.79 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002661/3.245, allocations: 0.5557 MB / 1.068 GB, free: 18.23 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 () * 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.004035/3.249, allocations: 0.8109 MB / 1.069 GB, free: 17.41 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002188/3.251, allocations: 0.6786 MB / 1.069 GB, free: 16.73 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03422/3.286, allocations: 10.14 MB / 1.079 GB, free: 6.48 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0315/3.317, allocations: 8.85 MB / 1.088 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.991e-05/3.317, allocations: 23.27 kB / 1.088 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001041/3.317, allocations: 22.56 kB / 1.088 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4676/3.785, allocations: 23.35 MB / 1.111 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.635e-05/3.785, allocations: 3.812 kB / 1.111 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005946/3.791, allocations: 0.5544 MB / 1.111 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02396/3.815, allocations: 4.014 MB / 1.115 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001248/3.817, allocations: 102.8 kB / 1.115 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04564/3.862, allocations: 23.99 MB / 1.139 GB, free: 96.01 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002448/3.865, allocations: 2.997 MB / 1.142 GB, free: 93.28 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04343/3.908, allocations: 15.47 MB / 1.157 GB, free: 88.14 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006487/3.915, allocations: 1.382 MB / 1.158 GB, free: 87.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003445/3.918, allocations: 83.19 kB / 1.158 GB, free: 87.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008795/3.927, allocations: 360.1 kB / 1.159 GB, free: 87.66 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001954/3.929, allocations: 252.2 kB / 1.159 GB, free: 87.63 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001024/3.93, allocations: 95.78 kB / 1.159 GB, free: 87.61 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01372/3.944, allocations: 4.648 MB / 1.164 GB, free: 86.07 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.272e-06/3.944, allocations: 0 / 1.164 GB, free: 86.07 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01487/3.959, allocations: 2.128 MB / 1.166 GB, free: 85.86 MB / 0.5261 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.04559/4.005, allocations: 16.46 MB / 1.182 GB, free: 79.04 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02938/4.034, allocations: 11.82 MB / 1.193 GB, free: 74.84 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-05/4.034, allocations: 0 / 1.193 GB, free: 74.84 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01355/4.048, allocations: 5.169 MB / 1.198 GB, free: 72.33 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009101/4.057, allocations: 0.9549 MB / 1.199 GB, free: 71.96 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07627/4.133, allocations: 19.62 MB / 1.218 GB, free: 56.84 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01351/4.147, allocations: 5.516 MB / 1.224 GB, free: 52.85 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01013/4.157, allocations: 3.74 MB / 1.227 GB, free: 49.4 MB / 0.5261 GB Notification: Performance of SimCode: time 1.623e-06/4.157, allocations: 4 kB / 1.227 GB, free: 49.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 7.521/11.68, allocations: 361.4 MB / 1.58 GB, free: 126.2 MB / 0.573 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_1_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-08 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_1.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1_res.mat does not exist to compare? outputFormat=mat