Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force.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.Force,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_Force",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_Force",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.001488/0.001488, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.027/2.027, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001119/0.001119, allocations: 90.48 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2904/0.2904, allocations: 43.49 MB / 353.6 MB, free: 2.281 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.33e-05/2.341e-05, allocations: 4 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4139/0.4139, allocations: 58.85 MB / 477.2 MB, free: 5.281 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2028/0.6168, allocations: 106.9 MB / 0.5704 GB, free: 8.352 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/0.6172, allocations: 75.95 kB / 0.5705 GB, free: 8.277 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.8549/1.472, allocations: 126.5 MB / 0.694 GB, free: 103.1 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.354e-06/1.472, allocations: 0 / 0.694 GB, free: 103.1 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0004833/1.473, allocations: 132.2 kB / 0.6941 GB, free: 103.1 MB / 475.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2323 * Number of variables: 2323 Notification: Performance of Generate backend data structure: time 0.0271/1.5, allocations: 6.552 MB / 0.7005 GB, free: 99.9 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.394e-05/1.5, allocations: 10.88 kB / 0.7006 GB, free: 99.9 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05301/1.553, allocations: 7.12 MB / 0.7075 GB, free: 96.63 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02791/1.581, allocations: 7.39 MB / 0.7147 GB, free: 92.57 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004543/1.581, allocations: 209.4 kB / 0.7149 GB, free: 92.57 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003749/1.585, allocations: 395.7 kB / 0.7153 GB, free: 92.36 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02345/1.609, allocations: 9.16 MB / 0.7242 GB, free: 83.2 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03763/1.646, allocations: 14.11 MB / 0.738 GB, free: 67.66 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004809/1.647, allocations: 87.2 kB / 0.7381 GB, free: 67.57 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003352/1.65, allocations: 44 kB / 0.7382 GB, free: 67.53 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003605/1.654, allocations: 1.545 MB / 0.7397 GB, free: 65.98 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1071/1.761, allocations: 69.18 MB / 0.8072 GB, free: 11.21 MB / 491.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01143/1.773, allocations: 5.364 MB / 0.8125 GB, free: 5.703 MB / 491.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007913/1.781, allocations: 3.631 MB / 0.816 GB, free: 2.055 MB / 491.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00105/1.782, allocations: 390 kB / 0.8164 GB, free: 1.637 MB / 491.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.479e-05/1.782, allocations: 73.12 kB / 0.8164 GB, free: 1.559 MB / 491.1 MB Notification: Performance of pre-optimization done (n=272): time 7.254e-06/1.782, allocations: 0 / 0.8164 GB, free: 1.559 MB / 491.1 MB Notification: Performance of matching and sorting (n=316): time 0.5891/2.371, allocations: 28.9 MB / 0.8447 GB, free: 120.5 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/2.371, allocations: 239 kB / 0.8449 GB, free: 120.2 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01455/2.386, allocations: 4.683 MB / 0.8495 GB, free: 119.8 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 0.001122/2.387, allocations: 27.08 kB / 0.8495 GB, free: 119.8 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.005816/2.393, allocations: 4.665 MB / 0.854 GB, free: 117 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 0.002864/2.396, allocations: 1.159 MB / 0.8552 GB, free: 116.3 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001565/2.397, allocations: 0 / 0.8552 GB, free: 116.3 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 0.001053/2.398, allocations: 0.7017 MB / 0.8559 GB, free: 116 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009511/2.408, allocations: 3.394 MB / 0.8592 GB, free: 116 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01782/2.426, allocations: 8.668 MB / 0.8676 GB, free: 109.2 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01629/2.442, allocations: 5.359 MB / 0.8729 GB, free: 108 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000314/2.442, allocations: 53.88 kB / 0.8729 GB, free: 108 MB / 0.4952 GB Notification: Performance of matching and sorting (n=1195) (initialization): time 0.05045/2.493, allocations: 12.22 MB / 0.8849 GB, free: 104.3 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 0.000276/2.493, allocations: 85.97 kB / 0.8849 GB, free: 104.3 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004844/2.494, allocations: 188.6 kB / 0.8851 GB, free: 104.3 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01095/2.505, allocations: 1.697 MB / 0.8868 GB, free: 104 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02145/2.526, allocations: 2.179 MB / 0.8889 GB, free: 103.7 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03305/2.559, allocations: 10.62 MB / 0.8993 GB, free: 98.08 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01738/2.577, allocations: 362.3 kB / 0.8996 GB, free: 98.05 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003352/2.58, allocations: 0.5476 MB / 0.9002 GB, free: 97.98 MB / 0.4952 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 857 * Number of states: 0 () * Number of discrete variables: 63 (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 (1125): * Single equations (assignments): 1120 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 20,(4,75.0%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005221/2.585, allocations: 0.5802 MB / 0.9007 GB, free: 97.5 MB / 0.4952 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02825/2.614, allocations: 6.493 MB / 0.9071 GB, free: 95.3 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003398/2.617, allocations: 0.5059 MB / 0.9076 GB, free: 95.02 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02023/2.637, allocations: 6.532 MB / 0.9139 GB, free: 92.75 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001017/2.638, allocations: 40.03 kB / 0.914 GB, free: 92.75 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-05/2.638, allocations: 7.781 kB / 0.914 GB, free: 92.75 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.72e-05/2.638, allocations: 15.7 kB / 0.914 GB, free: 92.75 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04233/2.68, allocations: 13.78 MB / 0.9274 GB, free: 82.62 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.363e-05/2.68, allocations: 8.188 kB / 0.9275 GB, free: 82.61 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006201/2.686, allocations: 0.5613 MB / 0.928 GB, free: 82.17 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009607/2.696, allocations: 1.382 MB / 0.9294 GB, free: 81.21 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001143/2.697, allocations: 12 kB / 0.9294 GB, free: 81.2 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02614/2.724, allocations: 9.781 MB / 0.9389 GB, free: 72.45 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.108e-05/2.724, allocations: 6.812 kB / 0.9389 GB, free: 72.45 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02709/2.751, allocations: 11 MB / 0.9497 GB, free: 62.78 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004519/2.755, allocations: 1.037 MB / 0.9507 GB, free: 61.81 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002336/2.758, allocations: 8 kB / 0.9507 GB, free: 61.8 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006006/2.764, allocations: 174.8 kB / 0.9509 GB, free: 61.71 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00131/2.765, allocations: 183.9 kB / 0.951 GB, free: 61.6 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007272/2.766, allocations: 79.47 kB / 0.9511 GB, free: 61.52 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.008769/2.775, allocations: 3.162 MB / 0.9542 GB, free: 58.79 MB / 0.4952 GB Notification: Performance of sort global known variables: time 1.183e-06/2.775, allocations: 0 / 0.9542 GB, free: 58.79 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.01236/2.787, allocations: 1.407 MB / 0.9556 GB, free: 57.39 MB / 0.4952 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 8 (Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (259): * Single equations (assignments): 254 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 17,(4,75.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02735/2.814, allocations: 12.13 MB / 0.9674 GB, free: 46.59 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.01984/2.834, allocations: 8.555 MB / 0.9758 GB, free: 38.12 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/2.834, allocations: 0 / 0.9758 GB, free: 38.12 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.008636/2.843, allocations: 3.336 MB / 0.979 GB, free: 34.76 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005372/2.848, allocations: 0.5391 MB / 0.9795 GB, free: 34.24 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05073/2.899, allocations: 15.47 MB / 0.9947 GB, free: 18.73 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0123/2.912, allocations: 4.95 MB / 0.9995 GB, free: 13.78 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008897/2.921, allocations: 3.174 MB / 1.003 GB, free: 10.61 MB / 0.4952 GB Notification: Performance of SimCode: time 1.513e-06/2.921, allocations: 0 / 1.003 GB, free: 10.61 MB / 0.4952 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.707/8.628, allocations: 179.9 MB / 1.178 GB, free: 17.38 MB / 0.5108 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_Force_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_Force.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force_res.mat does not exist to compare? outputFormat=mat