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.001471/0.001471, allocations: 183.8 kB / 17.06 MB, free: 5.074 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.426/1.426, allocations: 223.2 MB / 241 MB, free: 11.9 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 92.38 kB / 292.1 MB, free: 10.93 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.3722/0.3722, allocations: 44.22 MB / 387.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003841/0.0003843, allocations: 8 kB / 460 MB, free: 1.434 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3845/0.3849, allocations: 61.9 MB / 0.5096 GB, free: 38.17 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1462/0.5312, allocations: 108.2 MB / 0.6153 GB, free: 2.91 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002018/0.5315, allocations: 87.92 kB / 0.6154 GB, free: 2.828 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5407/1.072, allocations: 108 MB / 0.7209 GB, free: 95.26 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.775e-06/1.072, allocations: 0 / 0.7209 GB, free: 95.26 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003613/1.073, allocations: 102.4 kB / 0.721 GB, free: 95.26 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: 1784 * Number of variables: 1784 Notification: Performance of Generate backend data structure: time 0.02036/1.093, allocations: 5.607 MB / 0.7264 GB, free: 92.56 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/1.093, allocations: 9.031 kB / 0.7264 GB, free: 92.56 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003937/1.097, allocations: 0.9045 MB / 0.7273 GB, free: 92.13 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02622/1.123, allocations: 6.865 MB / 0.734 GB, free: 91.12 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01788/1.141, allocations: 6.41 MB / 0.7403 GB, free: 88.82 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004292/1.142, allocations: 388.9 kB / 0.7407 GB, free: 88.68 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002824/1.145, allocations: 0.5022 MB / 0.7411 GB, free: 88.53 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03122/1.176, allocations: 12.41 MB / 0.7533 GB, free: 81.92 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005218/1.176, allocations: 75.28 kB / 0.7533 GB, free: 81.88 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002812/1.179, allocations: 251.8 kB / 0.7536 GB, free: 81.74 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001748/1.181, allocations: 1.133 MB / 0.7547 GB, free: 81.53 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02188/1.203, allocations: 9.807 MB / 0.7643 GB, free: 78.46 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06496/1.268, allocations: 56.33 MB / 0.8193 GB, free: 21.95 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01032/1.278, allocations: 4.347 MB / 0.8235 GB, free: 17.46 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01238/1.291, allocations: 6.211 MB / 0.8296 GB, free: 11.19 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.212e-05/1.291, allocations: 51.56 kB / 0.8296 GB, free: 11.13 MB / 490.7 MB Notification: Performance of pre-optimization done (n=154): time 4.99e-06/1.291, allocations: 0 / 0.8296 GB, free: 11.13 MB / 490.7 MB Notification: Performance of matching and sorting (n=166): time 0.04001/1.331, allocations: 14.27 MB / 0.8436 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001236/1.331, allocations: 201.1 kB / 0.8438 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01164/1.343, allocations: 5.005 MB / 0.8486 GB, free: 7.484 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003832/1.343, allocations: 45.7 kB / 0.8487 GB, free: 7.434 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004228/1.347, allocations: 3.857 MB / 0.8525 GB, free: 3.578 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001228/1.349, allocations: 0.6709 MB / 0.8531 GB, free: 2.914 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008989/1.349, allocations: 128 kB / 0.8532 GB, free: 2.789 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0008188/1.35, allocations: 0.5947 MB / 0.8538 GB, free: 2.188 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004345/1.355, allocations: 1.992 MB / 0.8558 GB, free: 196 kB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009081/1.364, allocations: 6.285 MB / 0.8619 GB, free: 7.754 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006531/1.37, allocations: 3.478 MB / 0.8653 GB, free: 4.273 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001448/1.371, allocations: 44 kB / 0.8653 GB, free: 4.23 MB / 0.5105 GB Notification: Performance of matching and sorting (n=865) (initialization): time 0.01834/1.389, allocations: 8.392 MB / 0.8735 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002763/1.389, allocations: 72 kB / 0.8736 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003835/1.39, allocations: 152 kB / 0.8737 GB, free: 11.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001917/1.392, allocations: 0.5834 MB / 0.8743 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005947/1.398, allocations: 1.501 MB / 0.8758 GB, free: 9.504 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007384/1.405, allocations: 5.687 MB / 0.8813 GB, free: 3.555 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007047/1.412, allocations: 343.5 kB / 0.8817 GB, free: 3.219 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001809/1.414, allocations: 416 kB / 0.8821 GB, free: 2.812 MB / 0.5261 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 () * Number of clocked 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.006681/1.421, allocations: 2.514 MB / 0.8845 GB, free: 288 kB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.2971/1.718, allocations: 465.7 kB / 0.885 GB, free: 125.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006061/1.724, allocations: 2.464 MB / 0.8874 GB, free: 125.5 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.735e-05/1.724, allocations: 20.58 kB / 0.8874 GB, free: 125.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/1.724, allocations: 4.844 kB / 0.8874 GB, free: 125.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.662e-05/1.724, allocations: 6.375 kB / 0.8874 GB, free: 125.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01482/1.739, allocations: 7.172 MB / 0.8944 GB, free: 124.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-05/1.739, allocations: 2.938 kB / 0.8944 GB, free: 124.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00108/1.74, allocations: 227.1 kB / 0.8946 GB, free: 124.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009599/1.741, allocations: 347.7 kB / 0.8949 GB, free: 124.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001224/1.741, allocations: 25.34 kB / 0.895 GB, free: 124.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004847/1.746, allocations: 5.061 MB / 0.8999 GB, free: 122.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/1.746, allocations: 4.781 kB / 0.8999 GB, free: 122.3 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006759/1.753, allocations: 5.091 MB / 0.9049 GB, free: 121.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001955/1.755, allocations: 0.5258 MB / 0.9054 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006524/1.755, allocations: 30.61 kB / 0.9054 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00152/1.757, allocations: 71.23 kB / 0.9055 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002781/1.757, allocations: 96.55 kB / 0.9056 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001089/1.757, allocations: 52.45 kB / 0.9056 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.007194/1.764, allocations: 3.582 MB / 0.9091 GB, free: 120.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.31e-07/1.764, allocations: 3.875 kB / 0.9091 GB, free: 120.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007672/1.772, allocations: 1.112 MB / 0.9102 GB, free: 120 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 () * Number of clocked 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.008765/1.781, allocations: 6.256 MB / 0.9163 GB, free: 116.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01115/1.792, allocations: 5.011 MB / 0.9212 GB, free: 115 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.849e-06/1.792, allocations: 2.531 kB / 0.9212 GB, free: 115 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002427/1.795, allocations: 1.412 MB / 0.9226 GB, free: 114.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004704/1.799, allocations: 0.6014 MB / 0.9232 GB, free: 114.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1194/1.919, allocations: 148.8 MB / 1.069 GB, free: 10.91 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008424/1.927, allocations: 3.961 MB / 1.072 GB, free: 9.488 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.006955/1.934, allocations: 2.162 MB / 1.074 GB, free: 9.312 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004815/1.939, allocations: 2.399 MB / 1.077 GB, free: 7.359 MB / 0.5573 GB Notification: Performance of SimCode: time 1.623e-06/1.939, allocations: 0 / 1.077 GB, free: 7.359 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4901/2.429, allocations: 93.27 MB / 1.168 GB, free: 144.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002685/2.43, allocations: 187.2 kB / 1.168 GB, free: 143.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.407/7.837, allocations: 3.938 kB / 1.168 GB, free: 143.9 MB / 0.5573 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