Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CutTorque,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque",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.001144/0.001144, allocations: 96.67 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 177 kB / 16.57 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.632/1.632, allocations: 205.4 MB / 222.7 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4075/0.4075, allocations: 43.54 MB / 314.5 MB, free: 8.961 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005424/0.0005426, allocations: 20 kB / 384 MB, free: 8.172 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.139, allocations: 58.85 MB / 442.8 MB, free: 13.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.3152/0.4543, allocations: 87.4 MB / 0.5178 GB, free: 9.156 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04723/0.5016, allocations: 19.32 MB / 0.5367 GB, free: 12.02 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02499/0.5266, allocations: 441.9 kB / 0.5371 GB, free: 11.95 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01852/0.5452, allocations: 4.424 MB / 0.5414 GB, free: 10.4 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0476/0.5928, allocations: 12.48 MB / 0.5536 GB, free: 14.71 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007099/0.5999, allocations: 1.245 MB / 0.5548 GB, free: 13.47 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01069/0.6107, allocations: 4.672 MB / 0.5594 GB, free: 8.801 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01529/0.626, allocations: 9.214 MB / 0.5684 GB, free: 15.54 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005122/0.6312, allocations: 2.138 MB / 0.5705 GB, free: 13.39 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004824/0.636, allocations: 2.765 MB / 0.5732 GB, free: 10.62 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001771/0.6379, allocations: 296 kB / 0.5734 GB, free: 10.33 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003825/0.6417, allocations: 0.9559 MB / 0.5744 GB, free: 9.371 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004975/0.6467, allocations: 3.226 MB / 0.5775 GB, free: 6.137 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00334/0.6501, allocations: 1.61 MB / 0.5791 GB, free: 4.516 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01595/0.6661, allocations: 10.46 MB / 0.5893 GB, free: 10.04 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.6661, allocations: 4 kB / 0.5893 GB, free: 10.03 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.517e-06/0.6661, allocations: 7.938 kB / 0.5893 GB, free: 10.02 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0006495/0.6668, allocations: 0 / 0.5893 GB, free: 10.02 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2935 * Number of variables: 2935 Notification: Performance of Generate backend data structure: time 0.022/0.6888, allocations: 8.163 MB / 0.5973 GB, free: 1.77 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.741e-05/0.6889, allocations: 20 kB / 0.5973 GB, free: 1.75 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004779/0.6937, allocations: 1.369 MB / 0.5987 GB, free: 376 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01408/0.7078, allocations: 3.128 MB / 0.6017 GB, free: 13.22 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01292/0.7207, allocations: 5.74 MB / 0.6073 GB, free: 7.406 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005076/0.7213, allocations: 484 kB / 0.6078 GB, free: 6.93 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002637/0.7239, allocations: 0.609 MB / 0.6084 GB, free: 6.32 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03718/0.7611, allocations: 19.63 MB / 0.6275 GB, free: 1.48 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002527/0.7614, allocations: 75.34 kB / 0.6276 GB, free: 1.406 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001118/0.7626, allocations: 299.7 kB / 0.6279 GB, free: 1.113 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.4672/1.23, allocations: 3.638 MB / 0.6315 GB, free: 136.2 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0344/1.264, allocations: 15.32 MB / 0.6464 GB, free: 133.5 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1035/1.368, allocations: 73.32 MB / 0.718 GB, free: 81.66 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01594/1.384, allocations: 6.113 MB / 0.724 GB, free: 75.4 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02119/1.405, allocations: 11.32 MB / 0.735 GB, free: 63.7 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.65e-05/1.405, allocations: 68.5 kB / 0.7351 GB, free: 63.63 MB / 494.1 MB Notification: Performance of pre-optimization done (n=250): time 5.43e-06/1.405, allocations: 0 / 0.7351 GB, free: 63.63 MB / 494.1 MB Notification: Performance of matching and sorting (n=274): time 0.04033/1.445, allocations: 16.88 MB / 0.7516 GB, free: 46.73 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.496e-05/1.446, allocations: 158.5 kB / 0.7517 GB, free: 46.54 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008928/1.455, allocations: 7.225 MB / 0.7588 GB, free: 39.34 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005598/1.455, allocations: 65.7 kB / 0.7589 GB, free: 39.27 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003041/1.458, allocations: 5.748 MB / 0.7645 GB, free: 33.52 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001146/1.459, allocations: 1.061 MB / 0.7655 GB, free: 32.46 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000322/1.46, allocations: 180 kB / 0.7657 GB, free: 32.29 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003777/1.46, allocations: 0.7031 MB / 0.7664 GB, free: 31.58 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003783/1.464, allocations: 2.708 MB / 0.769 GB, free: 28.86 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006231/1.47, allocations: 8.551 MB / 0.7774 GB, free: 17.39 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005932/1.476, allocations: 4.645 MB / 0.7819 GB, free: 12.74 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.136e-05/1.476, allocations: 64 kB / 0.782 GB, free: 12.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=1243) (initialization): time 0.01978/1.496, allocations: 10.95 MB / 0.7926 GB, free: 1.73 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001208/1.496, allocations: 97 kB / 0.7927 GB, free: 1.637 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002221/1.496, allocations: 208 kB / 0.7929 GB, free: 1.434 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000227/1.497, allocations: 308 kB / 0.7932 GB, free: 1.133 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007267/1.504, allocations: 2.179 MB / 0.7954 GB, free: 14.95 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004447/1.504, allocations: 410.4 kB / 0.7958 GB, free: 14.55 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007964/1.512, allocations: 471.5 kB / 0.7962 GB, free: 14.09 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001684/1.514, allocations: 0.58 MB / 0.7968 GB, free: 13.51 MB / 0.4982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 951 * Number of states: 0 () * Number of discrete variables: 60 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutTorque2b.torqueColor[3],cutTorque2b.torqueColor[2],cutTorque2b.torqueColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutTorque1b.torqueColor[3],cutTorque1b.torqueColor[2],cutTorque1b.torqueColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutTorque2a.torqueColor[3],cutTorque2a.torqueColor[2],cutTorque2a.torqueColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutTorque1a.torqueColor[3],cutTorque1a.torqueColor[2],cutTorque1a.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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1179): * Single equations (assignments): 1168 * Array equations: 11 * 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.009701/1.524, allocations: 3.763 MB / 0.8004 GB, free: 9.734 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001827/1.526, allocations: 0.5861 MB / 0.801 GB, free: 9.141 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00733/1.533, allocations: 2.977 MB / 0.8039 GB, free: 6.145 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.016e-05/1.533, allocations: 28 kB / 0.8039 GB, free: 6.117 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.346e-05/1.533, allocations: 4 kB / 0.804 GB, free: 6.113 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-05/1.533, allocations: 11.95 kB / 0.804 GB, free: 6.102 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3086/1.842, allocations: 25.16 MB / 0.8285 GB, free: 146.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.191e-05/1.842, allocations: 67.06 kB / 0.8286 GB, free: 146.4 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002114/1.844, allocations: 0.6129 MB / 0.8292 GB, free: 146.3 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.933e-05/1.844, allocations: 89.72 kB / 0.8293 GB, free: 146.3 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002439/1.844, allocations: 136 kB / 0.8294 GB, free: 146.3 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001048/1.844, allocations: 130.1 kB / 0.8295 GB, free: 146.3 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.478e-05/1.844, allocations: 98.31 kB / 0.8296 GB, free: 146.3 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01243/1.857, allocations: 17.41 MB / 0.8466 GB, free: 130.5 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002322/1.859, allocations: 0.7415 MB / 0.8473 GB, free: 130.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001056/1.86, allocations: 148.2 kB / 0.8475 GB, free: 130.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002985/1.863, allocations: 158.7 kB / 0.8476 GB, free: 130.4 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005696/1.864, allocations: 416.9 kB / 0.848 GB, free: 130.3 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002917/1.864, allocations: 176.2 kB / 0.8482 GB, free: 130.3 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.009827/1.874, allocations: 4.573 MB / 0.8527 GB, free: 129.6 MB / 0.5138 GB Notification: Performance of sort global known variables: time 6.51e-07/1.874, allocations: 2.344 kB / 0.8527 GB, free: 129.6 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01208/1.886, allocations: 1.57 MB / 0.8542 GB, free: 129.4 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 288 * 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 (326): * Single equations (assignments): 323 * 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.01617/1.902, allocations: 29.74 MB / 0.8833 GB, free: 100.3 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01369/1.916, allocations: 6.34 MB / 0.8894 GB, free: 98.16 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 6.839e-05/1.916, allocations: 17.41 kB / 0.8895 GB, free: 98.16 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.003382/1.92, allocations: 1.636 MB / 0.8911 GB, free: 97.59 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007801/1.927, allocations: 0.9084 MB / 0.8919 GB, free: 97.26 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3803/2.308, allocations: 180.6 MB / 1.068 GB, free: 132.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01184/2.32, allocations: 5.969 MB / 1.074 GB, free: 131.2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.009185/2.329, allocations: 2.894 MB / 1.077 GB, free: 131.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007574/2.337, allocations: 3.826 MB / 1.081 GB, free: 131.1 MB / 0.545 GB Notification: Performance of SimCode: time 1.733e-06/2.337, allocations: 0 / 1.081 GB, free: 131.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2274/2.564, allocations: 121.3 MB / 1.199 GB, free: 36.66 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001563/2.564, allocations: 171.7 kB / 1.199 GB, free: 36.42 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.855/8.419, allocations: 0 / 1.199 GB, free: 36.42 MB / 0.545 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat does not exist to compare? outputFormat=mat