Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_MultiBody_Forces_Force2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force2,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.001656/0.001656, allocations: 181.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.222/2.222, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001138/0.001138, allocations: 86.7 kB / 267.5 MB, free: 14.05 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.2862/0.2862, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.087e-05/4.103e-05, allocations: 4 kB / 425.4 MB, free: 23.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1254, allocations: 58.85 MB / 484.2 MB, free: 12.39 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5416/0.667, allocations: 111.5 MB / 0.5818 GB, free: 8.324 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002879/0.6674, allocations: 77.53 kB / 0.5819 GB, free: 8.285 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.472/2.14, allocations: 238.3 MB / 0.8145 GB, free: 79.15 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.116e-06/2.14, allocations: 0 / 0.8145 GB, free: 79.15 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.001214/2.141, allocations: 252 kB / 0.8148 GB, free: 78.9 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.07721/2.218, allocations: 12.25 MB / 0.8267 GB, free: 66.55 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.782e-05/2.218, allocations: 12.03 kB / 0.8268 GB, free: 66.54 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01437/2.233, allocations: 2.175 MB / 0.8289 GB, free: 64.35 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1412/2.374, allocations: 12.8 MB / 0.8414 GB, free: 51.51 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06719/2.441, allocations: 13.24 MB / 0.8543 GB, free: 38.17 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001207/2.442, allocations: 0.9466 MB / 0.8552 GB, free: 37.22 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006994/2.45, allocations: 1.257 MB / 0.8565 GB, free: 35.96 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.098/2.548, allocations: 30.05 MB / 0.8858 GB, free: 3.668 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001005/2.549, allocations: 146.7 kB / 0.8859 GB, free: 3.523 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006431/2.555, allocations: 0.5778 MB / 0.8865 GB, free: 2.945 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006542/2.562, allocations: 2.864 MB / 0.8893 GB, free: 64 kB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.8731/3.435, allocations: 24.52 MB / 0.9132 GB, free: 76.37 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2231/3.658, allocations: 127.4 MB / 1.038 GB, free: 18.76 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06668/3.725, allocations: 14.91 MB / 1.052 GB, free: 14.74 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01594/3.741, allocations: 8.102 MB / 1.06 GB, free: 11.38 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06525/3.806, allocations: 20.6 MB / 1.08 GB, free: 15.96 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001392/3.806, allocations: 94.97 kB / 1.08 GB, free: 15.86 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=566): time 9.948e-06/3.806, allocations: 0 / 1.08 GB, free: 15.86 MB / 0.5418 GB Notification: Performance of matching and sorting (n=650): time 0.717/4.523, allocations: 61.03 MB / 1.14 GB, free: 119.8 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001899/4.524, allocations: 382.1 kB / 1.14 GB, free: 119.4 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03097/4.555, allocations: 10.54 MB / 1.151 GB, free: 118.6 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.001956/4.557, allocations: 133.5 kB / 1.151 GB, free: 118.6 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.007995/4.565, allocations: 7.895 MB / 1.158 GB, free: 114.4 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.004266/4.569, allocations: 2.389 MB / 1.161 GB, free: 113 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003235/4.572, allocations: 308.4 kB / 1.161 GB, free: 113 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.00163/4.574, allocations: 0.962 MB / 1.162 GB, free: 112.6 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01762/4.591, allocations: 6.608 MB / 1.168 GB, free: 112.6 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02425/4.616, allocations: 14.9 MB / 1.183 GB, free: 102.1 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02348/4.639, allocations: 9.829 MB / 1.193 GB, free: 100.5 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004349/4.64, allocations: 83.34 kB / 1.193 GB, free: 100.5 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1998) (initialization): time 0.06938/4.709, allocations: 23.91 MB / 1.216 GB, free: 92.82 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002785/4.71, allocations: 128.8 kB / 1.216 GB, free: 92.82 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005838/4.71, allocations: 291.6 kB / 1.216 GB, free: 92.81 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01441/4.725, allocations: 3.274 MB / 1.22 GB, free: 92.23 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02628/4.751, allocations: 3.754 MB / 1.223 GB, free: 91.82 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04286/4.794, allocations: 22.46 MB / 1.245 GB, free: 75.57 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02116/4.815, allocations: 0.932 MB / 1.246 GB, free: 74.8 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00429/4.819, allocations: 0.8796 MB / 1.247 GB, free: 73.96 MB / 0.5574 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 () * 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.007579/4.827, allocations: 1.266 MB / 1.248 GB, free: 72.7 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004805/4.832, allocations: 1.064 MB / 1.249 GB, free: 71.62 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04592/4.878, allocations: 14.64 MB / 1.264 GB, free: 59.75 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001035/4.878, allocations: 69.17 kB / 1.264 GB, free: 59.68 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.915e-05/4.878, allocations: 16 kB / 1.264 GB, free: 59.66 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001782/4.878, allocations: 34.42 kB / 1.264 GB, free: 59.66 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1024/4.981, allocations: 32.41 MB / 1.295 GB, free: 33.52 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000104/4.981, allocations: 12.06 kB / 1.295 GB, free: 33.5 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01326/4.994, allocations: 1.302 MB / 1.297 GB, free: 32.51 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01326/5.007, allocations: 2.823 MB / 1.299 GB, free: 30.52 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002007/5.01, allocations: 119.4 kB / 1.299 GB, free: 30.41 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04308/5.053, allocations: 21.01 MB / 1.32 GB, free: 11.61 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.48e-05/5.053, allocations: 23.83 kB / 1.32 GB, free: 11.58 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5131/5.566, allocations: 26.13 MB / 1.346 GB, free: 108.2 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009833/5.576, allocations: 2.19 MB / 1.348 GB, free: 108.1 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005008/5.581, allocations: 124.7 kB / 1.348 GB, free: 108.1 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01251/5.593, allocations: 452.3 kB / 1.348 GB, free: 108.1 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002736/5.596, allocations: 413.1 kB / 1.349 GB, free: 108.1 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001871/5.598, allocations: 169.9 kB / 1.349 GB, free: 108.1 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.02922/5.627, allocations: 7.604 MB / 1.356 GB, free: 107.7 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.543e-06/5.627, allocations: 0 / 1.356 GB, free: 107.7 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.03176/5.659, allocations: 3.085 MB / 1.359 GB, free: 107.7 MB / 0.5574 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 () * 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.07848/5.738, allocations: 27.29 MB / 1.386 GB, free: 100.2 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.03945/5.777, allocations: 16.53 MB / 1.402 GB, free: 94.84 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 1.74e-05/5.777, allocations: 2.875 kB / 1.402 GB, free: 94.84 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.02012/5.797, allocations: 7.083 MB / 1.409 GB, free: 92.12 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01277/5.81, allocations: 1.331 MB / 1.41 GB, free: 91.55 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1029/5.913, allocations: 31.05 MB / 1.441 GB, free: 69.42 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02283/5.936, allocations: 8.791 MB / 1.449 GB, free: 63.12 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01738/5.953, allocations: 6.44 MB / 1.455 GB, free: 57.13 MB / 0.5574 GB Notification: Performance of SimCode: time 1.523e-06/5.953, allocations: 3.469 kB / 1.455 GB, free: 57.13 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 8.857/14.81, allocations: 446.4 MB / 1.891 GB, free: 119.2 MB / 0.6355 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force2_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_Force2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_Force2.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force2_res.mat does not exist to compare? outputFormat=mat