Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.0009978/0.0009977, allocations: 183.8 kB / 17.06 MB, free: 5.074 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 223.2 MB / 241 MB, free: 10.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009506/0.0009507, allocations: 98.41 kB / 292.1 MB, free: 10.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3539/0.3539, allocations: 44.22 MB / 387.5 MB, free: 38.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003546/0.0003546, allocations: 8 kB / 460 MB, free: 1.406 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.3674, allocations: 61.89 MB / 0.5096 GB, free: 37.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1516/0.519, allocations: 110.5 MB / 0.6175 GB, free: 0.6016 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002589/0.5193, allocations: 87.92 kB / 0.6176 GB, free: 0.5195 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5766/1.096, allocations: 95.49 MB / 0.7108 GB, free: 95.9 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.004e-06/1.096, allocations: 0 / 0.7108 GB, free: 95.9 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002137/1.096, allocations: 97.56 kB / 0.7109 GB, free: 95.9 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.02191/1.118, allocations: 5.625 MB / 0.7164 GB, free: 93.79 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.008e-05/1.118, allocations: 12.48 kB / 0.7164 GB, free: 93.79 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004628/1.123, allocations: 0.8833 MB / 0.7173 GB, free: 93.71 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01316/1.136, allocations: 2.285 MB / 0.7195 GB, free: 93.37 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01527/1.151, allocations: 4.769 MB / 0.7242 GB, free: 92.22 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005951/1.152, allocations: 378.6 kB / 0.7245 GB, free: 92.08 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003343/1.155, allocations: 0.4904 MB / 0.725 GB, free: 91.94 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0259/1.181, allocations: 12.53 MB / 0.7373 GB, free: 85.71 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001744/1.181, allocations: 65.75 kB / 0.7373 GB, free: 85.67 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007755/1.182, allocations: 230.2 kB / 0.7375 GB, free: 85.54 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00143/1.184, allocations: 1.161 MB / 0.7387 GB, free: 85.32 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02267/1.206, allocations: 10.86 MB / 0.7493 GB, free: 81.97 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06346/1.27, allocations: 54.24 MB / 0.8023 GB, free: 39.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01355/1.283, allocations: 5.121 MB / 0.8073 GB, free: 34.03 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001306/1.285, allocations: 1.015 MB / 0.8082 GB, free: 32.86 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/1.285, allocations: 59.75 kB / 0.8083 GB, free: 32.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=203): time 6.271e-06/1.285, allocations: 0 / 0.8083 GB, free: 32.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=234): time 0.05905/1.344, allocations: 25.01 MB / 0.8327 GB, free: 7.605 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.635e-05/1.344, allocations: 154.5 kB / 0.8329 GB, free: 7.426 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005604/1.35, allocations: 3.932 MB / 0.8367 GB, free: 3.48 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006262/1.35, allocations: 57.7 kB / 0.8368 GB, free: 3.418 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001666/1.352, allocations: 3.444 MB / 0.8401 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001406/1.353, allocations: 0.8844 MB / 0.841 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003721/1.354, allocations: 128 kB / 0.8411 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005441/1.354, allocations: 0.5868 MB / 0.8417 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005062/1.359, allocations: 2.882 MB / 0.8445 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008738/1.368, allocations: 6.704 MB / 0.851 GB, free: 2.879 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007998/1.376, allocations: 4.292 MB / 0.8552 GB, free: 14.59 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001192/1.376, allocations: 40 kB / 0.8553 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of matching and sorting (n=856) (initialization): time 0.02484/1.401, allocations: 10.45 MB / 0.8655 GB, free: 4.098 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002071/1.401, allocations: 60 kB / 0.8655 GB, free: 4.039 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003077/1.402, allocations: 136 kB / 0.8657 GB, free: 3.906 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003386/1.405, allocations: 1.124 MB / 0.8668 GB, free: 2.781 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006769/1.412, allocations: 1.637 MB / 0.8684 GB, free: 1.141 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008859/1.421, allocations: 6.037 MB / 0.8743 GB, free: 10.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006942/1.428, allocations: 411.2 kB / 0.8747 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001797/1.43, allocations: 411.9 kB / 0.875 GB, free: 10.17 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 615 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (817): * Single equations (assignments): 813 * 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.006624/1.436, allocations: 2.331 MB / 0.8773 GB, free: 7.824 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001208/1.438, allocations: 394.9 kB / 0.8777 GB, free: 7.434 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009945/1.448, allocations: 5.309 MB / 0.8829 GB, free: 2.105 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.603e-05/1.448, allocations: 24 kB / 0.8829 GB, free: 2.082 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.836e-05/1.448, allocations: 4.094 kB / 0.8829 GB, free: 2.078 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-05/1.448, allocations: 19.89 kB / 0.8829 GB, free: 2.059 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3959/1.844, allocations: 11.66 MB / 0.8943 GB, free: 128.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.296e-05/1.844, allocations: 2.75 kB / 0.8943 GB, free: 128.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002523/1.846, allocations: 483 kB / 0.8948 GB, free: 128.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002401/1.849, allocations: 0.9339 MB / 0.8957 GB, free: 128.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000358/1.849, allocations: 48.97 kB / 0.8957 GB, free: 128.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007028/1.856, allocations: 5.754 MB / 0.9014 GB, free: 127.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/1.856, allocations: 5.062 kB / 0.9014 GB, free: 127.5 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0138/1.87, allocations: 9.394 MB / 0.9105 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003671/1.874, allocations: 0.8661 MB / 0.9114 GB, free: 124.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001472/1.875, allocations: 39.72 kB / 0.9114 GB, free: 124.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002986/1.878, allocations: 182.3 kB / 0.9116 GB, free: 124.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000515/1.879, allocations: 140.5 kB / 0.9117 GB, free: 124.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002279/1.879, allocations: 69.53 kB / 0.9118 GB, free: 124.1 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.006523/1.885, allocations: 2.757 MB / 0.9145 GB, free: 123.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.61e-07/1.885, allocations: 0 / 0.9145 GB, free: 123.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008595/1.894, allocations: 1.208 MB / 0.9157 GB, free: 123.1 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 () * Number of clocked 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.01567/1.91, allocations: 10.76 MB / 0.9262 GB, free: 118.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01155/1.921, allocations: 6.896 MB / 0.9329 GB, free: 115.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.27e-05/1.921, allocations: 0 / 0.9329 GB, free: 115.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003744/1.925, allocations: 2.602 MB / 0.9354 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003153/1.928, allocations: 450.5 kB / 0.9359 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09738/2.026, allocations: 135.3 MB / 1.068 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00594/2.032, allocations: 3.77 MB / 1.072 GB, free: 9.059 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.006289/2.038, allocations: 2.198 MB / 1.074 GB, free: 7.641 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005189/2.043, allocations: 2.238 MB / 1.076 GB, free: 5.582 MB / 0.5417 GB Notification: Performance of SimCode: time 1.162e-06/2.043, allocations: 0 / 1.076 GB, free: 5.582 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.494/2.537, allocations: 93.05 MB / 1.167 GB, free: 120.2 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002289/2.538, allocations: 201 kB / 1.167 GB, free: 120 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.901/7.439, allocations: 0 / 1.167 GB, free: 120 MB / 0.5417 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_3_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_3.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat does not exist to compare? outputFormat=mat