Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.CutTorque,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque,fileNamePrefix="ModelicaTest_4_0_0_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.0009189/0.0009189, allocations: 97.38 kB / 17 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.00121/0.00121, allocations: 176.9 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.367/1.367, allocations: 223.3 MB / 241.9 MB, free: 360 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.1958/0.1958, allocations: 44.23 MB / 337.2 MB, free: 2.809 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003424/0.0003426, allocations: 8 kB / 409.7 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.105, allocations: 61.93 MB / 471.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.3008/0.4058, allocations: 90.21 MB / 0.5487 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04072/0.4466, allocations: 18.1 MB / 0.5664 GB, free: 3.258 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02026/0.4669, allocations: 443.1 kB / 0.5668 GB, free: 3.129 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01609/0.483, allocations: 4.86 MB / 0.5715 GB, free: 14.25 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.05509/0.5381, allocations: 14.16 MB / 0.5854 GB, free: 32 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0113/0.5495, allocations: 1.248 MB / 0.5866 GB, free: 14.78 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01852/0.568, allocations: 8.922 MB / 0.5953 GB, free: 5.844 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0181/0.5862, allocations: 9.031 MB / 0.6041 GB, free: 12.73 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005239/0.5914, allocations: 2.452 MB / 0.6065 GB, free: 10.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006232/0.5977, allocations: 3.521 MB / 0.61 GB, free: 6.742 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00114/0.5989, allocations: 256 kB / 0.6102 GB, free: 6.492 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002741/0.6016, allocations: 0.9636 MB / 0.6111 GB, free: 5.527 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003421/0.6051, allocations: 3.144 MB / 0.6142 GB, free: 2.375 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00198/0.6071, allocations: 1.434 MB / 0.6156 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01041/0.6175, allocations: 9.305 MB / 0.6247 GB, free: 7.598 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.6175, allocations: 7.938 kB / 0.6247 GB, free: 7.59 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.6175, allocations: 0 / 0.6247 GB, free: 7.59 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004706/0.618, allocations: 0 / 0.6247 GB, free: 7.59 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: 2587 * Number of variables: 2587 Notification: Performance of Generate backend data structure: time 0.01487/0.6329, allocations: 7.319 MB / 0.6319 GB, free: 188 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.6329, allocations: 8.031 kB / 0.6319 GB, free: 180 kB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003358/0.6363, allocations: 1.219 MB / 0.6331 GB, free: 14.95 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009817/0.6461, allocations: 2.684 MB / 0.6357 GB, free: 12.25 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009711/0.6559, allocations: 5.708 MB / 0.6413 GB, free: 6.461 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003286/0.6562, allocations: 438.9 kB / 0.6417 GB, free: 6.031 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001086/0.6573, allocations: 0.5504 MB / 0.6422 GB, free: 5.48 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02588/0.6832, allocations: 17.44 MB / 0.6592 GB, free: 2.902 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001424/0.6834, allocations: 71.39 kB / 0.6593 GB, free: 2.832 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005536/0.684, allocations: 275.7 kB / 0.6596 GB, free: 2.562 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00405/0.688, allocations: 3.162 MB / 0.6627 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02527/0.7133, allocations: 13.39 MB / 0.6757 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4905/1.204, allocations: 65.98 MB / 0.7402 GB, free: 142 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01482/1.219, allocations: 5.368 MB / 0.7454 GB, free: 140.8 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002804/1.222, allocations: 2.113 MB / 0.7475 GB, free: 140 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01439/1.236, allocations: 10.01 MB / 0.7572 GB, free: 134.7 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.642e-05/1.236, allocations: 50.34 kB / 0.7573 GB, free: 134.7 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=182): time 4.669e-06/1.236, allocations: 0 / 0.7573 GB, free: 134.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=206): time 0.0374/1.273, allocations: 14.23 MB / 0.7712 GB, free: 127 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.31e-05/1.274, allocations: 155.5 kB / 0.7713 GB, free: 126.9 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007029/1.281, allocations: 6.382 MB / 0.7776 GB, free: 123.2 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002457/1.281, allocations: 55.11 kB / 0.7776 GB, free: 123.1 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002101/1.283, allocations: 5.246 MB / 0.7827 GB, free: 117.9 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005152/1.283, allocations: 0.8196 MB / 0.7835 GB, free: 117.1 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002326/1.284, allocations: 161.2 kB / 0.7837 GB, free: 116.9 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002709/1.284, allocations: 0.6653 MB / 0.7843 GB, free: 116.2 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0026/1.287, allocations: 2.277 MB / 0.7866 GB, free: 113.9 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004026/1.291, allocations: 7.695 MB / 0.7941 GB, free: 103.8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003891/1.295, allocations: 4.035 MB / 0.798 GB, free: 99.94 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-05/1.295, allocations: 59.98 kB / 0.7981 GB, free: 99.88 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1103) (initialization): time 0.01016/1.305, allocations: 9.588 MB / 0.8074 GB, free: 90.29 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.64e-05/1.305, allocations: 96 kB / 0.8075 GB, free: 90.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001204/1.305, allocations: 193.6 kB / 0.8077 GB, free: 90.01 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001731/1.305, allocations: 280 kB / 0.808 GB, free: 89.73 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004232/1.309, allocations: 1.918 MB / 0.8099 GB, free: 87.81 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001828/1.31, allocations: 378.5 kB / 0.8102 GB, free: 87.44 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00379/1.313, allocations: 414.8 kB / 0.8106 GB, free: 87.04 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004192/1.314, allocations: 0.5195 MB / 0.8111 GB, free: 86.52 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 879 * Number of states: 0 () * Number of discrete variables: 68 (cutTorque2b.torqueArrow.arrowLine.twoHeadedArrow,cutTorque2b.torqueArrow.headAtOrigin,cutTorque1b.torqueArrow.arrowLine.twoHeadedArrow,cutTorque1b.torqueArrow.headAtOrigin,cutTorque2a.torqueArrow.arrowLine.twoHeadedArrow,cutTorque2a.torqueArrow.headAtOrigin,cutTorque1a.torqueArrow.arrowLine.twoHeadedArrow,cutTorque1a.torqueArrow.headAtOrigin,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 (1039): * Single equations (assignments): 1028 * 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.003388/1.317, allocations: 3.405 MB / 0.8144 GB, free: 83.1 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004576/1.318, allocations: 0.5398 MB / 0.815 GB, free: 82.55 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008494/1.319, allocations: 0.629 MB / 0.8156 GB, free: 81.92 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.078e-05/1.319, allocations: 24 kB / 0.8156 GB, free: 81.9 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.21e-05/1.319, allocations: 0 / 0.8156 GB, free: 81.9 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.317e-05/1.319, allocations: 12.83 kB / 0.8156 GB, free: 81.89 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01442/1.333, allocations: 15.25 MB / 0.8305 GB, free: 65.97 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-05/1.333, allocations: 48 kB / 0.8306 GB, free: 65.92 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/1.334, allocations: 447.1 kB / 0.831 GB, free: 65.48 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.234e-05/1.334, allocations: 68 kB / 0.8311 GB, free: 65.42 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001085/1.334, allocations: 97.8 kB / 0.8312 GB, free: 65.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.13e-05/1.334, allocations: 97.14 kB / 0.8312 GB, free: 65.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.862e-05/1.334, allocations: 75.69 kB / 0.8313 GB, free: 65.16 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00288/1.337, allocations: 4.292 MB / 0.8355 GB, free: 60.16 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007966/1.338, allocations: 0.6499 MB / 0.8361 GB, free: 59.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004336/1.339, allocations: 104 kB / 0.8362 GB, free: 59.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001463/1.34, allocations: 113.1 kB / 0.8364 GB, free: 59.27 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001997/1.34, allocations: 306.7 kB / 0.8366 GB, free: 58.97 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001174/1.34, allocations: 136.5 kB / 0.8368 GB, free: 58.84 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00413/1.344, allocations: 3.961 MB / 0.8406 GB, free: 54.89 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.81e-07/1.344, allocations: 0 / 0.8406 GB, free: 54.89 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005496/1.35, allocations: 1.356 MB / 0.842 GB, free: 53.54 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 211 * 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 (238): * Single equations (assignments): 235 * 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.003163/1.353, allocations: 5.023 MB / 0.8469 GB, free: 47.82 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006337/1.359, allocations: 5.313 MB / 0.8521 GB, free: 42.55 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.584e-05/1.36, allocations: 4 kB / 0.8521 GB, free: 42.54 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001196/1.361, allocations: 1.186 MB / 0.8532 GB, free: 41.37 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004477/1.365, allocations: 0.8824 MB / 0.8541 GB, free: 40.48 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08249/1.448, allocations: 55.91 MB / 0.9087 GB, free: 10.07 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006889/1.455, allocations: 5.25 MB / 0.9138 GB, free: 4.789 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.006804/1.461, allocations: 2.573 MB / 0.9163 GB, free: 2.211 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2231/1.685, allocations: 3.423 MB / 0.9197 GB, free: 195.4 MB / 0.5607 GB Notification: Performance of SimCode: time 1.363e-06/1.685, allocations: 0.7188 kB / 0.9197 GB, free: 195.4 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2927/1.977, allocations: 108.9 MB / 1.026 GB, free: 114.8 MB / 0.5607 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001533/1.978, allocations: 173.1 kB / 1.026 GB, free: 114.6 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.312/7.289, allocations: 3.938 kB / 1.026 GB, free: 114.6 MB / 0.5607 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat does not exist to compare? outputFormat=mat