Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointRRP.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.001406/0.001406, 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.001491/0.001491, allocations: 215 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.273/1.273, allocations: 230.2 MB / 256.2 MB, free: 8.738 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.2004/0.2004, allocations: 46.89 MB / 359.3 MB, free: 4.977 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.Joints.JointRRP,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_JointRRP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRP,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_JointRRP",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.002128/0.002128, allocations: 79.86 kB / 0.494 GB, free: 9.105 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2634/0.2655, allocations: 65.99 MB / 0.5584 GB, free: 5.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRP): time 0.01334/0.2789, allocations: 12.56 MB / 0.5707 GB, free: 8.57 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006953/0.2858, allocations: 3.731 MB / 0.5743 GB, free: 4.828 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001126/0.2869, allocations: 71.88 kB / 0.5744 GB, free: 4.758 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00654/0.2935, allocations: 3.945 MB / 0.5783 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001792/0.2953, allocations: 0.8981 MB / 0.5791 GB, free: 15.9 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001482/0.2967, allocations: 0.7129 MB / 0.5798 GB, free: 15.19 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002606/0.2993, allocations: 2.198 MB / 0.582 GB, free: 12.98 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003505/0.3029, allocations: 3.353 MB / 0.5852 GB, free: 9.566 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00164/0.3045, allocations: 1.453 MB / 0.5867 GB, free: 8.109 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002449/0.3069, allocations: 2.002 MB / 0.5886 GB, free: 6.102 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006605/0.3076, allocations: 455.9 kB / 0.5891 GB, free: 5.656 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001656/0.3093, allocations: 1.053 MB / 0.5901 GB, free: 4.602 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001631/0.3109, allocations: 1.789 MB / 0.5918 GB, free: 2.809 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001953/0.3128, allocations: 2.025 MB / 0.5938 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006636/0.3195, allocations: 6.909 MB / 0.6006 GB, free: 9.84 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.3195, allocations: 0 / 0.6006 GB, free: 9.84 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3195, allocations: 0 / 0.6006 GB, free: 9.84 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001185/0.3196, allocations: 0 / 0.6006 GB, free: 9.84 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1165 * Number of variables: 1165 Notification: Performance of Generate backend data structure: time 0.008163/0.3278, allocations: 4.235 MB / 0.6047 GB, free: 5.531 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.3278, allocations: 8.031 kB / 0.6047 GB, free: 5.523 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000829/0.3286, allocations: 0.5859 MB / 0.6053 GB, free: 4.926 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002323/0.331, allocations: 0.6461 MB / 0.6059 GB, free: 4.277 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003544/0.3345, allocations: 2.146 MB / 0.608 GB, free: 2.082 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001675/0.3347, allocations: 242.4 kB / 0.6082 GB, free: 1.844 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005244/0.3352, allocations: 315.9 kB / 0.6085 GB, free: 1.535 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01466/0.3499, allocations: 8.21 MB / 0.6165 GB, free: 9 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.948e-05/0.3499, allocations: 15.88 kB / 0.6166 GB, free: 8.984 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004826/0.3504, allocations: 135.9 kB / 0.6167 GB, free: 8.852 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001579/0.352, allocations: 1.096 MB / 0.6178 GB, free: 7.754 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01375/0.3657, allocations: 6.712 MB / 0.6243 GB, free: 1.027 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03223/0.398, allocations: 24.24 MB / 0.648 GB, free: 8.254 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005938/0.4039, allocations: 1.916 MB / 0.6499 GB, free: 6.309 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00121/0.4051, allocations: 0.802 MB / 0.6506 GB, free: 5.496 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007896/0.413, allocations: 6.371 MB / 0.6569 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.739e-05/0.4131, allocations: 55.16 kB / 0.6569 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=80): time 2.285e-06/0.4131, allocations: 0 / 0.6569 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of matching and sorting (n=99): time 0.01532/0.4284, allocations: 5.889 MB / 0.6627 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.212e-05/0.4285, allocations: 115.8 kB / 0.6628 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003323/0.4318, allocations: 2.438 MB / 0.6652 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.946e-05/0.4318, allocations: 53.64 kB / 0.6652 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00158/0.4334, allocations: 2.247 MB / 0.6674 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000355/0.4338, allocations: 408.9 kB / 0.6678 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008976/0.4347, allocations: 0.7226 MB / 0.6685 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.4348, allocations: 309.1 kB / 0.6688 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00147/0.4363, allocations: 0.9673 MB / 0.6697 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003011/0.4393, allocations: 3.044 MB / 0.6727 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004991/0.4443, allocations: 4.352 MB / 0.677 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.244e-05/0.4443, allocations: 20 kB / 0.677 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of matching and sorting (n=451) (initialization): time 0.006095/0.4504, allocations: 3.951 MB / 0.6808 GB, free: 3.832 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.191e-05/0.4505, allocations: 36 kB / 0.6809 GB, free: 3.797 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.131e-05/0.4505, allocations: 76.16 kB / 0.6809 GB, free: 3.723 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.707e-05/0.4506, allocations: 100 kB / 0.681 GB, free: 3.625 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002169/0.4528, allocations: 0.8032 MB / 0.6818 GB, free: 2.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001164/0.4529, allocations: 143.4 kB / 0.682 GB, free: 2.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001804/0.4547, allocations: 183.7 kB / 0.6821 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002294/0.4549, allocations: 204 kB / 0.6823 GB, free: 2.301 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 335 * Number of states: 0 () * Number of discrete variables: 56 (prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,rRod1.arrowLine.twoHeadedArrow,rRod1.headAtOrigin,n2_ia.arrowLine.twoHeadedArrow,n2_ia.headAtOrigin,n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,jointRRP.jointUSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointRRP.rodColor[3],jointRRP.rodColor[2],jointRRP.rodColor[1],jointRRP.cylinderColor[3],jointRRP.cylinderColor[2],jointRRP.cylinderColor[1],jointRRP.jointUSP.rod1Color[3],jointRRP.jointUSP.rod1Color[2],jointRRP.jointUSP.rod1Color[1],jointRRP.jointUSP.cylinderColor[3],jointRRP.jointUSP.cylinderColor[2],jointRRP.jointUSP.cylinderColor[1],jointRRP.jointUSP.sphereColor[3],jointRRP.jointUSP.sphereColor[2],jointRRP.jointUSP.sphereColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (449): * Single equations (assignments): 448 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002133/0.4571, allocations: 1.591 MB / 0.6839 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003099/0.4574, allocations: 226.4 kB / 0.6841 GB, free: 484 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004363/0.4578, allocations: 250.2 kB / 0.6843 GB, free: 228 kB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.244e-05/0.4578, allocations: 12 kB / 0.6844 GB, free: 216 kB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.31e-05/0.4578, allocations: 0 / 0.6844 GB, free: 216 kB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.4579, allocations: 3.984 kB / 0.6844 GB, free: 212 kB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007742/0.4656, allocations: 5.863 MB / 0.6901 GB, free: 10 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.58e-05/0.4656, allocations: 20 kB / 0.6901 GB, free: 9.984 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006556/0.4663, allocations: 227.6 kB / 0.6903 GB, free: 9.762 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.502e-05/0.4663, allocations: 31.94 kB / 0.6904 GB, free: 9.73 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.079e-05/0.4664, allocations: 40 kB / 0.6904 GB, free: 9.691 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-05/0.4664, allocations: 40.42 kB / 0.6904 GB, free: 9.652 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.036e-05/0.4664, allocations: 35.81 kB / 0.6905 GB, free: 9.617 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002064/0.4685, allocations: 1.963 MB / 0.6924 GB, free: 7.371 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004435/0.4689, allocations: 323.5 kB / 0.6927 GB, free: 7.035 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001883/0.4691, allocations: 51.98 kB / 0.6927 GB, free: 6.984 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007226/0.4698, allocations: 43.98 kB / 0.6928 GB, free: 6.941 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001544/0.47, allocations: 155.3 kB / 0.6929 GB, free: 6.789 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.468e-05/0.4701, allocations: 56 kB / 0.693 GB, free: 6.734 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002078/0.4721, allocations: 1.594 MB / 0.6945 GB, free: 5.129 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.4721, allocations: 0 / 0.6945 GB, free: 5.129 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002511/0.4746, allocations: 0.6015 MB / 0.6951 GB, free: 4.527 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 88 * Number of states: 0 () * 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 (123): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002486/0.4771, allocations: 2.622 MB / 0.6977 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003158/0.4803, allocations: 2.183 MB / 0.6998 GB, free: 15.45 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.719e-06/0.4803, allocations: 5.875 kB / 0.6998 GB, free: 15.44 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006662/0.481, allocations: 0.5242 MB / 0.7003 GB, free: 14.92 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001731/0.4827, allocations: 382.3 kB / 0.7007 GB, free: 14.55 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03208/0.5148, allocations: 26.4 MB / 0.7265 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2024/0.7172, allocations: 2.68 MB / 0.7291 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002204/0.7194, allocations: 0.8951 MB / 0.73 GB, free: 158.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001228/0.7206, allocations: 1.364 MB / 0.7313 GB, free: 157.9 MB / 0.5606 GB Notification: Performance of SimCode: time 8.71e-07/0.7206, allocations: 0 / 0.7313 GB, free: 157.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06081/0.7815, allocations: 47.4 MB / 0.7776 GB, free: 117.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.96, allocations: 3.5 kB / 0.7776 GB, free: 117.3 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointRRP.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointRRP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointRRP_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_JointRRP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_JointRRP.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointRRP.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.511272220988758]