Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces2.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.FrameForces2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameForces2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameForces2",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.001158/0.001158, allocations: 173 kB / 8.742 MB, free: 344 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.515/1.515, 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.0009621/0.0009621, allocations: 93.98 kB / 281.6 MB, free: 5.32 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.2159/0.2159, allocations: 44.15 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.823e-05/1.835e-05, allocations: 4 kB / 444.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.14, allocations: 61.92 MB / 0.4948 GB, free: 1.148 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4519/0.592, allocations: 106.2 MB / 0.5985 GB, free: 6.117 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002656/0.5923, allocations: 71.97 kB / 0.5985 GB, free: 6.047 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7381/1.33, allocations: 152.6 MB / 0.7476 GB, free: 102.2 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.944e-06/1.33, allocations: 0 / 0.7476 GB, free: 102.2 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.000558/1.331, allocations: 159.7 kB / 0.7477 GB, free: 102.2 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: 2601 * Number of variables: 2601 Notification: Performance of Generate backend data structure: time 0.0276/1.359, allocations: 7.613 MB / 0.7552 GB, free: 99.32 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.562e-05/1.359, allocations: 14.39 kB / 0.7552 GB, free: 99.32 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04586/1.405, allocations: 11.93 MB / 0.7668 GB, free: 98.54 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02718/1.432, allocations: 9.95 MB / 0.7766 GB, free: 95.18 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004184/1.432, allocations: 248.8 kB / 0.7768 GB, free: 95.18 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003825/1.436, allocations: 462.8 kB / 0.7772 GB, free: 95.16 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0202/1.456, allocations: 10.11 MB / 0.7871 GB, free: 89.18 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03485/1.491, allocations: 15.43 MB / 0.8022 GB, free: 72.3 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004183/1.492, allocations: 107 kB / 0.8023 GB, free: 72.2 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002192/1.494, allocations: 44 kB / 0.8023 GB, free: 72.16 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00236/1.496, allocations: 1.566 MB / 0.8039 GB, free: 70.59 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08363/1.58, allocations: 72.64 MB / 0.8748 GB, free: 12.53 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009025/1.589, allocations: 5.173 MB / 0.8798 GB, free: 7.203 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008146/1.597, allocations: 3.479 MB / 0.8832 GB, free: 3.711 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001218/1.599, allocations: 0.6558 MB / 0.8839 GB, free: 2.957 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.871e-05/1.599, allocations: 56.12 kB / 0.8839 GB, free: 2.895 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=239): time 8.636e-06/1.599, allocations: 0 / 0.8839 GB, free: 2.895 MB / 0.5105 GB Notification: Performance of matching and sorting (n=264): time 0.4405/2.039, allocations: 28.87 MB / 0.9121 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001297/2.039, allocations: 291.2 kB / 0.9124 GB, free: 119 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01565/2.055, allocations: 5.122 MB / 0.9174 GB, free: 118.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001103/2.056, allocations: 28.22 kB / 0.9174 GB, free: 118.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.008799/2.065, allocations: 5.391 MB / 0.9227 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.00209/2.067, allocations: 0.9906 MB / 0.9237 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009064/2.068, allocations: 3.656 kB / 0.9237 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0006616/2.069, allocations: 0.6776 MB / 0.9243 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005118/2.074, allocations: 2.72 MB / 0.927 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007911/2.082, allocations: 8.055 MB / 0.9348 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007167/2.089, allocations: 4.63 MB / 0.9394 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001801/2.089, allocations: 53.94 kB / 0.9394 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1141) (initialization): time 0.02226/2.111, allocations: 10.36 MB / 0.9495 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000149/2.112, allocations: 85.03 kB / 0.9496 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002596/2.112, allocations: 190.7 kB / 0.9498 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002413/2.114, allocations: 0.9962 MB / 0.9508 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006699/2.121, allocations: 1.967 MB / 0.9527 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009934/2.131, allocations: 10.57 MB / 0.963 GB, free: 98.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008971/2.14, allocations: 294.2 kB / 0.9633 GB, free: 98.26 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002293/2.142, allocations: 0.524 MB / 0.9638 GB, free: 98.19 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 869 * Number of states: 0 () * Number of discrete variables: 74 (frameForce4.arrow.arrowLine.twoHeadedArrow,frameForce4.arrow.headAtOrigin,frameForce4.color[3],frameForce4.color[2],frameForce4.color[1],BodyCylinder4.color[3],BodyCylinder4.color[2],BodyCylinder4.color[1],BodyCylinder4.body.sphereColor[3],BodyCylinder4.body.sphereColor[2],BodyCylinder4.body.sphereColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameForce3.arrow.arrowLine.twoHeadedArrow,frameForce3.arrow.headAtOrigin,frameForce3.color[3],frameForce3.color[2],frameForce3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[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 (1065): * Single equations (assignments): 1058 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002518/2.145, allocations: 0.5971 MB / 0.9644 GB, free: 97.71 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007955/2.153, allocations: 4.502 MB / 0.9688 GB, free: 96.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001627/2.155, allocations: 0.5511 MB / 0.9693 GB, free: 95.79 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007322/2.162, allocations: 4.32 MB / 0.9735 GB, free: 94.22 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.921e-05/2.162, allocations: 33.22 kB / 0.9736 GB, free: 94.22 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.122e-05/2.162, allocations: 10.16 kB / 0.9736 GB, free: 94.22 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.89e-05/2.162, allocations: 13.03 kB / 0.9736 GB, free: 94.22 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02258/2.185, allocations: 10.97 MB / 0.9843 GB, free: 90.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.631e-05/2.185, allocations: 7.891 kB / 0.9843 GB, free: 90.23 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001911/2.187, allocations: 392.7 kB / 0.9847 GB, free: 90.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00172/2.188, allocations: 0.6514 MB / 0.9853 GB, free: 90.02 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002164/2.189, allocations: 6.219 kB / 0.9853 GB, free: 90.02 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008394/2.197, allocations: 9.458 MB / 0.9946 GB, free: 83.03 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.712e-06/2.197, allocations: 6.812 kB / 0.9946 GB, free: 83.02 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01018/2.207, allocations: 7.629 MB / 1.002 GB, free: 79.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00234/2.21, allocations: 0.5691 MB / 1.003 GB, free: 79.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001185/2.211, allocations: 6.531 kB / 1.003 GB, free: 79.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00237/2.213, allocations: 103.4 kB / 1.003 GB, free: 79.27 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003922/2.214, allocations: 155.3 kB / 1.003 GB, free: 79.24 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001722/2.214, allocations: 70.16 kB / 1.003 GB, free: 79.22 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.006289/2.22, allocations: 3.482 MB / 1.006 GB, free: 77.96 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.9e-07/2.22, allocations: 0 / 1.006 GB, free: 77.96 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0103/2.23, allocations: 1.423 MB / 1.008 GB, free: 76.96 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,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 (208): * Single equations (assignments): 201 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 10,(1,100.0%) 10,(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.0096/2.24, allocations: 8.464 MB / 1.016 GB, free: 69.36 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01006/2.25, allocations: 7.013 MB / 1.023 GB, free: 63.01 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.003e-05/2.25, allocations: 0 / 1.023 GB, free: 63.01 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002776/2.253, allocations: 2.492 MB / 1.025 GB, free: 60.73 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004834/2.258, allocations: 0.7551 MB / 1.026 GB, free: 60.12 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03704/2.295, allocations: 15.16 MB / 1.041 GB, free: 47.03 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007518/2.302, allocations: 5.555 MB / 1.046 GB, free: 42.98 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.007666/2.31, allocations: 2.725 MB / 1.049 GB, free: 41.24 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006641/2.317, allocations: 3.586 MB / 1.052 GB, free: 37.91 MB / 0.5261 GB Notification: Performance of SimCode: time 1.623e-06/2.317, allocations: 0 / 1.052 GB, free: 37.91 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5955/2.912, allocations: 120.8 MB / 1.17 GB, free: 114.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001875/2.913, allocations: 135.5 kB / 1.17 GB, free: 113.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.37/9.283, allocations: 0 / 1.17 GB, free: 113.9 MB / 0.5417 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameForces2_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameForces2.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces2_res.mat does not exist to compare? outputFormat=mat