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.001126/0.001126, allocations: 95.44 kB / 17 MB, free: 6.402 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.001345/0.001345, allocations: 177.7 kB / 17.89 MB, free: 5.945 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.257/1.257, allocations: 223.3 MB / 241.9 MB, free: 344 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2149/0.2149, allocations: 44.23 MB / 337.2 MB, free: 2.809 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003698/0.0003699, allocations: 8 kB / 409.7 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1132, allocations: 61.93 MB / 471.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.03307/0.1463, allocations: 34.1 MB / 0.4939 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01759/0.1639, allocations: 7.207 MB / 0.5009 GB, free: 4.203 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006065/0.1701, allocations: 151.7 kB / 0.5011 GB, free: 4.055 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004755/0.1748, allocations: 1.501 MB / 0.5026 GB, free: 2.547 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2706/0.4455, allocations: 4.391 MB / 0.5068 GB, free: 11.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001997/0.4475, allocations: 245.9 kB / 0.5071 GB, free: 11.37 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005183/0.4527, allocations: 2.628 MB / 0.5096 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005108/0.4578, allocations: 2.968 MB / 0.5125 GB, free: 11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001547/0.4594, allocations: 0.686 MB / 0.5132 GB, free: 11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001567/0.461, allocations: 1.03 MB / 0.5142 GB, free: 11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002724/0.4613, allocations: 88.31 kB / 0.5143 GB, free: 11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001118/0.4624, allocations: 0.53 MB / 0.5148 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001263/0.4637, allocations: 0.989 MB / 0.5158 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005539/0.4642, allocations: 0.5236 MB / 0.5163 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003953/0.4682, allocations: 3.422 MB / 0.5196 GB, free: 10.72 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/0.4682, allocations: 0 / 0.5196 GB, free: 10.72 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.4682, allocations: 0.8906 kB / 0.5196 GB, free: 10.72 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.66e-05/0.4683, allocations: 1.094 kB / 0.5196 GB, free: 10.72 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.005412/0.4738, allocations: 2.455 MB / 0.522 GB, free: 9.402 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.4738, allocations: 10.56 kB / 0.522 GB, free: 9.402 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008107/0.4746, allocations: 494.1 kB / 0.5225 GB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004808/0.4795, allocations: 1.624 MB / 0.5241 GB, free: 8.465 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003441/0.4829, allocations: 1.322 MB / 0.5254 GB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001631/0.4831, allocations: 152.6 kB / 0.5255 GB, free: 7.934 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007076/0.4838, allocations: 193.8 kB / 0.5257 GB, free: 7.934 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01215/0.496, allocations: 6.416 MB / 0.532 GB, free: 6.246 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-05/0.4961, allocations: 18.3 kB / 0.532 GB, free: 6.242 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002752/0.4964, allocations: 88.52 kB / 0.5321 GB, free: 6.242 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002/0.4984, allocations: 1.402 MB / 0.5335 GB, free: 5.941 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01022/0.5086, allocations: 5.464 MB / 0.5388 GB, free: 4.984 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02678/0.5355, allocations: 20.59 MB / 0.5589 GB, free: 4.008 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00393/0.5394, allocations: 2.004 MB / 0.5609 GB, free: 2.262 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000939/0.5404, allocations: 0.6877 MB / 0.5615 GB, free: 1.797 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006271/0.5467, allocations: 3.641 MB / 0.5651 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/0.5468, allocations: 39 kB / 0.5651 GB, free: 14.61 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 4.138e-06/0.5468, allocations: 0 / 0.5651 GB, free: 14.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.005224/0.552, allocations: 1.98 MB / 0.5671 GB, free: 12.62 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.5521, allocations: 55.84 kB / 0.5671 GB, free: 12.56 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002985/0.5551, allocations: 1.948 MB / 0.569 GB, free: 10.61 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.779e-05/0.5552, allocations: 33.7 kB / 0.569 GB, free: 10.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001278/0.5565, allocations: 1.886 MB / 0.5709 GB, free: 8.691 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003621/0.5569, allocations: 314.9 kB / 0.5712 GB, free: 8.387 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/0.557, allocations: 56 kB / 0.5712 GB, free: 8.332 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0003161/0.5573, allocations: 497.2 kB / 0.5717 GB, free: 7.836 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001354/0.5587, allocations: 0.8842 MB / 0.5726 GB, free: 6.949 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00253/0.5612, allocations: 2.758 MB / 0.5753 GB, free: 3.285 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002318/0.5635, allocations: 1.561 MB / 0.5768 GB, free: 1.781 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.563e-05/0.5636, allocations: 20 kB / 0.5768 GB, free: 1.762 MB / 414.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.006313/0.5699, allocations: 3.521 MB / 0.5803 GB, free: 14.55 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.11e-05/0.57, allocations: 40.06 kB / 0.5803 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.571e-05/0.5701, allocations: 64 kB / 0.5804 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001035/0.5702, allocations: 100 kB / 0.5805 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001909/0.5721, allocations: 0.6628 MB / 0.5811 GB, free: 13.69 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001032/0.5723, allocations: 131.5 kB / 0.5812 GB, free: 13.56 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002104/0.5744, allocations: 417.1 kB / 0.5816 GB, free: 13.15 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002777/0.5747, allocations: 196 kB / 0.5818 GB, free: 12.96 MB / 430.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.00264/0.5773, allocations: 1.379 MB / 0.5832 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002977/0.5776, allocations: 157.9 kB / 0.5833 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004188/0.578, allocations: 202.9 kB / 0.5835 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.227e-05/0.5781, allocations: 8 kB / 0.5835 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.209e-05/0.5781, allocations: 0 / 0.5835 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.5781, allocations: 7.984 kB / 0.5835 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006497/0.5846, allocations: 4.089 MB / 0.5875 GB, free: 6.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.114e-05/0.5847, allocations: 4 kB / 0.5875 GB, free: 6.977 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004115/0.5851, allocations: 107.8 kB / 0.5876 GB, free: 6.871 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.688e-05/0.5851, allocations: 8.75 kB / 0.5876 GB, free: 6.863 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.399e-05/0.5852, allocations: 20 kB / 0.5876 GB, free: 6.844 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.275e-05/0.5852, allocations: 19.92 kB / 0.5877 GB, free: 6.824 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.848e-06/0.5852, allocations: 11.94 kB / 0.5877 GB, free: 6.812 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001592/0.5868, allocations: 1.255 MB / 0.5889 GB, free: 5.453 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005059/0.5873, allocations: 262.7 kB / 0.5891 GB, free: 5.176 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001699/0.5875, allocations: 27.33 kB / 0.5892 GB, free: 5.152 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004631/0.588, allocations: 27.89 kB / 0.5892 GB, free: 5.125 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.305e-05/0.5881, allocations: 69.47 kB / 0.5893 GB, free: 5.059 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.45e-05/0.5881, allocations: 28 kB / 0.5893 GB, free: 5.031 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002072/0.5902, allocations: 1.271 MB / 0.5905 GB, free: 3.77 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5902, allocations: 0 / 0.5905 GB, free: 3.77 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003067/0.5933, allocations: 0.698 MB / 0.5912 GB, free: 3.07 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.002111/0.5954, allocations: 1.866 MB / 0.593 GB, free: 1.094 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003386/0.5988, allocations: 2.023 MB / 0.595 GB, free: 15.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/0.5989, allocations: 0 / 0.595 GB, free: 15.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000593/0.5995, allocations: 458.9 kB / 0.5955 GB, free: 14.64 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001464/0.6009, allocations: 244.8 kB / 0.5957 GB, free: 14.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02571/0.6267, allocations: 15.47 MB / 0.6108 GB, free: 13.39 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002629/0.6294, allocations: 2.323 MB / 0.6131 GB, free: 11.04 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002338/0.6317, allocations: 0.9601 MB / 0.614 GB, free: 10.08 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001666/0.6334, allocations: 1.069 MB / 0.615 GB, free: 9.008 MB / 462.1 MB Notification: Performance of SimCode: time 1.022e-06/0.6334, allocations: 0 / 0.615 GB, free: 9.008 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06782/0.7012, allocations: 36.66 MB / 0.6509 GB, free: 4.609 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002658/0.7016, allocations: 182 kB / 0.651 GB, free: 4.371 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.803/3.505, allocations: 0 / 0.651 GB, free: 4.371 MB / 494.1 MB (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