Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.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.CutTorque2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque2",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.001173/0.001173, allocations: 98.42 kB / 16.98 MB, free: 5.938 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.001401/0.001401, allocations: 187.4 kB / 17.87 MB, free: 5.594 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.502/1.502, 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.1971/0.1971, allocations: 44.22 MB / 337.1 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003327/0.0003327, allocations: 8 kB / 409.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1082, allocations: 61.92 MB / 471.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.03042/0.1386, allocations: 32.31 MB / 0.492 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01523/0.1539, allocations: 7.502 MB / 0.4994 GB, free: 5.703 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004845/0.1588, allocations: 151.7 kB / 0.4995 GB, free: 5.555 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00481/0.1636, allocations: 1.657 MB / 0.5011 GB, free: 3.891 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2792/0.4428, allocations: 4.708 MB / 0.5057 GB, free: 11.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001986/0.4448, allocations: 224.4 kB / 0.5059 GB, free: 11.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002748/0.4476, allocations: 1.27 MB / 0.5072 GB, free: 11.58 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004865/0.4525, allocations: 2.949 MB / 0.5101 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001215/0.4537, allocations: 0.5547 MB / 0.5106 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00125/0.455, allocations: 0.6998 MB / 0.5113 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003522/0.4553, allocations: 87.91 kB / 0.5114 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001203/0.4566, allocations: 0.5178 MB / 0.5119 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001102/0.4577, allocations: 0.9143 MB / 0.5128 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005431/0.4582, allocations: 0.5244 MB / 0.5133 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004699/0.4629, allocations: 3.419 MB / 0.5166 GB, free: 10.97 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.463, allocations: 0 / 0.5166 GB, free: 10.97 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.463, allocations: 0 / 0.5166 GB, free: 10.97 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001573/0.4631, allocations: 5 kB / 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.006789/0.4699, allocations: 2.496 MB / 0.5191 GB, free: 9.695 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.559e-05/0.47, allocations: 12.72 kB / 0.5191 GB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001343/0.4713, allocations: 495.1 kB / 0.5195 GB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006873/0.4782, allocations: 1.914 MB / 0.5214 GB, free: 9.445 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004493/0.4828, allocations: 1.324 MB / 0.5227 GB, free: 8.938 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001316/0.4829, allocations: 149.5 kB / 0.5229 GB, free: 8.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006365/0.4836, allocations: 187.2 kB / 0.523 GB, free: 8.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01155/0.4951, allocations: 6.458 MB / 0.5293 GB, free: 7.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.565e-05/0.4952, allocations: 16.03 kB / 0.5294 GB, free: 7.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002826/0.4955, allocations: 90.5 kB / 0.5294 GB, free: 7.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002099/0.4976, allocations: 1.404 MB / 0.5308 GB, free: 6.926 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01036/0.508, allocations: 5.516 MB / 0.5362 GB, free: 6.109 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0268/0.5348, allocations: 20.63 MB / 0.5563 GB, free: 6.148 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004185/0.539, allocations: 2.004 MB / 0.5583 GB, free: 4.402 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007564/0.5466, allocations: 3.666 MB / 0.5619 GB, free: 1.285 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.618e-05/0.5467, allocations: 41.69 kB / 0.5619 GB, free: 1.238 MB / 398.1 MB Notification: Performance of pre-optimization done (n=78): time 4.108e-06/0.5467, allocations: 0 / 0.5619 GB, free: 1.238 MB / 398.1 MB Notification: Performance of matching and sorting (n=78): time 0.005786/0.5525, allocations: 2.23 MB / 0.5641 GB, free: 15.3 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.035e-05/0.5526, allocations: 55.84 kB / 0.5642 GB, free: 15.24 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003045/0.5557, allocations: 1.955 MB / 0.5661 GB, free: 13.76 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.735e-05/0.5558, allocations: 38.5 kB / 0.5661 GB, free: 13.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001257/0.557, allocations: 1.882 MB / 0.5679 GB, free: 12.12 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003536/0.5574, allocations: 308.2 kB / 0.5682 GB, free: 11.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.5575, allocations: 62.72 kB / 0.5683 GB, free: 11.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002951/0.5578, allocations: 496.4 kB / 0.5688 GB, free: 11.44 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001231/0.5591, allocations: 0.8828 MB / 0.5696 GB, free: 10.81 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002524/0.5616, allocations: 2.754 MB / 0.5723 GB, free: 7.406 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002063/0.5637, allocations: 1.564 MB / 0.5738 GB, free: 5.906 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-05/0.5637, allocations: 20 kB / 0.5739 GB, free: 5.887 MB / 414.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.005105/0.5688, allocations: 3.523 MB / 0.5773 GB, free: 2.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.69e-05/0.5689, allocations: 32 kB / 0.5773 GB, free: 2.719 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.907e-05/0.5689, allocations: 71.94 kB / 0.5774 GB, free: 2.648 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.203e-05/0.569, allocations: 97.97 kB / 0.5775 GB, free: 2.555 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001783/0.5708, allocations: 0.6654 MB / 0.5781 GB, free: 1.949 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.666e-05/0.5709, allocations: 124.5 kB / 0.5783 GB, free: 1.855 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001874/0.5728, allocations: 424.9 kB / 0.5787 GB, free: 1.441 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002316/0.5731, allocations: 194.7 kB / 0.5789 GB, free: 1.254 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.002302/0.5754, allocations: 1.374 MB / 0.5802 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002175/0.5756, allocations: 157.8 kB / 0.5803 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003416/0.576, allocations: 197.2 kB / 0.5805 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-05/0.576, allocations: 8 kB / 0.5805 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.576, allocations: 4 kB / 0.5805 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.576, allocations: 0 / 0.5805 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006562/0.5826, allocations: 4.093 MB / 0.5845 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.18e-05/0.5826, allocations: 8.844 kB / 0.5846 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003867/0.583, allocations: 104.2 kB / 0.5846 GB, free: 11.28 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.564e-05/0.583, allocations: 16 kB / 0.5847 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.347e-05/0.5831, allocations: 16 kB / 0.5847 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.425e-05/0.5831, allocations: 24.92 kB / 0.5847 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.78e-06/0.5831, allocations: 6.719 kB / 0.5847 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001875/0.585, allocations: 1.737 MB / 0.5864 GB, free: 9.172 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004719/0.5855, allocations: 254.7 kB / 0.5866 GB, free: 8.902 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001633/0.5857, allocations: 23.52 kB / 0.5867 GB, free: 8.883 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005005/0.5862, allocations: 27.88 kB / 0.5867 GB, free: 8.855 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.861e-05/0.5863, allocations: 57.06 kB / 0.5868 GB, free: 8.805 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-05/0.5863, allocations: 30.91 kB / 0.5868 GB, free: 8.777 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001833/0.5882, allocations: 1.275 MB / 0.588 GB, free: 7.512 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5882, allocations: 0 / 0.588 GB, free: 7.512 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002948/0.5911, allocations: 0.7034 MB / 0.5887 GB, free: 6.809 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.003523/0.5946, allocations: 4.032 MB / 0.5927 GB, free: 2.578 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003483/0.5981, allocations: 2.028 MB / 0.5946 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/0.5982, allocations: 0 / 0.5946 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006434/0.5988, allocations: 464.3 kB / 0.5951 GB, free: 256 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/0.6001, allocations: 225.8 kB / 0.5953 GB, free: 32 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0372/0.6373, allocations: 55.39 MB / 0.6494 GB, free: 6.953 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002444/0.6398, allocations: 2.379 MB / 0.6517 GB, free: 4.547 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002362/0.6422, allocations: 0.9562 MB / 0.6526 GB, free: 3.586 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001311/0.6435, allocations: 1.077 MB / 0.6537 GB, free: 2.508 MB / 494.1 MB Notification: Performance of SimCode: time 7.21e-07/0.6435, allocations: 0 / 0.6537 GB, free: 2.508 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06681/0.7103, allocations: 36.22 MB / 0.6891 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001676/0.7105, allocations: 169.3 kB / 0.6892 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.925/3.635, allocations: 7.938 kB / 0.6892 GB, free: 14.31 MB / 0.5294 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque2.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat does not exist to compare? outputFormat=mat