Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Torque3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Torque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Torque3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Torque3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001442/0.001442, allocations: 182.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.69/1.69, allocations: 205.2 MB / 218.9 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008885/0.0008886, allocations: 93.67 kB / 267.1 MB, free: 9.289 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3945/0.3945, allocations: 43.47 MB / 358.6 MB, free: 51.58 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.086e-05/4.088e-05, allocations: 4 kB / 425.4 MB, free: 8.105 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.136, allocations: 58.85 MB / 484.3 MB, free: 13.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4707/0.6067, allocations: 110 MB / 0.5803 GB, free: 11.85 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000264/0.6071, allocations: 81.83 kB / 0.5804 GB, free: 11.81 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9106/1.518, allocations: 224.8 MB / 0.7999 GB, free: 71.81 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.184e-06/1.518, allocations: 0 / 0.7999 GB, free: 71.81 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0008386/1.519, allocations: 240.5 kB / 0.8002 GB, free: 71.8 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4187 * Number of variables: 4187 Notification: Performance of Generate backend data structure: time 0.04578/1.564, allocations: 11.39 MB / 0.8113 GB, free: 64.57 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.686e-05/1.564, allocations: 11.34 kB / 0.8113 GB, free: 64.57 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01187/1.576, allocations: 2.071 MB / 0.8133 GB, free: 63.19 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05356/1.63, allocations: 12.64 MB / 0.8257 GB, free: 56.72 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0349/1.665, allocations: 12.56 MB / 0.8379 GB, free: 44.74 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00109/1.666, allocations: 0.9104 MB / 0.8388 GB, free: 43.83 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008757/1.675, allocations: 1.199 MB / 0.84 GB, free: 42.63 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07477/1.75, allocations: 28.16 MB / 0.8675 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001026/1.751, allocations: 138.8 kB / 0.8676 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006568/1.757, allocations: 0.5544 MB / 0.8682 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003969/1.761, allocations: 2.68 MB / 0.8708 GB, free: 9.07 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05653/1.818, allocations: 23.23 MB / 0.8935 GB, free: 1.812 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5958/2.414, allocations: 117 MB / 1.008 GB, free: 39.93 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0348/2.449, allocations: 13.61 MB / 1.021 GB, free: 36.02 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01169/2.46, allocations: 7.882 MB / 1.029 GB, free: 32.74 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002933/2.463, allocations: 2.342 MB / 1.031 GB, free: 30.68 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001472/2.464, allocations: 103.7 kB / 1.031 GB, free: 30.6 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=559): time 1.041e-05/2.464, allocations: 0 / 1.031 GB, free: 30.6 MB / 0.5417 GB Notification: Performance of matching and sorting (n=643): time 0.1616/2.625, allocations: 53.35 MB / 1.083 GB, free: 8.691 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000127/2.625, allocations: 329.3 kB / 1.083 GB, free: 8.309 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02198/2.647, allocations: 8.997 MB / 1.092 GB, free: 380 kB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.002188/2.65, allocations: 127.7 kB / 1.092 GB, free: 248 kB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.01001/2.66, allocations: 7.822 MB / 1.1 GB, free: 9.5 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.004621/2.664, allocations: 2.337 MB / 1.102 GB, free: 7.422 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00261/2.667, allocations: 284.7 kB / 1.103 GB, free: 7.145 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.001286/2.668, allocations: 0.9213 MB / 1.103 GB, free: 6.391 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01378/2.682, allocations: 6.387 MB / 1.11 GB, free: 0.6562 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4325/3.115, allocations: 14.97 MB / 1.124 GB, free: 116.6 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02136/3.136, allocations: 9.362 MB / 1.133 GB, free: 116.5 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005559/3.137, allocations: 74.28 kB / 1.134 GB, free: 116.5 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1864) (initialization): time 0.05952/3.196, allocations: 23.25 MB / 1.156 GB, free: 115.2 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004929/3.197, allocations: 117.3 kB / 1.156 GB, free: 115.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006926/3.197, allocations: 263.9 kB / 1.157 GB, free: 115.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01012/3.208, allocations: 3.257 MB / 1.16 GB, free: 115.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01639/3.224, allocations: 3.504 MB / 1.163 GB, free: 114.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02877/3.253, allocations: 22.56 MB / 1.185 GB, free: 107 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01651/3.269, allocations: 0.8738 MB / 1.186 GB, free: 106.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005031/3.275, allocations: 0.8099 MB / 1.187 GB, free: 106.6 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1204 * Number of states: 0 () * Number of discrete variables: 108 (fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],torque4.connectionLineColor[3],torque4.connectionLineColor[2],torque4.connectionLineColor[1],torque4.torqueColor[3],torque4.torqueColor[2],torque4.torqueColor[1],torque4.forceColor[3],torque4.forceColor[2],torque4.forceColor[1],torque3.connectionLineColor[3],torque3.connectionLineColor[2],torque3.connectionLineColor[1],torque3.torqueColor[3],torque3.torqueColor[2],torque3.torqueColor[1],torque3.forceColor[3],torque3.forceColor[2],torque3.forceColor[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1744): * Single equations (assignments): 1737 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008589/3.283, allocations: 1.181 MB / 1.188 GB, free: 105.8 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003926/3.287, allocations: 0.9544 MB / 1.189 GB, free: 105.8 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0298/3.317, allocations: 14.44 MB / 1.203 GB, free: 100.7 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001007/3.317, allocations: 70.28 kB / 1.203 GB, free: 100.7 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.384e-05/3.317, allocations: 15.56 kB / 1.203 GB, free: 100.7 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001725/3.317, allocations: 38.53 kB / 1.203 GB, free: 100.7 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07121/3.389, allocations: 31.11 MB / 1.234 GB, free: 89.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.144e-05/3.389, allocations: 11.06 kB / 1.234 GB, free: 89.19 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006769/3.395, allocations: 1.219 MB / 1.235 GB, free: 88.24 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007045/3.403, allocations: 2.827 MB / 1.238 GB, free: 86.25 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001677/3.404, allocations: 122.6 kB / 1.238 GB, free: 86.14 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0239/3.428, allocations: 21.07 MB / 1.258 GB, free: 67.43 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/3.428, allocations: 8 kB / 1.258 GB, free: 67.43 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03994/3.468, allocations: 23.77 MB / 1.281 GB, free: 46.38 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008579/3.477, allocations: 2.037 MB / 1.283 GB, free: 44.53 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00446/3.481, allocations: 115.1 kB / 1.284 GB, free: 44.42 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008711/3.49, allocations: 495.5 kB / 1.284 GB, free: 44.11 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002565/3.493, allocations: 392 kB / 1.284 GB, free: 43.86 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00135/3.494, allocations: 165.6 kB / 1.285 GB, free: 43.71 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.01486/3.509, allocations: 6.428 MB / 1.291 GB, free: 38.05 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.332e-06/3.509, allocations: 0 / 1.291 GB, free: 38.05 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.02042/3.529, allocations: 2.94 MB / 1.294 GB, free: 35.12 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 16 (Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w,Revolute7.phi,Revolute7.w,Revolute8.phi,Revolute8.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (554): * Single equations (assignments): 547 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,75.0%) 18,(4,75.0%) 18,(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.4945/4.024, allocations: 24.96 MB / 1.318 GB, free: 110.9 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0318/4.056, allocations: 16.04 MB / 1.334 GB, free: 110.3 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.614e-05/4.056, allocations: 0 / 1.334 GB, free: 110.3 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01426/4.07, allocations: 7.054 MB / 1.341 GB, free: 109.8 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01012/4.08, allocations: 1.185 MB / 1.342 GB, free: 109.7 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09033/4.171, allocations: 27.88 MB / 1.369 GB, free: 105.2 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02144/4.192, allocations: 8.317 MB / 1.377 GB, free: 104.1 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0188/4.211, allocations: 4.718 MB / 1.382 GB, free: 103.8 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01445/4.226, allocations: 5.89 MB / 1.388 GB, free: 99.7 MB / 0.5573 GB Notification: Performance of SimCode: time 1.172e-06/4.226, allocations: 2.188 kB / 1.388 GB, free: 99.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8435/5.069, allocations: 222.7 MB / 1.605 GB, free: 75.54 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001696/5.069, allocations: 169.4 kB / 1.605 GB, free: 75.31 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.17/18.24, allocations: 0 / 1.605 GB, free: 75.31 MB / 0.5573 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Torque3_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Torque3.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3_res.mat does not exist to compare? outputFormat=mat