Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute.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.001496/0.001496, allocations: 118.6 kB / 18.5 MB, free: 4.602 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.001702/0.001702, allocations: 206.6 kB / 21.45 MB, free: 1.652 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.596/1.596, allocations: 230.4 MB / 254.7 MB, free: 15.04 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.2536/0.2536, allocations: 46.94 MB / 357.7 MB, free: 10.21 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.Revolute,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Revolute",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.002394/0.002394, allocations: 88.19 kB / 0.4917 GB, free: 7.742 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1392, allocations: 66.04 MB / 0.5562 GB, free: 5.574 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01507/0.1543, allocations: 12.33 MB / 0.5682 GB, free: 9.184 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009209/0.1635, allocations: 3.96 MB / 0.5721 GB, free: 5.207 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002149/0.1656, allocations: 67.75 kB / 0.5721 GB, free: 5.141 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003465/0.1691, allocations: 1.335 MB / 0.5734 GB, free: 3.801 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004956/0.1741, allocations: 1.759 MB / 0.5752 GB, free: 2.035 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001567/0.1756, allocations: 495 kB / 0.5756 GB, free: 1.551 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006013/0.1816, allocations: 3.615 MB / 0.5792 GB, free: 13.93 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003802/0.1854, allocations: 1.767 MB / 0.5809 GB, free: 12.13 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002606/0.188, allocations: 1.211 MB / 0.5821 GB, free: 10.91 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003598/0.1916, allocations: 1.896 MB / 0.5839 GB, free: 9.012 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00141/0.193, allocations: 235.9 kB / 0.5841 GB, free: 8.781 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003268/0.1963, allocations: 0.9712 MB / 0.5851 GB, free: 7.809 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002663/0.199, allocations: 1.608 MB / 0.5867 GB, free: 6.195 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003858/0.2028, allocations: 1.886 MB / 0.5885 GB, free: 4.297 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3263/0.5291, allocations: 6.2 MB / 0.5946 GB, free: 11.69 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.278e-06/0.5291, allocations: 0.9062 kB / 0.5946 GB, free: 11.69 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.616e-06/0.5291, allocations: 0.6094 kB / 0.5946 GB, free: 11.69 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003094/0.5294, allocations: 0 / 0.5946 GB, free: 11.69 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: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.0134/0.5428, allocations: 4.251 MB / 0.5987 GB, free: 9.852 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.5429, allocations: 7.969 kB / 0.5987 GB, free: 9.852 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002431/0.5453, allocations: 0.7104 MB / 0.5994 GB, free: 9.777 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01303/0.5583, allocations: 3.109 MB / 0.6025 GB, free: 9.488 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006227/0.5646, allocations: 2.109 MB / 0.6045 GB, free: 8.988 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002548/0.5648, allocations: 191.1 kB / 0.6047 GB, free: 8.98 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001728/0.5665, allocations: 250.7 kB / 0.6049 GB, free: 8.977 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02323/0.5898, allocations: 10.48 MB / 0.6152 GB, free: 6.773 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001763/0.59, allocations: 26.78 kB / 0.6152 GB, free: 6.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00138/0.5913, allocations: 123.2 kB / 0.6153 GB, free: 6.727 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004909/0.5962, allocations: 2.552 MB / 0.6178 GB, free: 6.316 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01854/0.6148, allocations: 9.919 MB / 0.6275 GB, free: 2.906 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05923/0.674, allocations: 34.34 MB / 0.661 GB, free: 1.195 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01096/0.685, allocations: 4.964 MB / 0.6659 GB, free: 12.01 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003685/0.6887, allocations: 2.117 MB / 0.6679 GB, free: 9.895 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002064/0.6907, allocations: 1.879 MB / 0.6698 GB, free: 7.695 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.753e-05/0.6908, allocations: 54.25 kB / 0.6698 GB, free: 7.633 MB / 494.1 MB Notification: Performance of pre-optimization done (n=229): time 7.414e-06/0.6908, allocations: 4 kB / 0.6698 GB, free: 7.629 MB / 494.1 MB Notification: Performance of matching and sorting (n=235): time 0.04011/0.7309, allocations: 14.04 MB / 0.6835 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.854e-05/0.731, allocations: 77.34 kB / 0.6836 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00542/0.7364, allocations: 2.637 MB / 0.6862 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006051/0.737, allocations: 58.95 kB / 0.6862 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002586/0.7396, allocations: 2.738 MB / 0.6889 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00152/0.7411, allocations: 0.8841 MB / 0.6898 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00305/0.7442, allocations: 1.043 MB / 0.6908 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.7443, allocations: 307 kB / 0.6911 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004339/0.7486, allocations: 2.201 MB / 0.6932 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007435/0.7561, allocations: 5.059 MB / 0.6982 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01157/0.7676, allocations: 7.96 MB / 0.706 GB, free: 260 kB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001295/0.7678, allocations: 32 kB / 0.706 GB, free: 228 kB / 0.5137 GB Notification: Performance of matching and sorting (n=691) (initialization): time 0.0172/0.785, allocations: 7.872 MB / 0.7137 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001312/0.7851, allocations: 48 kB / 0.7137 GB, free: 8.754 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001794/0.7853, allocations: 96 kB / 0.7138 GB, free: 8.66 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00265/0.7879, allocations: 0.7972 MB / 0.7146 GB, free: 7.859 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004359/0.7923, allocations: 1.183 MB / 0.7157 GB, free: 6.676 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006812/0.7991, allocations: 4.533 MB / 0.7202 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003666/0.8028, allocations: 290.2 kB / 0.7205 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001012/0.8038, allocations: 300 kB / 0.7207 GB, free: 1.445 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 454 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.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 (631): * Single equations (assignments): 624 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004508/0.8083, allocations: 2.012 MB / 0.7227 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007445/0.809, allocations: 274.1 kB / 0.723 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01003/0.8191, allocations: 4.72 MB / 0.7276 GB, free: 10.4 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.763e-05/0.8192, allocations: 43.98 kB / 0.7276 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.701e-05/0.8192, allocations: 7.938 kB / 0.7276 GB, free: 10.35 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.35e-05/0.8192, allocations: 7.969 kB / 0.7276 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02459/0.8438, allocations: 10.49 MB / 0.7379 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.298e-05/0.8439, allocations: 10.84 kB / 0.7379 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001859/0.8457, allocations: 363.4 kB / 0.7382 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002347/0.8481, allocations: 0.6605 MB / 0.7389 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004479/0.8485, allocations: 44 kB / 0.7389 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005847/0.8544, allocations: 3.901 MB / 0.7427 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.269e-05/0.8544, allocations: 11.94 kB / 0.7427 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01336/0.8677, allocations: 7.152 MB / 0.7497 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008653/0.8686, allocations: 327.1 kB / 0.75 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001019/0.8696, allocations: 43.98 kB / 0.7501 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001985/0.8716, allocations: 135.8 kB / 0.7502 GB, free: 2.848 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006793/0.8723, allocations: 135.3 kB / 0.7503 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003851/0.8727, allocations: 63.98 kB / 0.7504 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003404/0.8761, allocations: 1.619 MB / 0.752 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8761, allocations: 0 / 0.752 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005506/0.8816, allocations: 0.9053 MB / 0.7529 GB, free: 124 kB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.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 (178): * Single equations (assignments): 171 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01473/0.8963, allocations: 7.8 MB / 0.7605 GB, free: 8.207 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01014/0.9064, allocations: 5.142 MB / 0.7655 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.587e-05/0.9064, allocations: 448 / 0.7655 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004005/0.9105, allocations: 1.881 MB / 0.7673 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00353/0.914, allocations: 370.3 kB / 0.7677 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07826/0.9922, allocations: 39.66 MB / 0.8064 GB, free: 4.895 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00609/0.9983, allocations: 3.159 MB / 0.8095 GB, free: 1.703 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.005285/1.004, allocations: 1.957 MB / 0.8114 GB, free: 15.74 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003575/1.007, allocations: 1.71 MB / 0.8131 GB, free: 14.03 MB / 0.6387 GB Notification: Performance of SimCode: time 1.553e-06/1.007, allocations: 0 / 0.8131 GB, free: 14.03 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3978/1.405, allocations: 54.82 MB / 0.8666 GB, free: 236.9 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.8/23.21, allocations: 17.2 kB / 0.8666 GB, free: 236.9 MB / 0.6544 GB " [Timeout remaining time 637] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute_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_Revolute.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 26.528547410853207] Failed to read output from testmodel.py, exit status != 0: ['time', 'revolute.phi', 'revolute.w'] 23.3241454269737 23.338622748 22.806087637 Calling exit ...