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.001664/0.001664, allocations: 109 kB / 21.23 MB, free: 0.6719 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.001904/0.001904, allocations: 209.6 kB / 24.54 MB, free: 4.035 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.467/1.467, allocations: 230.5 MB / 258.2 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] 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.2238/0.2238, allocations: 46.93 MB / 361.6 MB, free: 4.199 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.003142/0.003142, allocations: 84.09 kB / 0.497 GB, free: 7.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3386, allocations: 66.09 MB / 0.5615 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01519/0.3538, allocations: 12.72 MB / 0.5739 GB, free: 7.52 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009517/0.3633, allocations: 4.566 MB / 0.5784 GB, free: 2.941 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001958/0.3653, allocations: 99.5 kB / 0.5785 GB, free: 2.844 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007143/0.3724, allocations: 3.765 MB / 0.5822 GB, free: 15.07 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005788/0.3782, allocations: 2.253 MB / 0.5844 GB, free: 12.8 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002387/0.3806, allocations: 1.002 MB / 0.5853 GB, free: 11.8 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00929/0.3899, allocations: 6.047 MB / 0.5913 GB, free: 5.742 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00523/0.3951, allocations: 3.506 MB / 0.5947 GB, free: 2.164 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003648/0.3988, allocations: 1.982 MB / 0.5966 GB, free: 180 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00464/0.4034, allocations: 2.819 MB / 0.5994 GB, free: 13.35 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001182/0.4046, allocations: 408 kB / 0.5998 GB, free: 12.95 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003308/0.4079, allocations: 1.482 MB / 0.6012 GB, free: 11.46 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003178/0.4111, allocations: 2.505 MB / 0.6036 GB, free: 8.953 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004311/0.4154, allocations: 2.765 MB / 0.6063 GB, free: 6.172 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01168/0.4271, allocations: 8.774 MB / 0.6149 GB, free: 13.36 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.756e-06/0.4271, allocations: 3.984 kB / 0.6149 GB, free: 13.36 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4271, allocations: 3.938 kB / 0.6149 GB, free: 13.35 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002414/0.4273, allocations: 0 / 0.6149 GB, free: 13.35 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.01473/0.4421, allocations: 6.252 MB / 0.621 GB, free: 7.035 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.4421, allocations: 12.03 kB / 0.621 GB, free: 7.023 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001594/0.4437, allocations: 0.8266 MB / 0.6218 GB, free: 6.188 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03412/0.4778, allocations: 6.059 MB / 0.6278 GB, free: 120 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009478/0.4873, allocations: 4.067 MB / 0.6317 GB, free: 11.98 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002583/0.4876, allocations: 287.2 kB / 0.632 GB, free: 11.7 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001208/0.4888, allocations: 379.8 kB / 0.6324 GB, free: 11.33 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02113/0.5099, allocations: 11.46 MB / 0.6436 GB, free: 15.01 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001473/0.5101, allocations: 55.53 kB / 0.6436 GB, free: 14.96 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004566/0.5105, allocations: 175.8 kB / 0.6438 GB, free: 14.79 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003609/0.5141, allocations: 2.15 MB / 0.6459 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01995/0.5341, allocations: 9.359 MB / 0.655 GB, free: 3.254 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05973/0.5938, allocations: 45.09 MB / 0.6991 GB, free: 4.879 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01003/0.6038, allocations: 3.219 MB / 0.7022 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002928/0.6068, allocations: 1.878 MB / 0.704 GB, free: 15.74 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01079/0.6176, allocations: 6.012 MB / 0.7099 GB, free: 9.691 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.13e-05/0.6176, allocations: 51.48 kB / 0.71 GB, free: 9.633 MB / 0.545 GB Notification: Performance of pre-optimization done (n=154): time 4.829e-06/0.6176, allocations: 8 kB / 0.71 GB, free: 9.625 MB / 0.545 GB Notification: Performance of matching and sorting (n=166): time 0.05288/0.6705, allocations: 14.74 MB / 0.7244 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002089/0.6707, allocations: 196.9 kB / 0.7246 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01193/0.6826, allocations: 5.631 MB / 0.7301 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004498/0.6831, allocations: 49.7 kB / 0.7301 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.004827/0.6879, allocations: 3.881 MB / 0.7339 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001362/0.6893, allocations: 0.6863 MB / 0.7346 GB, free: 324 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2657/0.955, allocations: 1.348 MB / 0.7359 GB, free: 154.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.272e-05/0.955, allocations: 304.9 kB / 0.7362 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003229/0.9582, allocations: 2.096 MB / 0.7382 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00425/0.9625, allocations: 6.345 MB / 0.7444 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00754/0.97, allocations: 9.197 MB / 0.7534 GB, free: 139.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001111/0.9701, allocations: 41.94 kB / 0.7534 GB, free: 139.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=864) (initialization): time 0.01266/0.9828, allocations: 8.65 MB / 0.7619 GB, free: 135.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.991e-05/0.9829, allocations: 77.97 kB / 0.762 GB, free: 135.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001254/0.983, allocations: 148 kB / 0.7621 GB, free: 135.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00146/0.9845, allocations: 0.7101 MB / 0.7628 GB, free: 134.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00406/0.9885, allocations: 1.513 MB / 0.7643 GB, free: 133.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005686/0.9942, allocations: 6.615 MB / 0.7707 GB, free: 127.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004603/0.9988, allocations: 348 kB / 0.7711 GB, free: 127 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007207/0.9995, allocations: 416 kB / 0.7715 GB, free: 126.6 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.002987/1.003, allocations: 2.456 MB / 0.7739 GB, free: 124.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006515/1.003, allocations: 482 kB / 0.7743 GB, free: 124.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003613/1.007, allocations: 2.686 MB / 0.7769 GB, free: 121.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-05/1.007, allocations: 20 kB / 0.777 GB, free: 121.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/1.007, allocations: 8 kB / 0.777 GB, free: 121.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/1.007, allocations: 7.922 kB / 0.777 GB, free: 121.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01051/1.017, allocations: 7.394 MB / 0.7842 GB, free: 114.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.357e-05/1.017, allocations: 0 / 0.7842 GB, free: 114.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001269/1.019, allocations: 300.4 kB / 0.7845 GB, free: 113.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001153/1.02, allocations: 496.2 kB / 0.785 GB, free: 113.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001118/1.02, allocations: 31.98 kB / 0.785 GB, free: 113.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005005/1.025, allocations: 5.996 MB / 0.7908 GB, free: 107.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/1.025, allocations: 7.938 kB / 0.7908 GB, free: 107.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005435/1.03, allocations: 4.982 MB / 0.7957 GB, free: 102.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001083/1.031, allocations: 471.7 kB / 0.7962 GB, free: 101.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005262/1.032, allocations: 31.94 kB / 0.7962 GB, free: 101.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001376/1.033, allocations: 83.83 kB / 0.7963 GB, free: 101.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002297/1.034, allocations: 100.8 kB / 0.7964 GB, free: 101.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.411e-05/1.034, allocations: 47.98 kB / 0.7964 GB, free: 101.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004403/1.038, allocations: 3.597 MB / 0.7999 GB, free: 97.91 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.71e-07/1.038, allocations: 0 / 0.7999 GB, free: 97.91 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004954/1.043, allocations: 1.102 MB / 0.801 GB, free: 96.82 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.005695/1.049, allocations: 5.622 MB / 0.8065 GB, free: 91.14 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006199/1.055, allocations: 5.001 MB / 0.8114 GB, free: 86.16 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/1.055, allocations: 0 / 0.8114 GB, free: 86.16 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001561/1.056, allocations: 1.401 MB / 0.8127 GB, free: 84.73 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003247/1.06, allocations: 0.626 MB / 0.8134 GB, free: 84.11 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06405/1.124, allocations: 54.1 MB / 0.8662 GB, free: 23.31 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004738/1.128, allocations: 3.768 MB / 0.8699 GB, free: 19.51 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004307/1.133, allocations: 2.129 MB / 0.872 GB, free: 17.37 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002722/1.136, allocations: 2.311 MB / 0.8742 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of SimCode: time 7.42e-07/1.136, allocations: 4 kB / 0.8742 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1651/1.301, allocations: 90.75 MB / 0.9628 GB, free: 4.699 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.17/30.47, allocations: 0 / 0.9628 GB, free: 4.699 MB / 0.6387 GB " [Timeout remaining time 629] (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 --stepSize=0.000219912 --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: 33.43262344226241] Failed to read output from testmodel.py, exit status != 0: ['time', 'Revolute1.phi', 'Revolute1.w', 'Revolute2.phi', 'Revolute2.w'] 30.612883447203785 30.630172037 30.199309016 Calling exit ...