Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.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_2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2",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.001706/0.001706, allocations: 179 kB / 14.15 MB, free: 1.176 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.348/1.348, allocations: 221.3 MB / 236 MB, free: 2.953 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008952/0.0008958, allocations: 87.81 kB / 287 MB, free: 240 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2235/0.2235, allocations: 44.14 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.293e-05/4.295e-05, allocations: 8.141 kB / 451.9 MB, free: 9.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1532, allocations: 61.91 MB / 0.5018 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5219/0.6752, allocations: 109.6 MB / 0.6088 GB, free: 11.61 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000252/0.6755, allocations: 83.95 kB / 0.6089 GB, free: 11.52 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2078/0.8834, allocations: 82.03 MB / 0.689 GB, free: 8.965 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.903e-06/0.8834, allocations: 0 / 0.689 GB, free: 8.965 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.000179/0.8836, allocations: 80.17 kB / 0.6891 GB, free: 8.887 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: 1442 * Number of variables: 1442 Notification: Performance of Generate backend data structure: time 0.01728/0.9009, allocations: 4.348 MB / 0.6933 GB, free: 4.477 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/0.9009, allocations: 12.02 kB / 0.6934 GB, free: 4.465 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002842/0.9038, allocations: 0.7294 MB / 0.6941 GB, free: 3.727 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01022/0.914, allocations: 2.178 MB / 0.6962 GB, free: 1.539 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01274/0.9268, allocations: 4.274 MB / 0.7004 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003386/0.9272, allocations: 304 kB / 0.7007 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00237/0.9296, allocations: 403.8 kB / 0.701 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02535/0.955, allocations: 10.21 MB / 0.711 GB, free: 1.297 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001855/0.9552, allocations: 63.41 kB / 0.7111 GB, free: 1.234 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008592/0.9561, allocations: 195.9 kB / 0.7113 GB, free: 1.043 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001428/0.9575, allocations: 0.9552 MB / 0.7122 GB, free: 88 kB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4157/1.373, allocations: 8.488 MB / 0.7205 GB, free: 123.8 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05691/1.43, allocations: 45.88 MB / 0.7653 GB, free: 95.45 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00993/1.44, allocations: 3.366 MB / 0.7686 GB, free: 94.12 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002154/1.442, allocations: 1.631 MB / 0.7702 GB, free: 93.45 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007346/1.45, allocations: 4.438 MB / 0.7745 GB, free: 90.9 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/1.45, allocations: 48.41 kB / 0.7745 GB, free: 90.85 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=121): time 5.069e-06/1.45, allocations: 0 / 0.7745 GB, free: 90.85 MB / 0.5105 GB Notification: Performance of matching and sorting (n=127): time 0.0213/1.471, allocations: 9.017 MB / 0.7834 GB, free: 87.16 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.001e-05/1.471, allocations: 144.6 kB / 0.7835 GB, free: 87 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005141/1.476, allocations: 3.52 MB / 0.7869 GB, free: 85.79 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002909/1.477, allocations: 45.61 kB / 0.787 GB, free: 85.74 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00166/1.478, allocations: 3.041 MB / 0.7899 GB, free: 83.42 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005712/1.479, allocations: 0.516 MB / 0.7904 GB, free: 83.06 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001948/1.479, allocations: 107.8 kB / 0.7906 GB, free: 82.98 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002742/1.479, allocations: 0.5401 MB / 0.7911 GB, free: 82.57 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002385/1.482, allocations: 1.735 MB / 0.7928 GB, free: 82.01 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003978/1.486, allocations: 5.308 MB / 0.798 GB, free: 76.55 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003877/1.49, allocations: 3.005 MB / 0.8009 GB, free: 75.59 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.295e-05/1.49, allocations: 34.44 kB / 0.8009 GB, free: 75.59 MB / 0.5105 GB Notification: Performance of matching and sorting (n=715) (initialization): time 0.01168/1.502, allocations: 7.497 MB / 0.8082 GB, free: 72.93 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.887e-05/1.502, allocations: 58.56 kB / 0.8083 GB, free: 72.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001199/1.502, allocations: 129.2 kB / 0.8084 GB, free: 72.93 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002191/1.504, allocations: 0.9063 MB / 0.8093 GB, free: 72.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003636/1.508, allocations: 1.281 MB / 0.8106 GB, free: 72.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005336/1.513, allocations: 4.763 MB / 0.8152 GB, free: 70.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005301/1.518, allocations: 305.4 kB / 0.8155 GB, free: 69.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001091/1.519, allocations: 349.1 kB / 0.8158 GB, free: 69.9 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 584 * Number of states: 0 () * Number of discrete variables: 38 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (676): * Single equations (assignments): 672 * 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.000983/1.52, allocations: 0.541 MB / 0.8164 GB, free: 69.45 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008527/1.521, allocations: 323.3 kB / 0.8167 GB, free: 69.28 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004876/1.526, allocations: 2.472 MB / 0.8191 GB, free: 68.47 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-05/1.526, allocations: 14.44 kB / 0.8191 GB, free: 68.47 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.194e-05/1.526, allocations: 3.469 kB / 0.8191 GB, free: 68.47 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/1.526, allocations: 6.797 kB / 0.8191 GB, free: 68.47 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01152/1.538, allocations: 6.421 MB / 0.8254 GB, free: 64.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-05/1.538, allocations: 3.938 kB / 0.8254 GB, free: 64.03 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009733/1.539, allocations: 203.5 kB / 0.8256 GB, free: 63.87 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001845/1.541, allocations: 0.6965 MB / 0.8263 GB, free: 63.42 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001043/1.541, allocations: 20.94 kB / 0.8263 GB, free: 63.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004661/1.545, allocations: 4.337 MB / 0.8305 GB, free: 59.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/1.545, allocations: 0 / 0.8305 GB, free: 59.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006077/1.552, allocations: 4.571 MB / 0.835 GB, free: 55.58 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00125/1.553, allocations: 394.9 kB / 0.8354 GB, free: 55.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003112/1.553, allocations: 17.95 kB / 0.8354 GB, free: 55.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001113/1.554, allocations: 88.69 kB / 0.8355 GB, free: 55.11 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002243/1.554, allocations: 69.53 kB / 0.8355 GB, free: 55.07 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.25e-05/1.555, allocations: 31.89 kB / 0.8356 GB, free: 55.04 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00364/1.558, allocations: 2.456 MB / 0.838 GB, free: 52.89 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/1.558, allocations: 0 / 0.838 GB, free: 52.89 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004999/1.563, allocations: 0.8919 MB / 0.8388 GB, free: 52 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 91 * 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 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006098/1.569, allocations: 5.363 MB / 0.8441 GB, free: 47.29 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006253/1.576, allocations: 4.22 MB / 0.8482 GB, free: 43.46 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/1.576, allocations: 0 / 0.8482 GB, free: 43.46 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001366/1.577, allocations: 1.167 MB / 0.8493 GB, free: 42.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002307/1.579, allocations: 391.4 kB / 0.8497 GB, free: 42.07 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01909/1.598, allocations: 8.016 MB / 0.8575 GB, free: 35.12 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003081/1.602, allocations: 3.186 MB / 0.8606 GB, free: 32.69 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004368/1.606, allocations: 1.73 MB / 0.8623 GB, free: 31.61 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002717/1.609, allocations: 1.757 MB / 0.864 GB, free: 29.98 MB / 0.5105 GB Notification: Performance of SimCode: time 2.024e-06/1.609, allocations: 0 / 0.864 GB, free: 29.98 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4874/2.096, allocations: 70.53 MB / 0.9329 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002083/2.096, allocations: 171.6 kB / 0.9331 GB, free: 128.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.334/6.43, allocations: 0 / 0.9331 GB, free: 128.2 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat does not exist to compare? outputFormat=mat