Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Force",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Force",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 170.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.556/1.556, allocations: 221.5 MB / 230.7 MB, free: 7.57 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009265/0.0009267, allocations: 85.98 kB / 281.6 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2084/0.2084, allocations: 44.15 MB / 376.5 MB, free: 3.051 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.042e-05/2.041e-05, allocations: 8.156 kB / 444.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1337, allocations: 61.91 MB / 0.4948 GB, free: 1.16 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4695/0.6033, allocations: 108.3 MB / 0.6006 GB, free: 3.98 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002359/0.6036, allocations: 76.8 kB / 0.6006 GB, free: 3.906 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.578/1.182, allocations: 123.5 MB / 0.7213 GB, free: 105 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.348e-06/1.182, allocations: 0 / 0.7213 GB, free: 105 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0006724/1.182, allocations: 129 kB / 0.7214 GB, free: 105 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: 2219 * Number of variables: 2219 Notification: Performance of Generate backend data structure: time 0.02255/1.205, allocations: 6.36 MB / 0.7276 GB, free: 102.5 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/1.205, allocations: 14.83 kB / 0.7276 GB, free: 102.5 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03578/1.241, allocations: 7.075 MB / 0.7345 GB, free: 102.1 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02257/1.264, allocations: 6.947 MB / 0.7413 GB, free: 101.3 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004904/1.264, allocations: 208.8 kB / 0.7415 GB, free: 101.3 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003114/1.267, allocations: 376.8 kB / 0.7419 GB, free: 101.2 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02128/1.288, allocations: 8.719 MB / 0.7504 GB, free: 101.2 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03584/1.324, allocations: 13.57 MB / 0.7637 GB, free: 94.46 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005656/1.325, allocations: 84.81 kB / 0.7637 GB, free: 94.45 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003527/1.329, allocations: 41.44 kB / 0.7638 GB, free: 94.45 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003333/1.332, allocations: 1.467 MB / 0.7652 GB, free: 94.2 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09314/1.425, allocations: 67.45 MB / 0.8311 GB, free: 38.66 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008529/1.434, allocations: 5.044 MB / 0.836 GB, free: 33.98 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005457/1.439, allocations: 3.388 MB / 0.8393 GB, free: 30.88 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007414/1.44, allocations: 379.8 kB / 0.8397 GB, free: 30.5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.491e-05/1.44, allocations: 60.12 kB / 0.8397 GB, free: 30.43 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=240): time 8.295e-06/1.44, allocations: 0 / 0.8397 GB, free: 30.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=283): time 0.0617/1.502, allocations: 27.01 MB / 0.8661 GB, free: 4.914 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.148e-05/1.502, allocations: 239.2 kB / 0.8663 GB, free: 4.637 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006816/1.509, allocations: 4.546 MB / 0.8708 GB, free: 112 kB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008276/1.51, allocations: 25.7 kB / 0.8708 GB, free: 80 kB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003923/1.513, allocations: 4.624 MB / 0.8753 GB, free: 11.39 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001634/1.515, allocations: 1.049 MB / 0.8763 GB, free: 10.33 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008656/1.516, allocations: 0 / 0.8763 GB, free: 10.33 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005517/1.517, allocations: 0.6737 MB / 0.877 GB, free: 9.645 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005482/1.522, allocations: 3.133 MB / 0.8801 GB, free: 6.504 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009168/1.531, allocations: 8.223 MB / 0.8881 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007533/1.539, allocations: 5.011 MB / 0.893 GB, free: 6.699 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001238/1.539, allocations: 52 kB / 0.893 GB, free: 6.648 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1132) (initialization): time 0.3339/1.873, allocations: 11.68 MB / 0.9044 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002654/1.873, allocations: 83.22 kB / 0.9045 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000481/1.874, allocations: 182 kB / 0.9047 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007181/1.881, allocations: 1.686 MB / 0.9063 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01258/1.893, allocations: 2.049 MB / 0.9083 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01617/1.91, allocations: 10.61 MB / 0.9187 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007558/1.917, allocations: 342.2 kB / 0.919 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00238/1.92, allocations: 0.5199 MB / 0.9195 GB, free: 113.3 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 831 * Number of states: 0 () * Number of discrete variables: 67 (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.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,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 (1062): * Single equations (assignments): 1057 * 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.004806/1.925, allocations: 0.5706 MB / 0.9201 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01037/1.935, allocations: 5.994 MB / 0.9259 GB, free: 113 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001106/1.936, allocations: 491.6 kB / 0.9264 GB, free: 113 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01027/1.946, allocations: 5.885 MB / 0.9322 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.968e-05/1.946, allocations: 32.11 kB / 0.9322 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-05/1.947, allocations: 7.438 kB / 0.9322 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.359e-05/1.947, allocations: 17.78 kB / 0.9322 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02807/1.975, allocations: 12.75 MB / 0.9447 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.175e-05/1.975, allocations: 9.625 kB / 0.9447 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002531/1.977, allocations: 0.4909 MB / 0.9452 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003396/1.981, allocations: 1.385 MB / 0.9465 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004986/1.981, allocations: 9.625 kB / 0.9465 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01083/1.992, allocations: 9.708 MB / 0.956 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.995e-06/1.992, allocations: 6.812 kB / 0.956 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01438/2.006, allocations: 9.999 MB / 0.9658 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001676/2.008, allocations: 0.5128 MB / 0.9663 GB, free: 100.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002074/2.01, allocations: 3.969 kB / 0.9663 GB, free: 100.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003433/2.014, allocations: 149.2 kB / 0.9664 GB, free: 100.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000738/2.015, allocations: 170 kB / 0.9666 GB, free: 100.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004259/2.015, allocations: 78.42 kB / 0.9666 GB, free: 100.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.006489/2.021, allocations: 3.056 MB / 0.9696 GB, free: 99.24 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.6e-07/2.022, allocations: 0 / 0.9696 GB, free: 99.24 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008809/2.03, allocations: 1.326 MB / 0.9709 GB, free: 99.24 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (227): * Single equations (assignments): 222 * 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.01478/2.045, allocations: 10.98 MB / 0.9817 GB, free: 94.29 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01313/2.058, allocations: 7.933 MB / 0.9894 GB, free: 91.84 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/2.058, allocations: 0 / 0.9894 GB, free: 91.84 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005053/2.063, allocations: 3.03 MB / 0.9924 GB, free: 89.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004811/2.068, allocations: 0.5308 MB / 0.9929 GB, free: 88.87 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03806/2.106, allocations: 13.95 MB / 1.006 GB, free: 77.05 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007181/2.114, allocations: 4.755 MB / 1.011 GB, free: 73.55 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.006925/2.121, allocations: 2.821 MB / 1.014 GB, free: 71.83 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005061/2.126, allocations: 2.974 MB / 1.017 GB, free: 69.08 MB / 0.5261 GB Notification: Performance of SimCode: time 8.41e-07/2.126, allocations: 0 / 1.017 GB, free: 69.08 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4551/2.581, allocations: 110.5 MB / 1.125 GB, free: 117.2 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001731/2.581, allocations: 131.1 kB / 1.125 GB, free: 117 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.721/8.302, allocations: 0 / 1.125 GB, free: 117 MB / 0.5417 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Force_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Force.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force_res.mat does not exist to compare? outputFormat=mat