Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force2.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.Force2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Force2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Force2",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.001345/0.001345, allocations: 182.9 kB / 15.76 MB, free: 6.367 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.319/1.319, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0008195/0.0008195, allocations: 90.86 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1969/0.1969, allocations: 43.57 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003162/0.0003162, allocations: 8 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1154, allocations: 58.86 MB / 490.3 MB, free: 8.582 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3607/0.4762, allocations: 111.6 MB / 0.5878 GB, free: 4.469 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002577/0.4765, allocations: 85.95 kB / 0.5879 GB, free: 4.422 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8238/1.3, allocations: 238 MB / 0.8203 GB, free: 75.76 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.594e-06/1.3, allocations: 0 / 0.8203 GB, free: 75.76 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.001169/1.302, allocations: 255.9 kB / 0.8206 GB, free: 75.51 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: 4389 * Number of variables: 4389 Notification: Performance of Generate backend data structure: time 0.04591/1.348, allocations: 13.25 MB / 0.8335 GB, free: 62.14 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.619e-05/1.348, allocations: 12.03 kB / 0.8335 GB, free: 62.13 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01121/1.359, allocations: 2.171 MB / 0.8356 GB, free: 59.95 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04762/1.406, allocations: 12.79 MB / 0.8481 GB, free: 47.12 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03443/1.441, allocations: 13.3 MB / 0.8611 GB, free: 33.72 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009529/1.442, allocations: 0.9427 MB / 0.862 GB, free: 32.77 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005713/1.448, allocations: 1.257 MB / 0.8633 GB, free: 31.52 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07693/1.525, allocations: 30.29 MB / 0.8929 GB, free: 14.98 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001008/1.526, allocations: 150.5 kB / 0.893 GB, free: 14.83 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006584/1.532, allocations: 0.5856 MB / 0.8936 GB, free: 14.24 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005188/1.538, allocations: 2.864 MB / 0.8964 GB, free: 11.37 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3727/1.91, allocations: 24.87 MB / 0.9207 GB, free: 79.75 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1789/2.089, allocations: 127.4 MB / 1.045 GB, free: 21.01 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05835/2.148, allocations: 15.05 MB / 1.06 GB, free: 16.96 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0569/2.205, allocations: 20.23 MB / 1.08 GB, free: 4.855 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001371/2.205, allocations: 94.89 kB / 1.08 GB, free: 4.758 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=566): time 1.12e-05/2.205, allocations: 3.031 kB / 1.08 GB, free: 4.758 MB / 0.5261 GB Notification: Performance of matching and sorting (n=650): time 0.6467/2.852, allocations: 69.87 MB / 1.148 GB, free: 121.4 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001947/2.852, allocations: 377.9 kB / 1.148 GB, free: 121 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02693/2.879, allocations: 10.66 MB / 1.159 GB, free: 120.2 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001896/2.881, allocations: 122.5 kB / 1.159 GB, free: 120.2 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.007919/2.889, allocations: 8.429 MB / 1.167 GB, free: 116 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.003808/2.892, allocations: 2.383 MB / 1.169 GB, free: 114.6 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00246/2.895, allocations: 308.6 kB / 1.17 GB, free: 114.6 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.001025/2.896, allocations: 0.9633 MB / 1.171 GB, free: 114.3 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01264/2.909, allocations: 6.756 MB / 1.177 GB, free: 114.3 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0183/2.927, allocations: 15.05 MB / 1.192 GB, free: 103.7 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01605/2.943, allocations: 9.885 MB / 1.201 GB, free: 100.8 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004746/2.944, allocations: 85.59 kB / 1.202 GB, free: 100.8 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1998) (initialization): time 0.05311/2.997, allocations: 24.68 MB / 1.226 GB, free: 92.47 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003786/2.997, allocations: 133.6 kB / 1.226 GB, free: 92.47 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006377/2.998, allocations: 291.7 kB / 1.226 GB, free: 92.47 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008662/3.007, allocations: 3.28 MB / 1.229 GB, free: 91.88 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01502/3.022, allocations: 3.748 MB / 1.233 GB, free: 91.46 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03658/3.058, allocations: 23.13 MB / 1.256 GB, free: 73.42 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02485/3.083, allocations: 0.9296 MB / 1.256 GB, free: 72.66 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00607/3.089, allocations: 0.8771 MB / 1.257 GB, free: 71.82 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1320 * Number of states: 0 () * Number of discrete variables: 120 (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],force4.connectionLineColor[3],force4.connectionLineColor[2],force4.connectionLineColor[1],force4.torqueColor[3],force4.torqueColor[2],force4.torqueColor[1],force4.forceColor[3],force4.forceColor[2],force4.forceColor[1],force3.connectionLineColor[3],force3.connectionLineColor[2],force3.connectionLineColor[1],force3.torqueColor[3],force3.torqueColor[2],force3.torqueColor[1],force3.forceColor[3],force3.forceColor[2],force3.forceColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixed6.color[3],fixed6.color[2],fixed6.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],fixed5.color[3],fixed5.color[2],fixed5.color[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],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1880): * Single equations (assignments): 1873 * 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%) 22,(2,100.0%) 22,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.02416/3.114, allocations: 5.673 MB / 1.263 GB, free: 66.83 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006429/3.12, allocations: 1.072 MB / 1.264 GB, free: 65.75 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03729/3.157, allocations: 14.8 MB / 1.278 GB, free: 53.76 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001032/3.157, allocations: 64.55 kB / 1.278 GB, free: 53.7 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001156/3.158, allocations: 23.05 kB / 1.278 GB, free: 53.68 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000203/3.158, allocations: 28.78 kB / 1.278 GB, free: 53.68 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07973/3.238, allocations: 32.56 MB / 1.31 GB, free: 27.44 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.751e-05/3.238, allocations: 8 kB / 1.31 GB, free: 27.43 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007246/3.245, allocations: 1.305 MB / 1.312 GB, free: 26.44 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007269/3.252, allocations: 2.826 MB / 1.314 GB, free: 24.47 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002029/3.254, allocations: 125.5 kB / 1.314 GB, free: 24.35 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4176/3.672, allocations: 21.68 MB / 1.336 GB, free: 112.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-05/3.672, allocations: 20.39 kB / 1.336 GB, free: 112.3 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04662/3.719, allocations: 26.37 MB / 1.361 GB, free: 107 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0109/3.73, allocations: 2.194 MB / 1.363 GB, free: 106.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006908/3.737, allocations: 117.7 kB / 1.364 GB, free: 106.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009938/3.747, allocations: 456.3 kB / 1.364 GB, free: 106.9 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002718/3.749, allocations: 411.1 kB / 1.364 GB, free: 106.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001261/3.751, allocations: 171.4 kB / 1.365 GB, free: 106.9 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.02023/3.771, allocations: 7.717 MB / 1.372 GB, free: 106.5 MB / 0.5573 GB Notification: Performance of sort global known variables: time 9.62e-07/3.771, allocations: 0 / 1.372 GB, free: 106.5 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.02285/3.794, allocations: 3.087 MB / 1.375 GB, free: 106.5 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 16 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute5.phi,Revolute5.w,Revolute7.phi,Revolute7.w,Revolute6.phi,Revolute6.w,Revolute8.phi,Revolute8.w) * 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 (559): * Single equations (assignments): 552 * 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%) 17,(4,75.0%) 17,(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.04643/3.84, allocations: 27.54 MB / 1.402 GB, free: 95.51 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.03127/3.872, allocations: 16.78 MB / 1.418 GB, free: 90.14 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.664e-05/3.872, allocations: 6.719 kB / 1.418 GB, free: 90.14 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01346/3.885, allocations: 7.193 MB / 1.425 GB, free: 87.38 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01263/3.898, allocations: 1.338 MB / 1.427 GB, free: 86.82 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7242/4.622, allocations: 344.5 MB / 1.763 GB, free: 20.71 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02479/4.647, allocations: 8.788 MB / 1.772 GB, free: 19.68 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.02044/4.667, allocations: 5.146 MB / 1.777 GB, free: 19.57 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01541/4.683, allocations: 6.327 MB / 1.783 GB, free: 16.68 MB / 0.6511 GB Notification: Performance of SimCode: time 1.573e-06/4.683, allocations: 0 / 1.783 GB, free: 16.68 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7414/5.424, allocations: 238.7 MB / 2.016 GB, free: 82.39 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001602/5.425, allocations: 197.8 kB / 2.016 GB, free: 82.15 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.77/18.19, allocations: 0 / 2.016 GB, free: 82.15 MB / 0.6511 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Force2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Force2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force2_res.mat does not exist to compare? outputFormat=mat