Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Force",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Force",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 98.36 kB / 17 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 188.7 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 223.2 MB / 241.9 MB, free: 264 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.211/0.211, allocations: 44.23 MB / 337.2 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003626/0.0003628, allocations: 15.98 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1383, allocations: 61.92 MB / 471.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.3662/0.5045, allocations: 80.96 MB / 0.5397 GB, free: 7.629 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04063/0.5452, allocations: 16.36 MB / 0.5556 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02017/0.5654, allocations: 382.6 kB / 0.556 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01665/0.5821, allocations: 4.271 MB / 0.5602 GB, free: 8.699 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03727/0.6194, allocations: 12.41 MB / 0.5723 GB, free: 13.63 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006075/0.6255, allocations: 0.8901 MB / 0.5732 GB, free: 12.74 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.08274/0.7083, allocations: 63.05 MB / 0.6347 GB, free: 13.62 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01164/0.72, allocations: 7.322 MB / 0.6419 GB, free: 6.211 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004609/0.7246, allocations: 1.919 MB / 0.6438 GB, free: 4.285 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004745/0.7294, allocations: 2.987 MB / 0.6467 GB, free: 1.289 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001107/0.7306, allocations: 212 kB / 0.6469 GB, free: 1.082 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002594/0.7332, allocations: 1.01 MB / 0.6479 GB, free: 72 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002888/0.7361, allocations: 2.669 MB / 0.6505 GB, free: 13.39 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001753/0.7378, allocations: 1.255 MB / 0.6517 GB, free: 12.13 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009581/0.7474, allocations: 8.322 MB / 0.6598 GB, free: 3.789 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.7475, allocations: 0 / 0.6598 GB, free: 3.789 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.7475, allocations: 4 kB / 0.6598 GB, free: 3.785 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0004094/0.7479, allocations: 0 / 0.6598 GB, free: 3.785 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2219 * Number of variables: 2219 Notification: Performance of Generate backend data structure: time 0.01579/0.7637, allocations: 6.423 MB / 0.6661 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.7638, allocations: 8.031 kB / 0.6661 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003408/0.7672, allocations: 1.046 MB / 0.6671 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03412/0.8013, allocations: 6.337 MB / 0.6733 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01123/0.8126, allocations: 4.754 MB / 0.678 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003359/0.813, allocations: 361.3 kB / 0.6783 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001876/0.8149, allocations: 491.6 kB / 0.6788 GB, free: 188 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02994/0.8448, allocations: 14.91 MB / 0.6933 GB, free: 284 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002112/0.8451, allocations: 71.3 kB / 0.6934 GB, free: 212 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007207/0.8458, allocations: 231.8 kB / 0.6936 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004707/0.8505, allocations: 2.863 MB / 0.6964 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02744/0.878, allocations: 12.52 MB / 0.7086 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3549/1.233, allocations: 58.66 MB / 0.7659 GB, free: 148.4 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01586/1.249, allocations: 7.166 MB / 0.7729 GB, free: 144 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004162/1.253, allocations: 3.76 MB / 0.7766 GB, free: 140.2 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0129/1.266, allocations: 8.786 MB / 0.7852 GB, free: 131.3 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.027e-05/1.266, allocations: 67.53 kB / 0.7852 GB, free: 131.3 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=246): time 4.468e-06/1.266, allocations: 0 / 0.7852 GB, free: 131.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=288): time 0.06464/1.331, allocations: 31.05 MB / 0.8156 GB, free: 100 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.519e-05/1.331, allocations: 235.6 kB / 0.8158 GB, free: 99.72 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007627/1.339, allocations: 6.686 MB / 0.8223 GB, free: 93.04 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006388/1.339, allocations: 77.64 kB / 0.8224 GB, free: 92.95 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002153/1.341, allocations: 4.51 MB / 0.8268 GB, free: 88.45 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001074/1.342, allocations: 1.088 MB / 0.8279 GB, free: 87.37 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003539/1.343, allocations: 172 kB / 0.828 GB, free: 87.2 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002876/1.343, allocations: 0.6616 MB / 0.8287 GB, free: 86.53 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003935/1.347, allocations: 3.378 MB / 0.832 GB, free: 83.14 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005417/1.352, allocations: 8.395 MB / 0.8402 GB, free: 72.27 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005648/1.358, allocations: 5.194 MB / 0.8452 GB, free: 67.07 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-05/1.358, allocations: 48 kB / 0.8453 GB, free: 67.02 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1106) (initialization): time 0.01869/1.377, allocations: 13.04 MB / 0.858 GB, free: 53.97 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.597e-05/1.377, allocations: 80 kB / 0.8581 GB, free: 53.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000138/1.377, allocations: 180 kB / 0.8583 GB, free: 53.71 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003615/1.381, allocations: 1.791 MB / 0.86 GB, free: 51.92 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005947/1.387, allocations: 1.969 MB / 0.8619 GB, free: 49.95 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0116/1.398, allocations: 11.86 MB / 0.8735 GB, free: 37.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006026/1.404, allocations: 0.4888 MB / 0.874 GB, free: 37.35 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001042/1.405, allocations: 0.5089 MB / 0.8745 GB, free: 36.84 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 802 * Number of states: 0 () * Number of discrete variables: 67 (force2.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (1026): * Single equations (assignments): 1019 * Array equations: 5 * 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 {(2,100.0%) 22,(2,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004093/1.41, allocations: 3.04 MB / 0.8775 GB, free: 33.79 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001014/1.411, allocations: 0.5669 MB / 0.878 GB, free: 33.21 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009201/1.42, allocations: 6.472 MB / 0.8843 GB, free: 26.71 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.45e-05/1.42, allocations: 32 kB / 0.8844 GB, free: 26.68 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.562e-05/1.42, allocations: 12 kB / 0.8844 GB, free: 26.67 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.332e-05/1.42, allocations: 15.95 kB / 0.8844 GB, free: 26.66 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02049/1.44, allocations: 14.53 MB / 0.8986 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.982e-05/1.44, allocations: 4 kB / 0.8986 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002163/1.443, allocations: 495.2 kB / 0.899 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003357/1.446, allocations: 1.511 MB / 0.9005 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000316/1.446, allocations: 52 kB / 0.9006 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2804/1.727, allocations: 11.07 MB / 0.9114 GB, free: 173.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.656e-06/1.727, allocations: 11.89 kB / 0.9114 GB, free: 173.3 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01708/1.744, allocations: 10.53 MB / 0.9217 GB, free: 171 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001943/1.746, allocations: 0.6408 MB / 0.9223 GB, free: 170.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001132/1.747, allocations: 57.61 kB / 0.9224 GB, free: 170.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00261/1.75, allocations: 194.5 kB / 0.9225 GB, free: 170.8 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005756/1.75, allocations: 177.3 kB / 0.9227 GB, free: 170.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000218/1.75, allocations: 74.72 kB / 0.9228 GB, free: 170.8 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.008292/1.759, allocations: 4.285 MB / 0.927 GB, free: 169.3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6.61e-07/1.759, allocations: 1.188 kB / 0.927 GB, free: 169.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008404/1.767, allocations: 1.56 MB / 0.9285 GB, free: 169.2 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.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 (232): * Single equations (assignments): 227 * 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 {(4,75.0%) 17,(4,75.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01519/1.782, allocations: 11.21 MB / 0.9394 GB, free: 164.6 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01255/1.795, allocations: 8.316 MB / 0.9476 GB, free: 160.4 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.11e-05/1.795, allocations: 0 / 0.9476 GB, free: 160.4 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004976/1.8, allocations: 3.287 MB / 0.9508 GB, free: 157.6 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005246/1.805, allocations: 0.7454 MB / 0.9515 GB, free: 156.9 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09975/1.905, allocations: 62.93 MB / 1.013 GB, free: 90.6 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005267/1.91, allocations: 4.628 MB / 1.017 GB, free: 85.94 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006684/1.917, allocations: 2.807 MB / 1.02 GB, free: 83.12 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004131/1.921, allocations: 3.002 MB / 1.023 GB, free: 80.12 MB / 0.5294 GB Notification: Performance of SimCode: time 2.725e-06/1.921, allocations: 0 / 1.023 GB, free: 80.12 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4048/2.326, allocations: 126.9 MB / 1.147 GB, free: 169.7 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001477/2.326, allocations: 201 kB / 1.147 GB, free: 169.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.691/8.017, allocations: 3.938 kB / 1.147 GB, free: 169.5 MB / 0.545 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Force_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Force.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force_res.mat does not exist to compare? outputFormat=mat