Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Force.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001451/0.001451, allocations: 105 kB / 19.74 MB, free: 2.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001553/0.001553, allocations: 217.6 kB / 22.92 MB, free: 5.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.293/1.293, allocations: 230.2 MB / 256.2 MB, free: 8.754 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.1968/0.1968, allocations: 46.89 MB / 359.3 MB, free: 5 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_Force",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_Force",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002141/0.002141, allocations: 87.86 kB / 0.494 GB, free: 9.105 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.2517, allocations: 65.97 MB / 0.5584 GB, free: 5.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.01606/0.2678, allocations: 15.61 MB / 0.5737 GB, free: 5.543 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008771/0.2765, allocations: 4.975 MB / 0.5785 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001514/0.2781, allocations: 111.6 kB / 0.5786 GB, free: 452 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008187/0.2862, allocations: 5.07 MB / 0.5836 GB, free: 11.36 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005445/0.2917, allocations: 2.544 MB / 0.5861 GB, free: 8.801 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002141/0.2938, allocations: 1.111 MB / 0.5872 GB, free: 7.688 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008334/0.3022, allocations: 6.883 MB / 0.5939 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004412/0.3066, allocations: 4.169 MB / 0.5979 GB, free: 12.54 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002823/0.3094, allocations: 2.41 MB / 0.6003 GB, free: 10.12 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003903/0.3133, allocations: 3.47 MB / 0.6037 GB, free: 6.645 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007582/0.3141, allocations: 0.5078 MB / 0.6042 GB, free: 6.137 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002162/0.3162, allocations: 1.428 MB / 0.6056 GB, free: 4.707 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002532/0.3188, allocations: 3.073 MB / 0.6086 GB, free: 1.625 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00299/0.3217, allocations: 3.398 MB / 0.6119 GB, free: 14.2 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01009/0.3318, allocations: 10.56 MB / 0.6222 GB, free: 3.605 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.3318, allocations: 0 / 0.6222 GB, free: 3.605 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3318, allocations: 0 / 0.6222 GB, free: 3.605 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000185/0.332, allocations: 0 / 0.6222 GB, free: 3.605 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2161 * Number of variables: 2161 Notification: Performance of Generate backend data structure: time 0.01486/0.3469, allocations: 7.78 MB / 0.6298 GB, free: 11.73 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.3469, allocations: 8.031 kB / 0.6298 GB, free: 11.72 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001322/0.3482, allocations: 1.025 MB / 0.6308 GB, free: 10.69 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03688/0.3851, allocations: 6.237 MB / 0.6369 GB, free: 4.438 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008861/0.394, allocations: 4.685 MB / 0.6415 GB, free: 15.67 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002837/0.3943, allocations: 361.3 kB / 0.6418 GB, free: 15.32 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009045/0.3952, allocations: 483.7 kB / 0.6423 GB, free: 14.84 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02199/0.4172, allocations: 14.55 MB / 0.6565 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001456/0.4173, allocations: 67.47 kB / 0.6566 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005389/0.4178, allocations: 223.8 kB / 0.6568 GB, free: 15 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004523/0.4224, allocations: 2.738 MB / 0.6595 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0214/0.4438, allocations: 12.24 MB / 0.6714 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06239/0.5062, allocations: 57.65 MB / 0.7277 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2099/0.7161, allocations: 6.923 MB / 0.7345 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003131/0.7192, allocations: 3.434 MB / 0.7378 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009043/0.7282, allocations: 8.772 MB / 0.7464 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.7283, allocations: 64.38 kB / 0.7464 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=246): time 4.278e-06/0.7283, allocations: 1.406 kB / 0.7464 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=288): time 0.06187/0.7901, allocations: 31.34 MB / 0.7771 GB, free: 123.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.984e-05/0.7902, allocations: 243.5 kB / 0.7773 GB, free: 123.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006319/0.7965, allocations: 6.671 MB / 0.7838 GB, free: 116.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003918/0.7969, allocations: 73.47 kB / 0.7839 GB, free: 116.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001613/0.7985, allocations: 4.586 MB / 0.7883 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007299/0.7992, allocations: 1.142 MB / 0.7895 GB, free: 111.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001564/0.8008, allocations: 1.73 MB / 0.7912 GB, free: 109.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.213e-05/0.8008, allocations: 305.1 kB / 0.7914 GB, free: 109.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003352/0.8042, allocations: 3.393 MB / 0.7948 GB, free: 105.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004564/0.8088, allocations: 8.379 MB / 0.8029 GB, free: 94.97 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008816/0.8176, allocations: 12.78 MB / 0.8154 GB, free: 79.75 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.241e-05/0.8176, allocations: 52 kB / 0.8155 GB, free: 79.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1100) (initialization): time 0.01519/0.8328, allocations: 13.06 MB / 0.8282 GB, free: 66.62 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.572e-05/0.8329, allocations: 80 kB / 0.8283 GB, free: 66.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001002/0.833, allocations: 176.9 kB / 0.8285 GB, free: 66.37 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003403/0.8364, allocations: 1.762 MB / 0.8302 GB, free: 64.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004838/0.8412, allocations: 1.957 MB / 0.8321 GB, free: 62.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01101/0.8522, allocations: 12.75 MB / 0.8446 GB, free: 49.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005845/0.8581, allocations: 487.4 kB / 0.845 GB, free: 49.14 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000816/0.8589, allocations: 0.5076 MB / 0.8455 GB, free: 48.63 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 796 * Number of states: 0 () * Number of discrete variables: 67 (force2.forceArrow.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.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 (1020): * Single equations (assignments): 1013 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,22,100.0%), (2,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003263/0.8622, allocations: 2.98 MB / 0.8484 GB, free: 45.64 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008147/0.863, allocations: 0.5859 MB / 0.849 GB, free: 45.05 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008651/0.8716, allocations: 6.475 MB / 0.8553 GB, free: 38.56 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.629e-05/0.8716, allocations: 31.98 kB / 0.8554 GB, free: 38.53 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.234e-05/0.8717, allocations: 12 kB / 0.8554 GB, free: 38.52 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.922e-05/0.8717, allocations: 11.95 kB / 0.8554 GB, free: 38.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01657/0.8882, allocations: 14.22 MB / 0.8693 GB, free: 24.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/0.8883, allocations: 4 kB / 0.8693 GB, free: 24.22 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001995/0.8903, allocations: 495.2 kB / 0.8697 GB, free: 23.73 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003157/0.8934, allocations: 1.515 MB / 0.8712 GB, free: 22.21 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001963/0.8936, allocations: 52 kB / 0.8713 GB, free: 22.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01118/0.9048, allocations: 12.06 MB / 0.883 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.9048, allocations: 4.094 kB / 0.883 GB, free: 9.844 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01194/0.9167, allocations: 10.59 MB / 0.8934 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001459/0.9182, allocations: 0.6647 MB / 0.894 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006315/0.9188, allocations: 55.22 kB / 0.8941 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002181/0.921, allocations: 188.2 kB / 0.8943 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005144/0.9215, allocations: 177.6 kB / 0.8944 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002045/0.9217, allocations: 79.98 kB / 0.8945 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.006052/0.9278, allocations: 4.278 MB / 0.8987 GB, free: 9.656 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.9278, allocations: 0 / 0.8987 GB, free: 9.656 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005988/0.9338, allocations: 1.523 MB / 0.9002 GB, free: 8.133 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,17,75.0%), (4,17,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01564/0.9494, allocations: 11.27 MB / 0.9112 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01183/0.9612, allocations: 8.026 MB / 0.919 GB, free: 4.676 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.87e-06/0.9612, allocations: 0 / 0.919 GB, free: 4.676 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005126/0.9664, allocations: 3.087 MB / 0.922 GB, free: 1.57 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003862/0.9702, allocations: 0.7645 MB / 0.9228 GB, free: 0.8125 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2949/1.265, allocations: 75.92 MB / 0.9969 GB, free: 213.9 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003544/1.269, allocations: 4.542 MB / 1.001 GB, free: 212.4 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.00457/1.273, allocations: 2.793 MB / 1.004 GB, free: 212.3 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002641/1.276, allocations: 2.943 MB / 1.007 GB, free: 209.9 MB / 0.6544 GB Notification: Performance of SimCode: time 1.423e-06/1.276, allocations: 0 / 1.007 GB, free: 209.9 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1351/1.411, allocations: 115.1 MB / 1.119 GB, free: 96.5 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.79/23.2, allocations: 3.938 kB / 1.119 GB, free: 96.5 MB / 0.6544 GB " [Timeout remaining time 637] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Force.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Force_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_Force.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 25.805395168994437]