Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.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.FrameForces,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_FrameForces",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.001585/0.001585, allocations: 186.2 kB / 16.4 MB, free: 5.746 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.048/2.048, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001132/0.001131, allocations: 93.5 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5036/0.5036, allocations: 43.55 MB / 362.7 MB, free: 52.22 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004782/0.0004782, allocations: 12 kB / 431.5 MB, free: 6.062 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1279, allocations: 58.84 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4933/0.6213, allocations: 106.8 MB / 0.5832 GB, free: 11.66 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003394/0.6217, allocations: 75.97 kB / 0.5832 GB, free: 11.58 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8413/1.463, allocations: 111.3 MB / 0.6919 GB, free: 85.94 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.775e-06/1.463, allocations: 2.906 kB / 0.6919 GB, free: 85.94 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003769/1.463, allocations: 106.6 kB / 0.692 GB, free: 85.94 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.02481/1.488, allocations: 5.821 MB / 0.6977 GB, free: 83.55 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/1.488, allocations: 13.59 kB / 0.6977 GB, free: 83.55 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004638/1.493, allocations: 0.9453 MB / 0.6986 GB, free: 83.46 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05271/1.546, allocations: 6.921 MB / 0.7054 GB, free: 83.09 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02572/1.572, allocations: 6.842 MB / 0.7121 GB, free: 82.36 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006289/1.572, allocations: 405.2 kB / 0.7125 GB, free: 82.34 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00313/1.575, allocations: 0.5163 MB / 0.713 GB, free: 82.34 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04187/1.617, allocations: 13.01 MB / 0.7257 GB, free: 78.93 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004954/1.618, allocations: 76.97 kB / 0.7257 GB, free: 78.92 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002616/1.62, allocations: 265 kB / 0.726 GB, free: 78.92 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002728/1.623, allocations: 1.206 MB / 0.7272 GB, free: 78.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03245/1.656, allocations: 10.38 MB / 0.7373 GB, free: 76.59 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08654/1.742, allocations: 58.49 MB / 0.7944 GB, free: 32.37 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01879/1.761, allocations: 4.683 MB / 0.799 GB, free: 30.62 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01716/1.778, allocations: 6.867 MB / 0.8057 GB, free: 27.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.589e-05/1.778, allocations: 57.56 kB / 0.8058 GB, free: 27.25 MB / 490.7 MB Notification: Performance of pre-optimization done (n=181): time 6.041e-06/1.778, allocations: 0 / 0.8058 GB, free: 27.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=193): time 0.06611/1.845, allocations: 15.8 MB / 0.8212 GB, free: 17.44 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.288e-05/1.845, allocations: 209.1 kB / 0.8214 GB, free: 17.19 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01234/1.857, allocations: 5.166 MB / 0.8264 GB, free: 12.87 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004818/1.858, allocations: 49.7 kB / 0.8265 GB, free: 12.81 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003385/1.861, allocations: 3.833 MB / 0.8302 GB, free: 9.316 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001177/1.862, allocations: 0.7573 MB / 0.831 GB, free: 8.652 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008935/1.863, allocations: 148 kB / 0.8311 GB, free: 8.508 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004751/1.864, allocations: 0.6032 MB / 0.8317 GB, free: 7.98 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006048/1.87, allocations: 2.272 MB / 0.8339 GB, free: 6.078 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009587/1.879, allocations: 6.691 MB / 0.8405 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01007/1.889, allocations: 3.821 MB / 0.8442 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001454/1.89, allocations: 48 kB / 0.8442 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of matching and sorting (n=921) (initialization): time 0.02672/1.916, allocations: 8.896 MB / 0.8529 GB, free: 1.363 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001484/1.917, allocations: 73 kB / 0.853 GB, free: 1.293 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000292/1.917, allocations: 156 kB / 0.8531 GB, free: 1.141 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00247/1.919, allocations: 0.5932 MB / 0.8537 GB, free: 0.543 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01054/1.93, allocations: 1.618 MB / 0.8553 GB, free: 14.92 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01112/1.941, allocations: 5.705 MB / 0.8609 GB, free: 8.965 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008317/1.95, allocations: 375.5 kB / 0.8612 GB, free: 8.598 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001806/1.951, allocations: 436 kB / 0.8616 GB, free: 8.172 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 717 * Number of states: 0 () * Number of discrete variables: 45 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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 (871): * Single equations (assignments): 866 * 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 {(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008271/1.96, allocations: 2.638 MB / 0.8642 GB, free: 5.523 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001432/1.961, allocations: 489.6 kB / 0.8647 GB, free: 5.039 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01032/1.971, allocations: 2.996 MB / 0.8676 GB, free: 2.023 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-05/1.972, allocations: 27.92 kB / 0.8676 GB, free: 1.996 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.478e-05/1.972, allocations: 7.281 kB / 0.8676 GB, free: 1.992 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-05/1.972, allocations: 11.97 kB / 0.8677 GB, free: 1.98 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4247/2.396, allocations: 8.161 MB / 0.8756 GB, free: 104 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.653e-05/2.396, allocations: 2.75 kB / 0.8756 GB, free: 104 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002973/2.399, allocations: 290.1 kB / 0.8759 GB, free: 104 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001836/2.401, allocations: 343.4 kB / 0.8762 GB, free: 104 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005067/2.402, allocations: 34.48 kB / 0.8763 GB, free: 104 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01019/2.412, allocations: 5.049 MB / 0.8812 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/2.412, allocations: 5.438 kB / 0.8812 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01442/2.427, allocations: 5.975 MB / 0.887 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003263/2.43, allocations: 0.7908 MB / 0.8878 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001542/2.431, allocations: 33.88 kB / 0.8878 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003909/2.435, allocations: 92.73 kB / 0.8879 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006699/2.436, allocations: 115.1 kB / 0.888 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002069/2.436, allocations: 56.06 kB / 0.8881 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01051/2.447, allocations: 3.698 MB / 0.8917 GB, free: 99.92 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.052e-06/2.447, allocations: 0 / 0.8917 GB, free: 99.92 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008743/2.456, allocations: 1.204 MB / 0.8929 GB, free: 99.92 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (154): * Single equations (assignments): 149 * 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 {(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01404/2.47, allocations: 7.129 MB / 0.8998 GB, free: 97.88 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01417/2.484, allocations: 5.624 MB / 0.9053 GB, free: 97.62 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.397e-06/2.484, allocations: 0 / 0.9053 GB, free: 97.62 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004405/2.488, allocations: 1.683 MB / 0.907 GB, free: 97.38 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005348/2.494, allocations: 0.5929 MB / 0.9076 GB, free: 97.36 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.158/2.652, allocations: 155.5 MB / 1.059 GB, free: 21.62 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01112/2.663, allocations: 4.137 MB / 1.063 GB, free: 20.15 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006633/2.67, allocations: 2.585 MB / 1.066 GB, free: 18.09 MB / 0.573 GB Notification: Performance of SimCode: time 1.613e-06/2.67, allocations: 0 / 1.066 GB, free: 18.09 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.276/7.946, allocations: 149.5 MB / 1.212 GB, free: 134.5 MB / 0.573 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_FrameForces_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_FrameForces.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces_res.mat does not exist to compare? outputFormat=mat