Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest_MultiBody_Forces_Force",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force,fileNamePrefix="ModelicaTest_3_2_3_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.001203/0.001203, 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.51/1.51, 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.0008768/0.0008767, allocations: 94.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.1869/0.1869, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003334/0.0003333, allocations: 8 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1149, allocations: 58.85 MB / 490.3 MB, free: 8.586 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3981/0.513, allocations: 107.7 MB / 0.584 GB, free: 8.398 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002551/0.5133, allocations: 78.09 kB / 0.5841 GB, free: 8.359 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5726/1.086, allocations: 129.4 MB / 0.7104 GB, free: 96.4 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.294e-06/1.086, allocations: 0 / 0.7104 GB, free: 96.4 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0005048/1.086, allocations: 128.1 kB / 0.7105 GB, free: 96.4 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: 2323 * Number of variables: 2323 Notification: Performance of Generate backend data structure: time 0.02543/1.112, allocations: 7.091 MB / 0.7175 GB, free: 95.36 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.121e-05/1.112, allocations: 9.188 kB / 0.7175 GB, free: 95.36 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005375/1.117, allocations: 1.158 MB / 0.7186 GB, free: 95.26 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02934/1.147, allocations: 7.117 MB / 0.7255 GB, free: 94.8 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02081/1.168, allocations: 7.425 MB / 0.7328 GB, free: 93.98 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00054/1.168, allocations: 495.2 kB / 0.7333 GB, free: 93.97 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002946/1.171, allocations: 0.6434 MB / 0.7339 GB, free: 93.96 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03417/1.205, allocations: 16.31 MB / 0.7498 GB, free: 90.05 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006076/1.206, allocations: 87.88 kB / 0.7499 GB, free: 90.05 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003227/1.209, allocations: 315.9 kB / 0.7502 GB, free: 90.05 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002467/1.212, allocations: 1.552 MB / 0.7517 GB, free: 90.03 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02771/1.239, allocations: 13.34 MB / 0.7648 GB, free: 89.96 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09746/1.337, allocations: 72.61 MB / 0.8357 GB, free: 38.09 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01675/1.354, allocations: 7.479 MB / 0.843 GB, free: 34.75 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0172/1.371, allocations: 9.664 MB / 0.8524 GB, free: 26.66 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.043e-05/1.371, allocations: 67.75 kB / 0.8525 GB, free: 26.59 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=273): time 5.601e-06/1.371, allocations: 0 / 0.8525 GB, free: 26.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=315): time 0.06839/1.44, allocations: 31.97 MB / 0.8837 GB, free: 15.38 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001373/1.44, allocations: 247.9 kB / 0.8839 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01044/1.45, allocations: 6.1 MB / 0.8899 GB, free: 9.004 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007772/1.451, allocations: 73.64 kB / 0.89 GB, free: 8.926 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004329/1.455, allocations: 4.705 MB / 0.8946 GB, free: 4.227 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001908/1.457, allocations: 1.189 MB / 0.8957 GB, free: 3.047 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007424/1.458, allocations: 180 kB / 0.8959 GB, free: 2.871 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005223/1.459, allocations: 0.686 MB / 0.8966 GB, free: 2.176 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2356/1.694, allocations: 3.546 MB / 0.9 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00969/1.704, allocations: 8.703 MB / 0.9085 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009125/1.713, allocations: 5.45 MB / 0.9138 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002523/1.713, allocations: 51.75 kB / 0.9139 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1157) (initialization): time 0.02437/1.738, allocations: 13.53 MB / 0.9271 GB, free: 99.57 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001524/1.738, allocations: 84.44 kB / 0.9272 GB, free: 99.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002376/1.738, allocations: 184.8 kB / 0.9274 GB, free: 99.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003654/1.742, allocations: 1.68 MB / 0.929 GB, free: 99.55 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007438/1.749, allocations: 2.117 MB / 0.9311 GB, free: 99.37 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01241/1.762, allocations: 11.56 MB / 0.9424 GB, free: 96.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008015/1.77, allocations: 0.5241 MB / 0.9429 GB, free: 96.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002027/1.772, allocations: 0.5249 MB / 0.9434 GB, free: 96.59 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 827 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1087): * Single equations (assignments): 1082 * 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 {(2,100.0%) 22,(2,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008135/1.78, allocations: 3.158 MB / 0.9465 GB, free: 96.29 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001429/1.781, allocations: 0.5864 MB / 0.947 GB, free: 96.29 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01137/1.793, allocations: 6.79 MB / 0.9537 GB, free: 94.84 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.554e-05/1.793, allocations: 33.28 kB / 0.9537 GB, free: 94.84 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.71e-05/1.793, allocations: 11.61 kB / 0.9537 GB, free: 94.83 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.293e-05/1.793, allocations: 17.03 kB / 0.9537 GB, free: 94.83 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02845/1.821, allocations: 15.2 MB / 0.9686 GB, free: 89.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.911e-05/1.822, allocations: 2.719 kB / 0.9686 GB, free: 89.44 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002898/1.824, allocations: 0.5921 MB / 0.9691 GB, free: 89.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003392/1.828, allocations: 1.397 MB / 0.9705 GB, free: 89.12 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000683/1.829, allocations: 64.11 kB / 0.9706 GB, free: 89.08 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01166/1.84, allocations: 10.74 MB / 0.9811 GB, free: 83.44 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/1.84, allocations: 7.453 kB / 0.9811 GB, free: 83.43 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0169/1.857, allocations: 11.92 MB / 0.9927 GB, free: 78.04 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004777/1.862, allocations: 1.154 MB / 0.9938 GB, free: 77.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002154/1.864, allocations: 55.78 kB / 0.9939 GB, free: 77.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003837/1.868, allocations: 213 kB / 0.9941 GB, free: 77.33 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007131/1.869, allocations: 195.8 kB / 0.9943 GB, free: 77.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002484/1.869, allocations: 83.34 kB / 0.9944 GB, free: 77.28 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.008316/1.877, allocations: 4.375 MB / 0.9986 GB, free: 75.84 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.002e-06/1.877, allocations: 0 / 0.9986 GB, free: 75.84 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01163/1.889, allocations: 1.636 MB / 1 GB, free: 74.41 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.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 (260): * Single equations (assignments): 255 * 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.01678/1.906, allocations: 13.3 MB / 1.013 GB, free: 62.48 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01263/1.919, allocations: 8.753 MB / 1.022 GB, free: 54.82 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.737e-06/1.919, allocations: 0 / 1.022 GB, free: 54.82 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005183/1.924, allocations: 3.456 MB / 1.025 GB, free: 51.83 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005691/1.93, allocations: 0.7005 MB / 1.026 GB, free: 51.24 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3627/2.292, allocations: 189.9 MB / 1.211 GB, free: 23.2 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005657/2.298, allocations: 4.94 MB / 1.216 GB, free: 22.34 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.007425/2.305, allocations: 2.958 MB / 1.219 GB, free: 22.28 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005304/2.311, allocations: 3.17 MB / 1.222 GB, free: 22.28 MB / 0.5417 GB Notification: Performance of SimCode: time 1.293e-06/2.311, allocations: 0 / 1.222 GB, free: 22.28 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4356/2.746, allocations: 131.2 MB / 1.35 GB, free: 116.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001368/2.747, allocations: 187.1 kB / 1.35 GB, free: 116.5 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.223/9.97, allocations: 0 / 1.35 GB, free: 116.5 MB / 0.5417 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Force_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Force.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force_res.mat does not exist to compare? outputFormat=mat