Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.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.FrameForces,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameForces",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.001706/0.001706, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 221.3 MB / 236 MB, free: 2.973 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.0009657/0.0009661, allocations: 95.67 kB / 287 MB, free: 244 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2255/0.2255, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.182e-05/4.202e-05, allocations: 4.219 kB / 451.9 MB, free: 9.348 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1332, allocations: 61.92 MB / 0.5018 GB, free: 11.37 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.461/0.5943, allocations: 108.1 MB / 0.6074 GB, free: 13.11 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002398/0.5946, allocations: 75.95 kB / 0.6074 GB, free: 13.03 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2937/0.8883, allocations: 108.1 MB / 0.713 GB, free: 324 kB / 0.5105 GB Notification: Performance of FrontEnd: time 2.805e-06/0.8883, allocations: 3.938 kB / 0.713 GB, free: 320 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0004663/0.8888, allocations: 107.9 kB / 0.7131 GB, free: 212 kB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1784 * Number of variables: 1784 Notification: Performance of Generate backend data structure: time 0.3392/1.228, allocations: 5.14 MB / 0.7181 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/1.228, allocations: 8.781 kB / 0.7181 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003624/1.232, allocations: 0.9001 MB / 0.719 GB, free: 114.1 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03117/1.263, allocations: 6.874 MB / 0.7257 GB, free: 113.8 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02149/1.284, allocations: 6.381 MB / 0.732 GB, free: 113.2 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008274/1.285, allocations: 382.3 kB / 0.7323 GB, free: 113.2 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003673/1.289, allocations: 0.5033 MB / 0.7328 GB, free: 113.2 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03276/1.322, allocations: 12.32 MB / 0.7449 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000679/1.323, allocations: 77.16 kB / 0.7449 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003027/1.326, allocations: 248.8 kB / 0.7452 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001994/1.328, allocations: 1.126 MB / 0.7463 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02213/1.35, allocations: 9.66 MB / 0.7557 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0625/1.412, allocations: 56.34 MB / 0.8107 GB, free: 67.8 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01116/1.424, allocations: 4.327 MB / 0.8149 GB, free: 66.2 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002927/1.427, allocations: 1.942 MB / 0.8168 GB, free: 65.36 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01289/1.439, allocations: 6.211 MB / 0.8229 GB, free: 62.31 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.99e-05/1.44, allocations: 61.83 kB / 0.823 GB, free: 62.25 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=154): time 5.921e-06/1.44, allocations: 4.875 kB / 0.823 GB, free: 62.25 MB / 0.5105 GB Notification: Performance of matching and sorting (n=166): time 0.04825/1.488, allocations: 12.08 MB / 0.8348 GB, free: 55.95 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001169/1.488, allocations: 200.9 kB / 0.835 GB, free: 55.71 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01409/1.502, allocations: 4.956 MB / 0.8398 GB, free: 51.35 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004443/1.503, allocations: 45.7 kB / 0.8398 GB, free: 51.3 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004337/1.507, allocations: 3.858 MB / 0.8436 GB, free: 47.83 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001216/1.508, allocations: 0.6669 MB / 0.8443 GB, free: 47.24 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000778/1.509, allocations: 128 kB / 0.8444 GB, free: 47.12 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005088/1.51, allocations: 0.5937 MB / 0.845 GB, free: 46.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004553/1.514, allocations: 1.948 MB / 0.8469 GB, free: 44.85 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007112/1.521, allocations: 6.231 MB / 0.8529 GB, free: 36.83 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007467/1.529, allocations: 3.49 MB / 0.8564 GB, free: 33.84 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001572/1.529, allocations: 44 kB / 0.8564 GB, free: 33.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=865) (initialization): time 0.02453/1.554, allocations: 8.3 MB / 0.8645 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001573/1.554, allocations: 76.95 kB / 0.8646 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002328/1.554, allocations: 152 kB / 0.8647 GB, free: 26.24 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001953/1.556, allocations: 0.5782 MB / 0.8653 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00733/1.563, allocations: 1.505 MB / 0.8668 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008256/1.572, allocations: 5.59 MB / 0.8722 GB, free: 19.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01022/1.582, allocations: 340.4 kB / 0.8725 GB, free: 18.77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001912/1.584, allocations: 423.2 kB / 0.8729 GB, free: 18.37 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 697 * Number of states: 0 () * Number of discrete variables: 49 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.arrow.arrowLine.twoHeadedArrow,frameForce2.arrow.headAtOrigin,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.arrow.arrowLine.twoHeadedArrow,frameForce1.arrow.headAtOrigin,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (815): * Single equations (assignments): 810 * 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.001525/1.585, allocations: 0.6192 MB / 0.8735 GB, free: 17.74 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00148/1.587, allocations: 469.9 kB / 0.874 GB, free: 17.28 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006242/1.593, allocations: 2.453 MB / 0.8764 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.335e-05/1.593, allocations: 20 kB / 0.8764 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-05/1.593, allocations: 7.562 kB / 0.8764 GB, free: 15.22 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.517e-05/1.593, allocations: 15.02 kB / 0.8764 GB, free: 15.22 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02141/1.615, allocations: 7.15 MB / 0.8834 GB, free: 9.383 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.36e-05/1.615, allocations: 0 / 0.8834 GB, free: 9.383 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001695/1.617, allocations: 229.7 kB / 0.8836 GB, free: 9.195 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00144/1.618, allocations: 344.5 kB / 0.884 GB, free: 8.934 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001986/1.618, allocations: 35.94 kB / 0.884 GB, free: 8.898 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006038/1.624, allocations: 4.928 MB / 0.8888 GB, free: 4.121 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/1.624, allocations: 15.94 kB / 0.8888 GB, free: 4.105 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00928/1.634, allocations: 5.062 MB / 0.8938 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002746/1.636, allocations: 0.53 MB / 0.8943 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001265/1.638, allocations: 27.94 kB / 0.8943 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0029/1.641, allocations: 75.02 kB / 0.8944 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003889/1.641, allocations: 100.8 kB / 0.8945 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001734/1.641, allocations: 44 kB / 0.8945 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01085/1.652, allocations: 3.528 MB / 0.898 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.01e-07/1.652, allocations: 0 / 0.898 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01169/1.664, allocations: 1.117 MB / 0.8991 GB, free: 9.742 MB / 0.5261 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 121 * 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.01309/1.677, allocations: 6.227 MB / 0.9051 GB, free: 3.402 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.3652/2.042, allocations: 4.941 MB / 0.91 GB, free: 116.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.058e-05/2.042, allocations: 0.5625 kB / 0.91 GB, free: 116.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002319/2.045, allocations: 1.391 MB / 0.9113 GB, free: 116.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004032/2.049, allocations: 0.5898 MB / 0.9119 GB, free: 116.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03578/2.084, allocations: 10.38 MB / 0.922 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009906/2.094, allocations: 3.963 MB / 0.9259 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.008534/2.103, allocations: 2.16 MB / 0.928 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005032/2.108, allocations: 2.4 MB / 0.9304 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of SimCode: time 2.304e-06/2.108, allocations: 0 / 0.9304 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1623/2.271, allocations: 92.77 MB / 1.021 GB, free: 74.55 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001737/2.271, allocations: 174.2 kB / 1.021 GB, free: 74.32 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.732/8.002, allocations: 0 / 1.021 GB, free: 74.32 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameForces_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameForces.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces_res.mat does not exist to compare? outputFormat=mat