Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS2.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.001348/0.001348, allocations: 121.8 kB / 18.5 MB, free: 4.578 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.001508/0.001508, allocations: 208.9 kB / 21.46 MB, free: 1.625 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.52/1.52, allocations: 230.2 MB / 254.5 MB, free: 15.27 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.2363/0.2363, allocations: 46.88 MB / 357.4 MB, free: 10.55 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.JointUPS2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_JointUPS2",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.002385/0.002385, allocations: 91.84 kB / 0.4912 GB, free: 8.703 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1602, allocations: 65.98 MB / 0.5557 GB, free: 6.598 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01698/0.1772, allocations: 12.01 MB / 0.5674 GB, free: 10.53 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01013/0.1873, allocations: 4.407 MB / 0.5717 GB, free: 6.109 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00227/0.1896, allocations: 75.75 kB / 0.5718 GB, free: 6.035 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006626/0.1962, allocations: 2.784 MB / 0.5745 GB, free: 3.242 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005964/0.2022, allocations: 2.058 MB / 0.5765 GB, free: 1.176 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002653/0.2048, allocations: 1.002 MB / 0.5775 GB, free: 176 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009617/0.2145, allocations: 5.369 MB / 0.5827 GB, free: 10.79 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005697/0.2202, allocations: 2.952 MB / 0.5856 GB, free: 7.793 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003795/0.2239, allocations: 1.756 MB / 0.5873 GB, free: 6.031 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004962/0.2289, allocations: 2.64 MB / 0.5899 GB, free: 3.383 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001692/0.2306, allocations: 364 kB / 0.5902 GB, free: 3.027 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003746/0.2343, allocations: 1.451 MB / 0.5916 GB, free: 1.574 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.3023/0.5366, allocations: 2.24 MB / 0.5938 GB, free: 11.6 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005184/0.5418, allocations: 2.553 MB / 0.5963 GB, free: 11.04 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01311/0.5549, allocations: 8.221 MB / 0.6044 GB, free: 9.805 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.5549, allocations: 0 / 0.6044 GB, free: 9.805 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.5549, allocations: 0.6562 kB / 0.6044 GB, free: 9.805 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003257/0.5552, allocations: 0 / 0.6044 GB, free: 9.805 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: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.0237/0.5789, allocations: 6.019 MB / 0.6102 GB, free: 7.5 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.508e-05/0.579, allocations: 9.719 kB / 0.6102 GB, free: 7.5 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003864/0.5829, allocations: 0.7997 MB / 0.611 GB, free: 7.406 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0789/0.6618, allocations: 7.247 MB / 0.6181 GB, free: 6.742 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01044/0.6722, allocations: 3.617 MB / 0.6216 GB, free: 4.984 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003749/0.6726, allocations: 251.1 kB / 0.6219 GB, free: 4.906 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002211/0.6748, allocations: 362.2 kB / 0.6222 GB, free: 4.812 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02885/0.7036, allocations: 12.28 MB / 0.6342 GB, free: 13.53 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004511/0.7041, allocations: 53.88 kB / 0.6343 GB, free: 13.52 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002112/0.7062, allocations: 162.8 kB / 0.6344 GB, free: 13.45 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004385/0.7106, allocations: 2.38 MB / 0.6367 GB, free: 12.55 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02829/0.7389, allocations: 10.7 MB / 0.6472 GB, free: 2.227 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08085/0.8197, allocations: 48.66 MB / 0.6947 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0164/0.8361, allocations: 5.627 MB / 0.7002 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00468/0.8408, allocations: 2.825 MB / 0.703 GB, free: 8.215 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02534/0.8662, allocations: 13.03 MB / 0.7157 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.426e-05/0.8662, allocations: 56.28 kB / 0.7157 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=193): time 4.719e-06/0.8662, allocations: 0 / 0.7157 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=254): time 0.1282/0.9944, allocations: 38.91 MB / 0.7537 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001654/0.9945, allocations: 221.5 kB / 0.7539 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009225/1.004, allocations: 4.381 MB / 0.7582 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0007385/1.005, allocations: 65.7 kB / 0.7583 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.003543/1.008, allocations: 3.564 MB / 0.7618 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0019/1.01, allocations: 0.9926 MB / 0.7627 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004362/1.014, allocations: 1.377 MB / 0.7641 GB, free: 9.297 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000166/1.014, allocations: 305.1 kB / 0.7644 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005768/1.02, allocations: 3.121 MB / 0.7674 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009734/1.03, allocations: 7.039 MB / 0.7743 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01647/1.046, allocations: 10.96 MB / 0.785 GB, free: 0.6367 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001709/1.047, allocations: 44 kB / 0.785 GB, free: 0.5938 MB / 0.5919 GB Notification: Performance of matching and sorting (n=886) (initialization): time 0.03365/1.08, allocations: 12.65 MB / 0.7974 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001572/1.08, allocations: 64 kB / 0.7975 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002272/1.081, allocations: 140 kB / 0.7976 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01036/1.091, allocations: 3.245 MB / 0.8008 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006026/1.097, allocations: 1.532 MB / 0.8022 GB, free: 15 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02994/1.127, allocations: 16.63 MB / 0.8185 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006587/1.134, allocations: 435.4 kB / 0.8189 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001538/1.135, allocations: 411 kB / 0.8193 GB, free: 13.42 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 626 * Number of states: 0 () * Number of discrete variables: 36 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[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],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (808): * Single equations (assignments): 804 * Array equations: 3 * 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 {(8,47,54.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006277/1.141, allocations: 2.345 MB / 0.8216 GB, free: 11.06 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001231/1.143, allocations: 421.2 kB / 0.822 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01821/1.161, allocations: 7.48 MB / 0.8293 GB, free: 3.137 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.698e-05/1.161, allocations: 32 kB / 0.8293 GB, free: 3.105 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.742e-05/1.161, allocations: 11.98 kB / 0.8293 GB, free: 3.094 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.718e-05/1.161, allocations: 15.95 kB / 0.8293 GB, free: 3.078 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3311/1.492, allocations: 14.99 MB / 0.844 GB, free: 218.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-05/1.492, allocations: 1.094 kB / 0.844 GB, free: 218.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002256/1.494, allocations: 381.1 kB / 0.8443 GB, free: 218.4 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008683/1.503, allocations: 2.923 MB / 0.8472 GB, free: 217.9 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007752/1.504, allocations: 46.31 kB / 0.8472 GB, free: 217.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01894/1.523, allocations: 14.82 MB / 0.8617 GB, free: 211.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.69e-06/1.523, allocations: 3.938 kB / 0.8617 GB, free: 211.6 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01851/1.541, allocations: 11.48 MB / 0.8729 GB, free: 206.3 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001544/1.543, allocations: 465.1 kB / 0.8734 GB, free: 206.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001239/1.544, allocations: 44 kB / 0.8734 GB, free: 206 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002537/1.547, allocations: 185.3 kB / 0.8736 GB, free: 205.8 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007086/1.547, allocations: 150.7 kB / 0.8737 GB, free: 205.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000215/1.548, allocations: 71.92 kB / 0.8738 GB, free: 205.6 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.004846/1.552, allocations: 2.742 MB / 0.8765 GB, free: 202.9 MB / 0.6387 GB Notification: Performance of sort global known variables: time 9e-08/1.552, allocations: 0 / 0.8765 GB, free: 202.9 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.007423/1.56, allocations: 1.297 MB / 0.8777 GB, free: 201.6 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * 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 (189): * Single equations (assignments): 185 * Array equations: 3 * 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 {(6,40,61.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01813/1.578, allocations: 12.13 MB / 0.8896 GB, free: 189.6 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01239/1.59, allocations: 7.534 MB / 0.897 GB, free: 182.1 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.301e-05/1.59, allocations: 0 / 0.897 GB, free: 182.1 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.004498/1.595, allocations: 2.882 MB / 0.8998 GB, free: 179.2 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003803/1.599, allocations: 0.5162 MB / 0.9003 GB, free: 178.8 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0992/1.698, allocations: 60.66 MB / 0.9595 GB, free: 112 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004812/1.703, allocations: 3.664 MB / 0.9631 GB, free: 108.3 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.004843/1.707, allocations: 2.169 MB / 0.9652 GB, free: 106.1 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003356/1.711, allocations: 2.218 MB / 0.9674 GB, free: 103.9 MB / 0.6387 GB Notification: Performance of SimCode: time 1.332e-06/1.711, allocations: 0 / 0.9674 GB, free: 103.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1443/1.855, allocations: 94.94 MB / 1.06 GB, free: 9.324 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.85/30.71, allocations: 11.91 kB / 1.06 GB, free: 9.312 MB / 0.6387 GB " [Timeout remaining time 629] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_JointUPS2_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_JointUPS2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 34.15870532300323] Failed to read output from testmodel.py, exit status != 0: ['time', 'universal.phi_a', 'universal.phi_b', 'universal.w_a', 'universal.w_b'] 30.851059197913855 31.156743634 30.312128228 Calling exit ...