Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_3_2_3_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.001238/0.001238, allocations: 184 kB / 15.76 MB, free: 6.363 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.663/1.663, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0009665/0.0009665, allocations: 94.83 kB / 270.2 MB, free: 13.35 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.2353/0.2353, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003283/0.0003283, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1229, allocations: 58.86 MB / 490.3 MB, free: 8.57 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4121/0.5351, allocations: 106.8 MB / 0.5832 GB, free: 9.141 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002929/0.5354, allocations: 82.14 kB / 0.5833 GB, free: 9.098 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2873/0.8227, allocations: 111.3 MB / 0.6919 GB, free: 1.516 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.8228, allocations: 0 / 0.6919 GB, free: 1.516 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003563/0.8231, allocations: 104 kB / 0.692 GB, free: 1.414 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.02146/0.8446, allocations: 5.825 MB / 0.6977 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.231e-05/0.8447, allocations: 8.031 kB / 0.6977 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00464/0.8493, allocations: 0.9477 MB / 0.6987 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02794/0.8773, allocations: 6.923 MB / 0.7054 GB, free: 3.602 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3191/1.196, allocations: 6.843 MB / 0.7121 GB, free: 105.2 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004773/1.197, allocations: 403 kB / 0.7125 GB, free: 105.2 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002727/1.2, allocations: 0.524 MB / 0.713 GB, free: 105.2 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0338/1.234, allocations: 13 MB / 0.7257 GB, free: 101.8 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004431/1.234, allocations: 80.81 kB / 0.7258 GB, free: 101.8 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001998/1.236, allocations: 258.9 kB / 0.726 GB, free: 101.8 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002165/1.238, allocations: 1.208 MB / 0.7272 GB, free: 101.8 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02171/1.26, allocations: 10.38 MB / 0.7373 GB, free: 101.8 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06471/1.325, allocations: 58.48 MB / 0.7945 GB, free: 62.15 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01029/1.335, allocations: 4.692 MB / 0.799 GB, free: 60.43 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01163/1.347, allocations: 6.86 MB / 0.8057 GB, free: 57.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/1.347, allocations: 45.66 kB / 0.8058 GB, free: 57.25 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=181): time 4.448e-06/1.347, allocations: 0 / 0.8058 GB, free: 57.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=193): time 0.0402/1.387, allocations: 15.79 MB / 0.8212 GB, free: 50.78 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.431e-05/1.387, allocations: 208.9 kB / 0.8214 GB, free: 50.55 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008017/1.395, allocations: 5.162 MB / 0.8264 GB, free: 48.76 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000422/1.396, allocations: 52.98 kB / 0.8265 GB, free: 48.71 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002452/1.398, allocations: 4.032 MB / 0.8304 GB, free: 45.6 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009756/1.399, allocations: 0.7611 MB / 0.8312 GB, free: 45.06 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003508/1.399, allocations: 139.4 kB / 0.8313 GB, free: 44.95 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003197/1.4, allocations: 0.6049 MB / 0.8319 GB, free: 44.52 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003057/1.403, allocations: 2.27 MB / 0.8341 GB, free: 43.74 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00453/1.407, allocations: 6.685 MB / 0.8406 GB, free: 35.47 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004865/1.412, allocations: 3.829 MB / 0.8444 GB, free: 32.06 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.892e-05/1.412, allocations: 52 kB / 0.8444 GB, free: 32.01 MB / 0.4948 GB Notification: Performance of matching and sorting (n=921) (initialization): time 0.01571/1.428, allocations: 9.108 MB / 0.8533 GB, free: 23.94 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001566/1.428, allocations: 72 kB / 0.8534 GB, free: 23.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002114/1.429, allocations: 156 kB / 0.8535 GB, free: 23.72 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001285/1.43, allocations: 0.5979 MB / 0.8541 GB, free: 23.21 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005196/1.435, allocations: 1.617 MB / 0.8557 GB, free: 21.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005616/1.441, allocations: 5.708 MB / 0.8613 GB, free: 16.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006619/1.447, allocations: 376.4 kB / 0.8616 GB, free: 16.04 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001613/1.449, allocations: 442.8 kB / 0.8621 GB, free: 15.62 MB / 0.4948 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.006848/1.456, allocations: 2.624 MB / 0.8646 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001368/1.457, allocations: 493.6 kB / 0.8651 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006127/1.463, allocations: 2.992 MB / 0.868 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.126e-05/1.463, allocations: 28 kB / 0.868 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.922e-05/1.464, allocations: 7.953 kB / 0.868 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.192e-05/1.464, allocations: 10.59 kB / 0.8681 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02084/1.484, allocations: 8.173 MB / 0.876 GB, free: 3.613 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.573e-05/1.484, allocations: 7.516 kB / 0.876 GB, free: 3.609 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00151/1.486, allocations: 282.2 kB / 0.8763 GB, free: 3.379 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001014/1.487, allocations: 348.3 kB / 0.8766 GB, free: 3.117 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000274/1.487, allocations: 38.83 kB / 0.8767 GB, free: 3.086 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005334/1.493, allocations: 5.052 MB / 0.8816 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/1.493, allocations: 4 kB / 0.8816 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0103/1.503, allocations: 5.979 MB / 0.8875 GB, free: 8.711 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003419/1.506, allocations: 0.7901 MB / 0.8882 GB, free: 7.957 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001752/1.508, allocations: 36 kB / 0.8883 GB, free: 7.922 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003001/1.511, allocations: 94.61 kB / 0.8884 GB, free: 7.859 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003832/1.512, allocations: 118 kB / 0.8885 GB, free: 7.777 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001979/1.512, allocations: 55.94 kB / 0.8885 GB, free: 7.727 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.009813/1.522, allocations: 3.689 MB / 0.8921 GB, free: 4.719 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.422e-06/1.522, allocations: 0 / 0.8921 GB, free: 4.719 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01233/1.534, allocations: 1.201 MB / 0.8933 GB, free: 3.523 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.3341/1.868, allocations: 7.387 MB / 0.9005 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01051/1.879, allocations: 5.635 MB / 0.906 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.069e-05/1.879, allocations: 4.75 kB / 0.906 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003018/1.882, allocations: 1.683 MB / 0.9077 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004217/1.886, allocations: 0.5913 MB / 0.9082 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1268/2.013, allocations: 154.8 MB / 1.059 GB, free: 23.05 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005487/2.018, allocations: 4.14 MB / 1.063 GB, free: 22.21 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.006081/2.025, allocations: 2.305 MB / 1.066 GB, free: 22.02 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004057/2.029, allocations: 2.524 MB / 1.068 GB, free: 21.13 MB / 0.5573 GB Notification: Performance of SimCode: time 1.192e-06/2.029, allocations: 0 / 1.068 GB, free: 21.13 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.444/2.473, allocations: 98.11 MB / 1.164 GB, free: 141.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001933/2.473, allocations: 186.8 kB / 1.164 GB, free: 141.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.618/8.091, allocations: 0 / 1.164 GB, free: 141.5 MB / 0.5573 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForces_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForces.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces_res.mat does not exist to compare? outputFormat=mat