Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces.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.00143/0.00143, allocations: 105 kB / 19.74 MB, free: 2.453 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.001601/0.001601, allocations: 219.1 kB / 22.92 MB, free: 5.195 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.286/1.286, allocations: 230.2 MB / 256.1 MB, free: 8.594 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.196/0.196, allocations: 46.88 MB / 359.3 MB, free: 4.965 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.FrameForces,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_FrameForces",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.002134/0.002134, allocations: 79.86 kB / 0.494 GB, free: 9.102 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2546/0.2568, allocations: 65.98 MB / 0.5584 GB, free: 5.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01352/0.2703, allocations: 12.72 MB / 0.5708 GB, free: 8.422 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008093/0.2784, allocations: 4.551 MB / 0.5753 GB, free: 3.852 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001089/0.2795, allocations: 83.75 kB / 0.5754 GB, free: 3.77 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006152/0.2856, allocations: 3.765 MB / 0.579 GB, free: 15.99 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004409/0.29, allocations: 2.241 MB / 0.5812 GB, free: 13.75 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001903/0.2919, allocations: 1.006 MB / 0.5822 GB, free: 12.74 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007655/0.2996, allocations: 6.034 MB / 0.5881 GB, free: 6.695 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003773/0.3034, allocations: 3.245 MB / 0.5913 GB, free: 3.379 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00254/0.3059, allocations: 1.959 MB / 0.5932 GB, free: 1.414 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003408/0.3093, allocations: 2.819 MB / 0.5959 GB, free: 14.59 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007746/0.3101, allocations: 412 kB / 0.5963 GB, free: 14.18 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002465/0.3125, allocations: 1.478 MB / 0.5978 GB, free: 12.7 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002332/0.3149, allocations: 2.497 MB / 0.6002 GB, free: 10.2 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002842/0.3177, allocations: 2.765 MB / 0.6029 GB, free: 7.418 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00939/0.3271, allocations: 8.778 MB / 0.6115 GB, free: 14.6 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.3271, allocations: 0 / 0.6115 GB, free: 14.6 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3271, allocations: 0 / 0.6115 GB, free: 14.6 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002316/0.3274, allocations: 0 / 0.6115 GB, free: 14.6 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: 1726 * Number of variables: 1726 Notification: Performance of Generate backend data structure: time 0.01273/0.3401, allocations: 6.345 MB / 0.6177 GB, free: 8.176 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.3401, allocations: 9.109 kB / 0.6177 GB, free: 8.168 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001197/0.3413, allocations: 0.8266 MB / 0.6185 GB, free: 7.332 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03655/0.3779, allocations: 6.051 MB / 0.6244 GB, free: 1.27 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007823/0.3857, allocations: 4.15 MB / 0.6285 GB, free: 13.07 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001958/0.3859, allocations: 283.3 kB / 0.6287 GB, free: 12.79 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006267/0.3865, allocations: 371.8 kB / 0.6291 GB, free: 12.43 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01703/0.4035, allocations: 11.46 MB / 0.6403 GB, free: 108 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001163/0.4037, allocations: 59.52 kB / 0.6403 GB, free: 48 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004288/0.4041, allocations: 179.9 kB / 0.6405 GB, free: 15.87 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003361/0.4074, allocations: 2.15 MB / 0.6426 GB, free: 13.72 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01612/0.4236, allocations: 9.359 MB / 0.6518 GB, free: 4.34 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04678/0.4703, allocations: 45.28 MB / 0.696 GB, free: 5.797 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009551/0.4799, allocations: 3.67 MB / 0.6995 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002444/0.4823, allocations: 1.888 MB / 0.7014 GB, free: 84 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008913/0.4913, allocations: 6.247 MB / 0.7075 GB, free: 9.738 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.218e-05/0.4913, allocations: 47.56 kB / 0.7075 GB, free: 9.684 MB / 0.545 GB Notification: Performance of pre-optimization done (n=154): time 2.896e-06/0.4913, allocations: 0 / 0.7075 GB, free: 9.684 MB / 0.545 GB Notification: Performance of matching and sorting (n=166): time 0.03609/0.5274, allocations: 14.99 MB / 0.7222 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/0.5275, allocations: 196.9 kB / 0.7224 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007191/0.5347, allocations: 5.631 MB / 0.7279 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002302/0.5349, allocations: 49.7 kB / 0.7279 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002758/0.5377, allocations: 3.874 MB / 0.7317 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007071/0.5384, allocations: 0.694 MB / 0.7324 GB, free: 88 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.1935/0.7319, allocations: 1.354 MB / 0.7337 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.498e-05/0.7319, allocations: 302.3 kB / 0.734 GB, free: 155.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002746/0.7347, allocations: 2.093 MB / 0.736 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00332/0.738, allocations: 6.348 MB / 0.7422 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005927/0.7439, allocations: 9.191 MB / 0.7512 GB, free: 140.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.321e-05/0.744, allocations: 41.75 kB / 0.7512 GB, free: 140.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=864) (initialization): time 0.009514/0.7535, allocations: 8.642 MB / 0.7597 GB, free: 136 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.557e-05/0.7535, allocations: 73 kB / 0.7597 GB, free: 136 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.143e-05/0.7536, allocations: 148 kB / 0.7599 GB, free: 135.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001267/0.7549, allocations: 0.7063 MB / 0.7606 GB, free: 135.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003307/0.7582, allocations: 1.515 MB / 0.7621 GB, free: 133.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005076/0.7633, allocations: 6.824 MB / 0.7687 GB, free: 127.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003659/0.7669, allocations: 347.2 kB / 0.7691 GB, free: 127.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003604/0.7673, allocations: 422.4 kB / 0.7695 GB, free: 126.8 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 686 * Number of states: 0 () * Number of discrete variables: 49 (frameForce2.arrow.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce1.arrow.twoHeadedArrow,frameForce1.arrow.headAtOrigin,FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],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.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 (804): * Single equations (assignments): 797 * 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 {(1,13,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002261/0.7696, allocations: 2.451 MB / 0.7718 GB, free: 124.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004629/0.77, allocations: 483.9 kB / 0.7723 GB, free: 124.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003328/0.7734, allocations: 2.679 MB / 0.7749 GB, free: 122 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.869e-05/0.7734, allocations: 27.92 kB / 0.775 GB, free: 122 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.7734, allocations: 4 kB / 0.775 GB, free: 121.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/0.7734, allocations: 11.3 kB / 0.775 GB, free: 121.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00814/0.7815, allocations: 7.428 MB / 0.7822 GB, free: 114.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.7815, allocations: 4.281 kB / 0.7822 GB, free: 114.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0012/0.7827, allocations: 303.5 kB / 0.7825 GB, free: 114.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001051/0.7838, allocations: 491.4 kB / 0.783 GB, free: 113.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.455e-05/0.7839, allocations: 35.98 kB / 0.783 GB, free: 113.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004435/0.7883, allocations: 6.2 MB / 0.7891 GB, free: 107.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.7883, allocations: 7.938 kB / 0.7891 GB, free: 107.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004649/0.793, allocations: 4.978 MB / 0.7939 GB, free: 102.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006813/0.7936, allocations: 0.5397 MB / 0.7945 GB, free: 101.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003716/0.794, allocations: 31.83 kB / 0.7945 GB, free: 101.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001258/0.7953, allocations: 79.84 kB / 0.7946 GB, free: 101.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001739/0.7954, allocations: 96.81 kB / 0.7947 GB, free: 101.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-05/0.7955, allocations: 48 kB / 0.7947 GB, free: 101.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003324/0.7989, allocations: 3.597 MB / 0.7982 GB, free: 97.87 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.7989, allocations: 0 / 0.7982 GB, free: 97.87 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003927/0.8028, allocations: 1.091 MB / 0.7993 GB, free: 96.79 MB / 0.5606 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 (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 {(1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004801/0.8076, allocations: 5.634 MB / 0.8048 GB, free: 91.11 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00517/0.8128, allocations: 4.998 MB / 0.8097 GB, free: 86.12 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.8128, allocations: 0 / 0.8097 GB, free: 86.12 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00128/0.814, allocations: 1.409 MB / 0.811 GB, free: 84.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002357/0.8164, allocations: 0.6253 MB / 0.8117 GB, free: 84.08 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04595/0.8623, allocations: 54.11 MB / 0.8645 GB, free: 23.28 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002741/0.8651, allocations: 3.757 MB / 0.8682 GB, free: 19.48 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003387/0.8685, allocations: 2.137 MB / 0.8703 GB, free: 17.34 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001922/0.8704, allocations: 2.311 MB / 0.8725 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of SimCode: time 9.32e-07/0.8704, allocations: 0 / 0.8725 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1376/1.008, allocations: 85.9 MB / 0.9564 GB, free: 9.527 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.81/26.82, allocations: 2.406 kB / 0.9564 GB, free: 9.527 MB / 0.6387 GB " [Timeout remaining time 633] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_FrameForces_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_FrameForces.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 29.44717011701141]