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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 97.3 kB / 16.98 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 184 kB / 17.87 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 223.2 MB / 241.8 MB, free: 14.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1996/0.1996, allocations: 44.22 MB / 337.1 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000341/0.0003414, allocations: 8 kB / 409.6 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.137, allocations: 61.93 MB / 471.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.3332/0.4703, allocations: 56.17 MB / 0.5154 GB, free: 9.922 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02966/0.5, allocations: 12.91 MB / 0.528 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01675/0.5168, allocations: 280 kB / 0.5282 GB, free: 8.883 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0109/0.5277, allocations: 2.812 MB / 0.531 GB, free: 8.312 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03108/0.5588, allocations: 8.044 MB / 0.5388 GB, free: 5.875 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004572/0.5634, allocations: 0.6211 MB / 0.5394 GB, free: 5.707 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006371/0.5698, allocations: 2.401 MB / 0.5418 GB, free: 5.219 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007818/0.5777, allocations: 5.905 MB / 0.5475 GB, free: 2.992 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002585/0.5803, allocations: 1.157 MB / 0.5487 GB, free: 2.414 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002069/0.5824, allocations: 1.512 MB / 0.5502 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004586/0.5828, allocations: 161.6 kB / 0.5503 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001746/0.5846, allocations: 0.7969 MB / 0.5511 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001288/0.5859, allocations: 1.757 MB / 0.5528 GB, free: 15.82 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009837/0.5869, allocations: 0.9635 MB / 0.5537 GB, free: 14.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006418/0.5933, allocations: 6.347 MB / 0.5599 GB, free: 8.676 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.5933, allocations: 0 / 0.5599 GB, free: 8.676 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.5933, allocations: 0 / 0.5599 GB, free: 8.676 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002188/0.5936, allocations: 4 kB / 0.5599 GB, free: 8.672 MB / 398.1 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.0188/0.6124, allocations: 5.392 MB / 0.5652 GB, free: 3.242 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.6124, allocations: 8.031 kB / 0.5652 GB, free: 3.234 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001744/0.6142, allocations: 0.842 MB / 0.566 GB, free: 2.422 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007481/0.6217, allocations: 2.297 MB / 0.5683 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005977/0.6277, allocations: 2.723 MB / 0.5709 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002051/0.6279, allocations: 295 kB / 0.5712 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008646/0.6287, allocations: 394.9 kB / 0.5716 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02342/0.6522, allocations: 12.49 MB / 0.5838 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001373/0.6523, allocations: 51.5 kB / 0.5838 GB, free: 15.63 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005148/0.6529, allocations: 178.4 kB / 0.584 GB, free: 15.49 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004012/0.6569, allocations: 2.26 MB / 0.5862 GB, free: 13.25 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0241/0.681, allocations: 11.48 MB / 0.5974 GB, free: 1.758 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0786/0.7596, allocations: 46.49 MB / 0.6428 GB, free: 2.152 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01989/0.7796, allocations: 5.613 MB / 0.6483 GB, free: 12.39 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001679/0.7813, allocations: 0.6985 MB / 0.649 GB, free: 11.59 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001072/0.7815, allocations: 55.81 kB / 0.6491 GB, free: 11.52 MB / 494.1 MB Notification: Performance of pre-optimization done (n=203): time 1.126e-05/0.7815, allocations: 0 / 0.6491 GB, free: 11.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=234): time 0.08689/0.8684, allocations: 28.08 MB / 0.6765 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001426/0.8686, allocations: 154.5 kB / 0.6766 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01001/0.8787, allocations: 4.521 MB / 0.681 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0008454/0.8796, allocations: 61.7 kB / 0.6811 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003181/0.8827, allocations: 3.427 MB / 0.6844 GB, free: 6.977 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001809/0.8846, allocations: 0.8791 MB / 0.6853 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009905/0.8856, allocations: 132 kB / 0.6854 GB, free: 5.957 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0006429/0.8862, allocations: 0.5829 MB / 0.686 GB, free: 5.367 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005813/0.8921, allocations: 3.249 MB / 0.6892 GB, free: 2.113 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00878/0.9009, allocations: 7.065 MB / 0.6961 GB, free: 9.148 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007977/0.9089, allocations: 4.67 MB / 0.7006 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001481/0.9091, allocations: 36 kB / 0.7007 GB, free: 4.445 MB / 0.5294 GB Notification: Performance of matching and sorting (n=854) (initialization): time 0.3325/1.242, allocations: 11.24 MB / 0.7116 GB, free: 180.4 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001262/1.242, allocations: 64.59 kB / 0.7117 GB, free: 180.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002494/1.242, allocations: 133.8 kB / 0.7118 GB, free: 180.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003135/1.245, allocations: 1.138 MB / 0.7129 GB, free: 180.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007235/1.252, allocations: 1.7 MB / 0.7146 GB, free: 180.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008266/1.261, allocations: 6.119 MB / 0.7206 GB, free: 177.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00601/1.267, allocations: 402.1 kB / 0.721 GB, free: 177.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001008/1.268, allocations: 442.2 kB / 0.7214 GB, free: 177.4 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 613 * Number of states: 0 () * Number of discrete variables: 44 (torque.torqueArrow.arrowLine.twoHeadedArrow,torque.torqueArrow.headAtOrigin,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.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 (815): * Single equations (assignments): 811 * 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.003711/1.271, allocations: 2.34 MB / 0.7237 GB, free: 176.4 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006847/1.272, allocations: 397.8 kB / 0.7241 GB, free: 176.4 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008465/1.281, allocations: 6.208 MB / 0.7301 GB, free: 174.4 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.171e-05/1.281, allocations: 26.66 kB / 0.7301 GB, free: 174.4 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/1.281, allocations: 7.344 kB / 0.7301 GB, free: 174.4 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.91e-05/1.281, allocations: 11.11 kB / 0.7302 GB, free: 174.4 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01793/1.299, allocations: 13 MB / 0.7429 GB, free: 168.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.54e-05/1.299, allocations: 4 kB / 0.7429 GB, free: 168.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002499/1.301, allocations: 0.5499 MB / 0.7434 GB, free: 168.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002198/1.303, allocations: 0.9477 MB / 0.7443 GB, free: 167.4 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002229/1.304, allocations: 85.3 kB / 0.7444 GB, free: 167.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005818/1.31, allocations: 5.839 MB / 0.7501 GB, free: 161.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/1.31, allocations: 5.422 kB / 0.7501 GB, free: 161.4 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01186/1.321, allocations: 10.92 MB / 0.7608 GB, free: 150.4 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00232/1.324, allocations: 0.9096 MB / 0.7617 GB, free: 149.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001002/1.325, allocations: 45.23 kB / 0.7617 GB, free: 149.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002776/1.328, allocations: 171.8 kB / 0.7619 GB, free: 149.3 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005068/1.328, allocations: 189.5 kB / 0.762 GB, free: 149.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002855/1.328, allocations: 108.8 kB / 0.7621 GB, free: 149 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004962/1.333, allocations: 2.852 MB / 0.7649 GB, free: 146.1 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6.81e-07/1.333, allocations: 0 / 0.7649 GB, free: 146.1 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005974/1.339, allocations: 1.221 MB / 0.7661 GB, free: 144.9 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (208): * Single equations (assignments): 204 * 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.01282/1.352, allocations: 12.4 MB / 0.7782 GB, free: 132.4 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01098/1.363, allocations: 7.684 MB / 0.7857 GB, free: 124.8 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/1.363, allocations: 4 kB / 0.7857 GB, free: 124.8 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003964/1.367, allocations: 3.021 MB / 0.7887 GB, free: 121.7 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003139/1.37, allocations: 461.3 kB / 0.7891 GB, free: 121.3 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3286/1.699, allocations: 138.3 MB / 0.9242 GB, free: 179 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004009/1.703, allocations: 3.769 MB / 0.9279 GB, free: 177.7 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005413/1.708, allocations: 2.277 MB / 0.9301 GB, free: 177.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003781/1.712, allocations: 2.356 MB / 0.9324 GB, free: 175.6 MB / 0.5294 GB Notification: Performance of SimCode: time 2.535e-06/1.712, allocations: 0 / 0.9324 GB, free: 175.6 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.145/1.857, allocations: 100 MB / 1.03 GB, free: 76.78 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001652/1.858, allocations: 205 kB / 1.03 GB, free: 76.54 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.499/6.356, allocations: 0 / 1.03 GB, free: 76.54 MB / 0.5294 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