Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.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.Sensors.CutTorque3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque3",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.001076/0.001076, allocations: 96.41 kB / 16.99 MB, free: 5.941 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.001252/0.001252, allocations: 181.1 kB / 17.87 MB, free: 5.609 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.64 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.2226/0.2226, allocations: 44.23 MB / 337.1 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003111/0.0003112, allocations: 12 kB / 409.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1199, allocations: 61.93 MB / 471.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.03252/0.1525, allocations: 32.31 MB / 0.492 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01639/0.169, allocations: 7.498 MB / 0.4994 GB, free: 5.707 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006241/0.1753, allocations: 155.7 kB / 0.4995 GB, free: 5.555 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006425/0.1818, allocations: 1.657 MB / 0.5011 GB, free: 3.891 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.3093/0.4911, allocations: 4.712 MB / 0.5057 GB, free: 11.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002187/0.4933, allocations: 220.7 kB / 0.5059 GB, free: 11.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003429/0.4968, allocations: 1.277 MB / 0.5072 GB, free: 11.58 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005181/0.502, allocations: 2.946 MB / 0.5101 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001247/0.5032, allocations: 0.5595 MB / 0.5106 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001159/0.5044, allocations: 0.6963 MB / 0.5113 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002861/0.5047, allocations: 85.56 kB / 0.5114 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001244/0.506, allocations: 0.5198 MB / 0.5119 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001094/0.5071, allocations: 0.9169 MB / 0.5128 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006243/0.5077, allocations: 0.5196 MB / 0.5133 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004991/0.5127, allocations: 3.422 MB / 0.5166 GB, free: 10.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.5127, allocations: 1.438 kB / 0.5166 GB, free: 10.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.956e-06/0.5128, allocations: 0 / 0.5166 GB, free: 10.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001634/0.5129, allocations: 0 / 0.5166 GB, free: 10.96 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.00688/0.5198, allocations: 2.498 MB / 0.5191 GB, free: 9.688 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.5199, allocations: 9.469 kB / 0.5191 GB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00135/0.5212, allocations: 497.4 kB / 0.5196 GB, free: 9.629 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006526/0.5278, allocations: 1.916 MB / 0.5214 GB, free: 9.441 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004626/0.5324, allocations: 1.32 MB / 0.5227 GB, free: 8.922 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002/0.5327, allocations: 154.6 kB / 0.5229 GB, free: 8.914 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001025/0.5337, allocations: 191.7 kB / 0.523 GB, free: 8.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01295/0.5467, allocations: 6.457 MB / 0.5293 GB, free: 7.211 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.554e-05/0.5467, allocations: 13.62 kB / 0.5294 GB, free: 7.211 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002701/0.547, allocations: 90.41 kB / 0.5294 GB, free: 7.211 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002041/0.5491, allocations: 1.409 MB / 0.5308 GB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01118/0.5603, allocations: 5.512 MB / 0.5362 GB, free: 6.094 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0333/0.5936, allocations: 20.63 MB / 0.5564 GB, free: 6.137 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004238/0.5979, allocations: 2.01 MB / 0.5583 GB, free: 4.387 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007268/0.6052, allocations: 3.663 MB / 0.5619 GB, free: 1.27 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.226e-05/0.6053, allocations: 38.31 kB / 0.5619 GB, free: 1.227 MB / 398.1 MB Notification: Performance of pre-optimization done (n=78): time 5.651e-06/0.6053, allocations: 1.641 kB / 0.5619 GB, free: 1.227 MB / 398.1 MB Notification: Performance of matching and sorting (n=78): time 0.005701/0.611, allocations: 2.234 MB / 0.5641 GB, free: 15.29 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.991e-05/0.6111, allocations: 59.84 kB / 0.5642 GB, free: 15.22 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002978/0.6141, allocations: 1.955 MB / 0.5661 GB, free: 13.74 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.22e-05/0.6142, allocations: 32.64 kB / 0.5661 GB, free: 13.71 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001307/0.6155, allocations: 1.884 MB / 0.5679 GB, free: 12.11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000291/0.6158, allocations: 315.6 kB / 0.5682 GB, free: 11.85 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/0.6159, allocations: 59.14 kB / 0.5683 GB, free: 11.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0003077/0.6162, allocations: 497.9 kB / 0.5688 GB, free: 11.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001271/0.6175, allocations: 0.8744 MB / 0.5696 GB, free: 10.79 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002321/0.6198, allocations: 2.754 MB / 0.5723 GB, free: 7.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001972/0.6218, allocations: 1.568 MB / 0.5739 GB, free: 5.902 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-05/0.6219, allocations: 20 kB / 0.5739 GB, free: 5.883 MB / 414.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.005241/0.6271, allocations: 3.514 MB / 0.5773 GB, free: 2.754 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.726e-05/0.6272, allocations: 40.06 kB / 0.5773 GB, free: 2.715 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-05/0.6273, allocations: 64 kB / 0.5774 GB, free: 2.652 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.495e-05/0.6274, allocations: 96 kB / 0.5775 GB, free: 2.559 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001866/0.6293, allocations: 0.6643 MB / 0.5781 GB, free: 1.957 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.754e-05/0.6294, allocations: 131.1 kB / 0.5783 GB, free: 1.855 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002064/0.6314, allocations: 424 kB / 0.5787 GB, free: 1.445 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002343/0.6317, allocations: 192 kB / 0.5789 GB, free: 1.258 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 304 * Number of states: 0 () * Number of discrete variables: 26 (cutTorque.torqueArrow.arrowLine.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,worldTorque.color[3],worldTorque.color[2],worldTorque.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (365): * Single equations (assignments): 360 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002568/0.6343, allocations: 1.378 MB / 0.5802 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002432/0.6345, allocations: 157.8 kB / 0.5804 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003211/0.6348, allocations: 194.9 kB / 0.5805 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-05/0.6349, allocations: 8 kB / 0.5805 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/0.6349, allocations: 0 / 0.5805 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.6349, allocations: 3.984 kB / 0.5806 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006833/0.6417, allocations: 4.094 MB / 0.5845 GB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/0.6418, allocations: 8 kB / 0.5846 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003861/0.6422, allocations: 105.6 kB / 0.5847 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.569e-05/0.6422, allocations: 12.75 kB / 0.5847 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.351e-05/0.6422, allocations: 20 kB / 0.5847 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.136e-05/0.6423, allocations: 15.09 kB / 0.5847 GB, free: 11.24 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.428e-06/0.6423, allocations: 10.62 kB / 0.5847 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001949/0.6442, allocations: 1.735 MB / 0.5864 GB, free: 9.184 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000492/0.6447, allocations: 266.7 kB / 0.5867 GB, free: 8.902 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000161/0.6449, allocations: 16 kB / 0.5867 GB, free: 8.887 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004677/0.6454, allocations: 27.89 kB / 0.5867 GB, free: 8.859 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.25e-05/0.6455, allocations: 57.84 kB / 0.5868 GB, free: 8.812 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.77e-05/0.6455, allocations: 36 kB / 0.5868 GB, free: 8.777 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001846/0.6474, allocations: 1.271 MB / 0.588 GB, free: 7.516 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6474, allocations: 0 / 0.588 GB, free: 7.516 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002928/0.6503, allocations: 0.7012 MB / 0.5887 GB, free: 6.816 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * 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 (57): * Single equations (assignments): 54 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002861/0.6532, allocations: 4.041 MB / 0.5927 GB, free: 2.582 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003292/0.6565, allocations: 2.021 MB / 0.5946 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/0.6565, allocations: 0 / 0.5946 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000515/0.6571, allocations: 468 kB / 0.5951 GB, free: 240 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001142/0.6582, allocations: 225.6 kB / 0.5953 GB, free: 16 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03554/0.6938, allocations: 55.39 MB / 0.6494 GB, free: 6.949 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003013/0.6968, allocations: 2.383 MB / 0.6517 GB, free: 4.539 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002524/0.6994, allocations: 0.9678 MB / 0.6527 GB, free: 3.566 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001624/0.701, allocations: 1.069 MB / 0.6537 GB, free: 2.496 MB / 494.1 MB Notification: Performance of SimCode: time 1.353e-06/0.701, allocations: 0 / 0.6537 GB, free: 2.496 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06852/0.7696, allocations: 36.22 MB / 0.6891 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001808/0.7698, allocations: 173.4 kB / 0.6892 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.817/3.587, allocations: 0 / 0.6892 GB, free: 14.3 MB / 0.5294 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque3_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque3.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat does not exist to compare? outputFormat=mat