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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001698/0.001698, allocations: 179.6 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 221.3 MB / 236 MB, free: 2.969 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008452/0.0008454, allocations: 102.5 kB / 287 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2119/0.2119, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.567e-05/3.61e-05, allocations: 224 / 451.9 MB, free: 9.348 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1463, allocations: 61.91 MB / 0.5018 GB, free: 11.37 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4914/0.6377, allocations: 102.8 MB / 0.6022 GB, free: 2.449 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002735/0.6381, allocations: 79.95 kB / 0.6023 GB, free: 2.371 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1372/0.7752, allocations: 53.77 MB / 0.6548 GB, free: 12.26 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.7753, allocations: 0 / 0.6548 GB, free: 12.26 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001015/0.7754, allocations: 59.94 kB / 0.6548 GB, free: 12.2 MB / 474.7 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.005976/0.7814, allocations: 2.519 MB / 0.6573 GB, free: 9.625 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.7815, allocations: 12.03 kB / 0.6573 GB, free: 9.613 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001082/0.7826, allocations: 0.5231 MB / 0.6578 GB, free: 9.082 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007259/0.7898, allocations: 1.798 MB / 0.6596 GB, free: 7.277 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004544/0.7944, allocations: 1.668 MB / 0.6612 GB, free: 5.559 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002125/0.7947, allocations: 213.5 kB / 0.6614 GB, free: 5.348 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001094/0.7958, allocations: 271.9 kB / 0.6617 GB, free: 5.082 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01312/0.8089, allocations: 6.257 MB / 0.6678 GB, free: 14.48 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.117e-05/0.809, allocations: 23.8 kB / 0.6678 GB, free: 14.46 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004411/0.8095, allocations: 123.9 kB / 0.6679 GB, free: 14.34 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000883/0.8104, allocations: 0.6333 MB / 0.6685 GB, free: 13.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01099/0.8214, allocations: 5.427 MB / 0.6738 GB, free: 8.258 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03152/0.8529, allocations: 22.31 MB / 0.6956 GB, free: 1.285 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004006/0.857, allocations: 2.004 MB / 0.6976 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009355/0.858, allocations: 0.6837 MB / 0.6983 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006859/0.8648, allocations: 3.679 MB / 0.7018 GB, free: 10.64 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.8649, allocations: 46.92 kB / 0.7019 GB, free: 10.58 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=78): time 3.687e-06/0.8649, allocations: 0 / 0.7019 GB, free: 10.58 MB / 0.5105 GB Notification: Performance of matching and sorting (n=78): time 0.004606/0.8695, allocations: 1.577 MB / 0.7034 GB, free: 8.992 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.04e-05/0.8696, allocations: 55.84 kB / 0.7035 GB, free: 8.926 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002645/0.8723, allocations: 1.726 MB / 0.7052 GB, free: 7.199 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.314e-05/0.8723, allocations: 37.7 kB / 0.7052 GB, free: 7.156 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001272/0.8736, allocations: 1.887 MB / 0.7071 GB, free: 5.238 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002569/0.8739, allocations: 316.1 kB / 0.7074 GB, free: 4.926 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.869e-05/0.874, allocations: 56 kB / 0.7074 GB, free: 4.871 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000312/0.8743, allocations: 497 kB / 0.7079 GB, free: 4.375 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001195/0.8755, allocations: 0.8257 MB / 0.7087 GB, free: 3.547 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4036/1.279, allocations: 2.686 MB / 0.7113 GB, free: 144.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003477/1.283, allocations: 1.527 MB / 0.7128 GB, free: 144.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.932e-05/1.283, allocations: 19.41 kB / 0.7128 GB, free: 144.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=386) (initialization): time 0.007367/1.29, allocations: 3.412 MB / 0.7162 GB, free: 144.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.478e-05/1.29, allocations: 32.78 kB / 0.7162 GB, free: 144.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001126/1.29, allocations: 66.62 kB / 0.7162 GB, free: 144.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001597/1.291, allocations: 97.16 kB / 0.7163 GB, free: 144.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002323/1.293, allocations: 0.6581 MB / 0.717 GB, free: 144.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001535/1.293, allocations: 132.8 kB / 0.7171 GB, free: 144.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002411/1.295, allocations: 409.1 kB / 0.7175 GB, free: 144.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003605/1.296, allocations: 182.8 kB / 0.7177 GB, free: 144.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 302 * Number of states: 0 () * Number of discrete variables: 26 (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.torqueArrow.arrowLine.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (362): * Single equations (assignments): 359 * 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 prepare postOptimizeDAE: time 0.0004507/1.296, allocations: 343 kB / 0.718 GB, free: 144.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003128/1.297, allocations: 158.1 kB / 0.7182 GB, free: 144.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004987/1.297, allocations: 200.8 kB / 0.7183 GB, free: 144.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.639e-05/1.297, allocations: 11.42 kB / 0.7184 GB, free: 144.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.231e-05/1.297, allocations: 1.547 kB / 0.7184 GB, free: 144.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/1.297, allocations: 3.828 kB / 0.7184 GB, free: 144.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007951/1.305, allocations: 4.102 MB / 0.7224 GB, free: 143.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-05/1.305, allocations: 6.875 kB / 0.7224 GB, free: 143.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004632/1.306, allocations: 101.8 kB / 0.7225 GB, free: 143.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.633e-05/1.306, allocations: 11.28 kB / 0.7225 GB, free: 143.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-05/1.306, allocations: 22.34 kB / 0.7225 GB, free: 143.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.069e-05/1.306, allocations: 22.08 kB / 0.7225 GB, free: 143.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.391e-05/1.306, allocations: 8.766 kB / 0.7225 GB, free: 143.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002364/1.308, allocations: 1.726 MB / 0.7242 GB, free: 142.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000517/1.309, allocations: 258.7 kB / 0.7245 GB, free: 142.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001704/1.309, allocations: 21.84 kB / 0.7245 GB, free: 142.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005139/1.309, allocations: 30.45 kB / 0.7245 GB, free: 142.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/1.31, allocations: 52.72 kB / 0.7246 GB, free: 142.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.758e-05/1.31, allocations: 33.66 kB / 0.7246 GB, free: 142.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002859/1.313, allocations: 1.257 MB / 0.7258 GB, free: 142.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.31e-07/1.313, allocations: 0 / 0.7258 GB, free: 142.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004445/1.317, allocations: 0.7161 MB / 0.7265 GB, free: 142.1 MB / 0.5105 GB 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 () * 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.002989/1.32, allocations: 4.038 MB / 0.7305 GB, free: 138.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00415/1.324, allocations: 1.955 MB / 0.7324 GB, free: 138.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.045e-05/1.324, allocations: 1.312 kB / 0.7324 GB, free: 138.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007315/1.325, allocations: 458.5 kB / 0.7328 GB, free: 138.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001435/1.326, allocations: 225.4 kB / 0.733 GB, free: 138.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01337/1.34, allocations: 5.034 MB / 0.7379 GB, free: 137.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002924/1.343, allocations: 2.383 MB / 0.7403 GB, free: 136.7 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002457/1.345, allocations: 0.9684 MB / 0.7412 GB, free: 136.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001325/1.347, allocations: 1.072 MB / 0.7423 GB, free: 136.1 MB / 0.5105 GB Notification: Performance of SimCode: time 1.743e-06/1.347, allocations: 0 / 0.7423 GB, free: 136.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06569/1.412, allocations: 37.1 MB / 0.7785 GB, free: 125.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001853/1.413, allocations: 155 kB / 0.7786 GB, free: 125.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.112/4.525, allocations: 0 / 0.7786 GB, free: 125.7 MB / 0.5105 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