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.001413/0.001413, allocations: 105.8 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.001575/0.001575, allocations: 218.4 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.303/1.303, allocations: 230.2 MB / 256.1 MB, free: 8.758 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: 5.012 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.002123/0.002123, allocations: 83.86 kB / 0.494 GB, free: 9.125 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/0.2533, allocations: 65.97 MB / 0.5584 GB, free: 5.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRP): time 0.01329/0.2666, allocations: 12.57 MB / 0.5707 GB, free: 8.625 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006945/0.2736, allocations: 3.723 MB / 0.5743 GB, free: 4.891 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001401/0.275, allocations: 71.88 kB / 0.5744 GB, free: 4.82 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006607/0.2816, allocations: 3.949 MB / 0.5783 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002147/0.2837, allocations: 0.8982 MB / 0.5791 GB, free: 15.95 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001563/0.2853, allocations: 0.7097 MB / 0.5798 GB, free: 15.24 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002796/0.2881, allocations: 2.193 MB / 0.582 GB, free: 13.05 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003846/0.2919, allocations: 3.349 MB / 0.5852 GB, free: 9.637 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001887/0.2938, allocations: 1.465 MB / 0.5867 GB, free: 8.168 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002577/0.2964, allocations: 2.002 MB / 0.5886 GB, free: 6.16 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006392/0.297, allocations: 452 kB / 0.5891 GB, free: 5.719 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001545/0.2986, allocations: 1.046 MB / 0.5901 GB, free: 4.672 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001531/0.3001, allocations: 1.796 MB / 0.5918 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002036/0.3021, allocations: 2.025 MB / 0.5938 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006661/0.3088, allocations: 6.905 MB / 0.6006 GB, free: 9.906 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3088, allocations: 0 / 0.6006 GB, free: 9.906 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3088, allocations: 0 / 0.6006 GB, free: 9.906 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.631e-05/0.3089, allocations: 0 / 0.6006 GB, free: 9.906 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.007781/0.3167, allocations: 4.239 MB / 0.6047 GB, free: 5.594 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.3167, allocations: 12.03 kB / 0.6047 GB, free: 5.582 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007299/0.3175, allocations: 0.5781 MB / 0.6053 GB, free: 4.992 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002277/0.3197, allocations: 0.6461 MB / 0.6059 GB, free: 4.344 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003463/0.3232, allocations: 2.154 MB / 0.608 GB, free: 2.141 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001759/0.3234, allocations: 238.4 kB / 0.6082 GB, free: 1.906 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004942/0.3239, allocations: 311.9 kB / 0.6085 GB, free: 1.602 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01325/0.3371, allocations: 8.206 MB / 0.6165 GB, free: 9.07 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.932e-05/0.3372, allocations: 11.88 kB / 0.6166 GB, free: 9.059 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003146/0.3375, allocations: 147.9 kB / 0.6167 GB, free: 8.914 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001445/0.3389, allocations: 1.095 MB / 0.6178 GB, free: 7.816 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01265/0.3516, allocations: 6.72 MB / 0.6243 GB, free: 1.082 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02771/0.3793, allocations: 24.24 MB / 0.648 GB, free: 8.309 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005585/0.3849, allocations: 1.908 MB / 0.6499 GB, free: 6.371 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001132/0.386, allocations: 0.8176 MB / 0.6507 GB, free: 5.543 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00768/0.3937, allocations: 6.371 MB / 0.6569 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.337e-05/0.3937, allocations: 43.16 kB / 0.6569 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=80): time 3.036e-06/0.3937, allocations: 4 kB / 0.6569 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=99): time 0.01565/0.4094, allocations: 5.885 MB / 0.6627 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.739e-05/0.4095, allocations: 119.8 kB / 0.6628 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003072/0.4125, allocations: 2.442 MB / 0.6652 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.953e-05/0.4126, allocations: 41.7 kB / 0.6652 GB, free: 6 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001744/0.4143, allocations: 2.251 MB / 0.6674 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003398/0.4147, allocations: 408.9 kB / 0.6678 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008489/0.4155, allocations: 0.7226 MB / 0.6685 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.4157, allocations: 305.1 kB / 0.6688 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001479/0.4171, allocations: 0.9673 MB / 0.6697 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003138/0.4203, allocations: 3.044 MB / 0.6727 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004991/0.4253, allocations: 4.356 MB / 0.677 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.033e-05/0.4253, allocations: 24 kB / 0.677 GB, free: 7.84 MB / 0.5137 GB Notification: Performance of matching and sorting (n=451) (initialization): time 0.005854/0.4311, allocations: 3.947 MB / 0.6808 GB, free: 3.891 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.924e-05/0.4312, allocations: 40 kB / 0.6809 GB, free: 3.852 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.834e-05/0.4313, allocations: 72 kB / 0.681 GB, free: 3.781 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001018/0.4314, allocations: 96 kB / 0.681 GB, free: 3.688 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002145/0.4335, allocations: 0.7993 MB / 0.6818 GB, free: 2.887 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001252/0.4336, allocations: 147.4 kB / 0.682 GB, free: 2.742 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001602/0.4352, allocations: 183.8 kB / 0.6821 GB, free: 2.562 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002293/0.4355, allocations: 204 kB / 0.6823 GB, free: 2.363 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.00203/0.4375, allocations: 1.591 MB / 0.6839 GB, free: 0.7578 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003165/0.4378, allocations: 230.4 kB / 0.6841 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004293/0.4382, allocations: 254.2 kB / 0.6844 GB, free: 284 kB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.375e-06/0.4382, allocations: 8 kB / 0.6844 GB, free: 276 kB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.4383, allocations: 4 kB / 0.6844 GB, free: 272 kB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.4383, allocations: 3.984 kB / 0.6844 GB, free: 268 kB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007934/0.4462, allocations: 5.859 MB / 0.6901 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.169e-05/0.4462, allocations: 20 kB / 0.6901 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006647/0.4469, allocations: 223.6 kB / 0.6903 GB, free: 9.824 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-05/0.4469, allocations: 28.78 kB / 0.6903 GB, free: 9.797 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-05/0.447, allocations: 48 kB / 0.6904 GB, free: 9.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.528e-05/0.447, allocations: 43.8 kB / 0.6904 GB, free: 9.707 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.298e-05/0.447, allocations: 39.75 kB / 0.6905 GB, free: 9.668 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002076/0.4491, allocations: 1.967 MB / 0.6924 GB, free: 7.418 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004279/0.4495, allocations: 327.5 kB / 0.6927 GB, free: 7.078 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002023/0.4497, allocations: 43.98 kB / 0.6927 GB, free: 7.035 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007087/0.4505, allocations: 43.98 kB / 0.6928 GB, free: 6.992 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001511/0.4506, allocations: 147.3 kB / 0.6929 GB, free: 6.848 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.52e-05/0.4507, allocations: 56 kB / 0.693 GB, free: 6.793 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002098/0.4528, allocations: 1.598 MB / 0.6945 GB, free: 5.184 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4528, allocations: 0 / 0.6945 GB, free: 5.184 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002527/0.4553, allocations: 0.6093 MB / 0.6951 GB, free: 4.574 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.002687/0.458, allocations: 2.61 MB / 0.6977 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003479/0.4615, allocations: 2.184 MB / 0.6998 GB, free: 15.51 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.758e-06/0.4615, allocations: 4 kB / 0.6998 GB, free: 15.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007265/0.4622, allocations: 0.524 MB / 0.7003 GB, free: 14.98 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001845/0.464, allocations: 373.4 kB / 0.7007 GB, free: 14.62 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03573/0.4998, allocations: 26.41 MB / 0.7265 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1996/0.6994, allocations: 2.674 MB / 0.7291 GB, free: 158.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002162/0.7015, allocations: 0.8982 MB / 0.73 GB, free: 158.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001234/0.7028, allocations: 1.365 MB / 0.7313 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of SimCode: time 7.61e-07/0.7028, allocations: 0 / 0.7313 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05823/0.761, allocations: 47.4 MB / 0.7776 GB, free: 117.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/12.11, allocations: 8 kB / 0.7776 GB, free: 117.6 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointRRP_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_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.685130409998237]