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.001719/0.00172, allocations: 179.1 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.451/1.451, allocations: 221.4 MB / 236 MB, free: 2.961 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.001001/0.001, allocations: 87.8 kB / 287 MB, free: 260 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.2352/0.2352, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.464e-05/3.467e-05, allocations: 7.922 kB / 451.9 MB, free: 9.332 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1492, allocations: 61.91 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5332/0.6824, allocations: 110.4 MB / 0.6096 GB, free: 10.87 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003123/0.6828, allocations: 83.95 kB / 0.6097 GB, free: 10.79 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2482/0.931, allocations: 95.57 MB / 0.703 GB, free: 10.62 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.275e-06/0.931, allocations: 4 kB / 0.703 GB, free: 10.61 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002875/0.9313, allocations: 99.98 kB / 0.7031 GB, free: 10.52 MB / 0.5105 GB 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.02232/0.9537, allocations: 5.356 MB / 0.7083 GB, free: 5.094 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.418e-05/0.9537, allocations: 8.031 kB / 0.7083 GB, free: 5.086 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003586/0.9573, allocations: 0.886 MB / 0.7092 GB, free: 4.191 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01144/0.9688, allocations: 2.282 MB / 0.7114 GB, free: 1.898 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.41/1.379, allocations: 4.725 MB / 0.716 GB, free: 116.1 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006126/1.379, allocations: 374.1 kB / 0.7164 GB, free: 116.1 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003163/1.383, allocations: 0.4921 MB / 0.7169 GB, free: 116.1 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03223/1.415, allocations: 12.41 MB / 0.729 GB, free: 113.3 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003476/1.415, allocations: 63.83 kB / 0.7291 GB, free: 113.3 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001467/1.417, allocations: 245.2 kB / 0.7293 GB, free: 113.3 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002155/1.419, allocations: 1.156 MB / 0.7304 GB, free: 113.3 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02396/1.443, allocations: 10.67 MB / 0.7408 GB, free: 113.2 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06604/1.509, allocations: 54.24 MB / 0.7938 GB, free: 76.91 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0141/1.523, allocations: 5.061 MB / 0.7988 GB, free: 75.14 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003719/1.527, allocations: 3.118 MB / 0.8018 GB, free: 73.84 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001409/1.528, allocations: 1.007 MB / 0.8028 GB, free: 72.96 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.77e-05/1.528, allocations: 57.77 kB / 0.8028 GB, free: 72.91 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=203): time 9.187e-06/1.529, allocations: 0 / 0.8028 GB, free: 72.91 MB / 0.5105 GB Notification: Performance of matching and sorting (n=234): time 0.05461/1.583, allocations: 20.96 MB / 0.8233 GB, free: 65.71 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/1.583, allocations: 152.8 kB / 0.8235 GB, free: 65.55 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006216/1.59, allocations: 3.893 MB / 0.8273 GB, free: 62.12 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007758/1.59, allocations: 62.56 kB / 0.8273 GB, free: 62.06 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002121/1.592, allocations: 3.44 MB / 0.8307 GB, free: 58.97 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001231/1.594, allocations: 0.8889 MB / 0.8315 GB, free: 58.19 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003213/1.594, allocations: 132 kB / 0.8317 GB, free: 58.06 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003062/1.594, allocations: 0.5843 MB / 0.8322 GB, free: 57.55 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003528/1.598, allocations: 2.817 MB / 0.835 GB, free: 55.05 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005507/1.603, allocations: 6.623 MB / 0.8415 GB, free: 47.06 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006363/1.61, allocations: 4.265 MB / 0.8456 GB, free: 43.42 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.634e-05/1.61, allocations: 36 kB / 0.8457 GB, free: 43.38 MB / 0.5105 GB Notification: Performance of matching and sorting (n=856) (initialization): time 0.02059/1.631, allocations: 10.29 MB / 0.8557 GB, free: 34.56 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001507/1.631, allocations: 64 kB / 0.8558 GB, free: 34.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000277/1.631, allocations: 132 kB / 0.8559 GB, free: 34.37 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00311/1.634, allocations: 1.128 MB / 0.857 GB, free: 33.54 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006779/1.641, allocations: 1.634 MB / 0.8586 GB, free: 32.17 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00681/1.648, allocations: 5.924 MB / 0.8644 GB, free: 26.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006679/1.655, allocations: 412.6 kB / 0.8648 GB, free: 26.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001797/1.656, allocations: 408.9 kB / 0.8652 GB, free: 26.23 MB / 0.5105 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 () * 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.001813/1.658, allocations: 0.6067 MB / 0.8658 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001087/1.659, allocations: 402.8 kB / 0.8661 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008929/1.668, allocations: 5.217 MB / 0.8712 GB, free: 21.05 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.615e-05/1.668, allocations: 27.91 kB / 0.8713 GB, free: 21.02 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.77e-05/1.668, allocations: 4 kB / 0.8713 GB, free: 21.02 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.211e-05/1.669, allocations: 10.73 kB / 0.8713 GB, free: 21.02 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02421/1.693, allocations: 11.59 MB / 0.8826 GB, free: 11.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.302e-05/1.693, allocations: 11.92 kB / 0.8826 GB, free: 11.21 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002487/1.695, allocations: 479.6 kB / 0.8831 GB, free: 10.74 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002531/1.698, allocations: 0.9372 MB / 0.884 GB, free: 9.797 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000541/1.698, allocations: 43.95 kB / 0.884 GB, free: 9.754 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00649/1.705, allocations: 5.635 MB / 0.8895 GB, free: 3.996 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.181e-06/1.705, allocations: 7.938 kB / 0.8895 GB, free: 3.988 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01587/1.721, allocations: 9.251 MB / 0.8986 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00337/1.724, allocations: 0.8706 MB / 0.8994 GB, free: 9.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001918/1.726, allocations: 43.83 kB / 0.8995 GB, free: 9.621 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00367/1.73, allocations: 179.7 kB / 0.8996 GB, free: 9.445 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008463/1.731, allocations: 141.8 kB / 0.8998 GB, free: 9.305 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006065/1.731, allocations: 67.98 kB / 0.8998 GB, free: 9.238 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00791/1.739, allocations: 2.714 MB / 0.9025 GB, free: 6.516 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.72e-07/1.739, allocations: 0 / 0.9025 GB, free: 6.516 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00978/1.749, allocations: 1.205 MB / 0.9037 GB, free: 5.316 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 () * 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.4361/2.185, allocations: 10.61 MB / 0.914 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01515/2.201, allocations: 6.783 MB / 0.9206 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/2.201, allocations: 1.375 kB / 0.9206 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005871/2.207, allocations: 2.545 MB / 0.9231 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004703/2.211, allocations: 452.5 kB / 0.9236 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03699/2.248, allocations: 11.27 MB / 0.9346 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004302/2.253, allocations: 3.772 MB / 0.9382 GB, free: 115.9 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005847/2.259, allocations: 2.207 MB / 0.9404 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005116/2.264, allocations: 2.234 MB / 0.9426 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of SimCode: time 3.186e-06/2.264, allocations: 1.969 kB / 0.9426 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1515/2.415, allocations: 93.21 MB / 1.034 GB, free: 67.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001886/2.416, allocations: 181.6 kB / 1.034 GB, free: 66.97 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.985/7.4, allocations: 4.062 kB / 1.034 GB, free: 66.97 MB / 0.5261 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