Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Spherical.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.001366/0.001366, allocations: 112.4 kB / 18.5 MB, free: 4.582 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.001548/0.001548, allocations: 204.9 kB / 21.46 MB, free: 1.629 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.526/1.526, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.249/0.249, allocations: 46.89 MB / 357.4 MB, free: 10.51 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.Spherical,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Spherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Spherical,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Spherical",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.002894/0.002894, allocations: 79.88 kB / 0.4912 GB, free: 8.531 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.1635, allocations: 65.99 MB / 0.5557 GB, free: 6.418 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.01387/0.1774, allocations: 11.82 MB / 0.5672 GB, free: 10.54 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009171/0.1866, allocations: 4.081 MB / 0.5712 GB, free: 6.441 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001994/0.1886, allocations: 59.88 kB / 0.5712 GB, free: 6.383 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002764/0.1913, allocations: 1.21 MB / 0.5724 GB, free: 5.168 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004487/0.1958, allocations: 1.756 MB / 0.5741 GB, free: 3.406 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001488/0.1973, allocations: 0.5652 MB / 0.5747 GB, free: 2.84 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006091/0.2034, allocations: 4.029 MB / 0.5786 GB, free: 14.8 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002513/0.2059, allocations: 1.584 MB / 0.5802 GB, free: 13.2 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001834/0.2078, allocations: 1.16 MB / 0.5813 GB, free: 12.03 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002483/0.2102, allocations: 1.853 MB / 0.5831 GB, free: 10.17 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005036/0.2107, allocations: 220 kB / 0.5833 GB, free: 9.957 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002603/0.2134, allocations: 1.334 MB / 0.5846 GB, free: 8.621 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001675/0.215, allocations: 1.601 MB / 0.5862 GB, free: 7.016 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001938/0.217, allocations: 1.84 MB / 0.588 GB, free: 5.164 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3666/0.5836, allocations: 6.213 MB / 0.5941 GB, free: 12.55 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.854e-06/0.5836, allocations: 1.031 kB / 0.5941 GB, free: 12.55 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.5836, allocations: 0 / 0.5941 GB, free: 12.55 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002289/0.5838, allocations: 0.9688 kB / 0.5941 GB, free: 12.55 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: 1482 * Number of variables: 1482 Notification: Performance of Generate backend data structure: time 0.009669/0.5935, allocations: 4.211 MB / 0.5982 GB, free: 10.71 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/0.5936, allocations: 9.438 kB / 0.5982 GB, free: 10.71 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001198/0.5948, allocations: 0.6838 MB / 0.5988 GB, free: 10.63 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02114/0.6159, allocations: 6.185 MB / 0.6049 GB, free: 10.35 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009315/0.6252, allocations: 2.626 MB / 0.6074 GB, free: 9.824 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002489/0.6255, allocations: 184.4 kB / 0.6076 GB, free: 9.816 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001771/0.6272, allocations: 313.5 kB / 0.6079 GB, free: 9.809 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0184/0.6456, allocations: 10.72 MB / 0.6184 GB, free: 7.422 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.378e-05/0.6457, allocations: 22.34 kB / 0.6184 GB, free: 7.422 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003714/0.6461, allocations: 115.7 kB / 0.6185 GB, free: 7.383 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003331/0.6494, allocations: 2.462 MB / 0.6209 GB, free: 6.543 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01778/0.6672, allocations: 10.16 MB / 0.6308 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06602/0.7332, allocations: 35.58 MB / 0.6656 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01268/0.7459, allocations: 5.379 MB / 0.6708 GB, free: 7.492 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003665/0.7496, allocations: 2.181 MB / 0.673 GB, free: 5.309 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002297/0.7519, allocations: 1.878 MB / 0.6748 GB, free: 3.109 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.313e-05/0.752, allocations: 60.31 kB / 0.6749 GB, free: 3.043 MB / 494.1 MB Notification: Performance of pre-optimization done (n=224): time 5.61e-06/0.752, allocations: 1.422 kB / 0.6749 GB, free: 3.043 MB / 494.1 MB Notification: Performance of matching and sorting (n=231): time 0.04043/0.7924, allocations: 15.01 MB / 0.6895 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001751/0.7941, allocations: 1.616 MB / 0.6911 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005506/0.7996, allocations: 2.813 MB / 0.6938 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000594/0.8002, allocations: 55.67 kB / 0.6939 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00277/0.803, allocations: 2.784 MB / 0.6966 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001605/0.8046, allocations: 0.8907 MB / 0.6975 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003201/0.8078, allocations: 1.101 MB / 0.6986 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.808, allocations: 309.1 kB / 0.6989 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005032/0.813, allocations: 2.63 MB / 0.7014 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007866/0.8209, allocations: 5.627 MB / 0.7069 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01208/0.8329, allocations: 8.939 MB / 0.7157 GB, free: 6.602 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.503e-05/0.833, allocations: 32 kB / 0.7157 GB, free: 6.57 MB / 0.5294 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.06022/0.8933, allocations: 17.12 MB / 0.7324 GB, free: 5.781 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001282/0.8934, allocations: 48 kB / 0.7324 GB, free: 5.734 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0421/0.9355, allocations: 10.61 MB / 0.7428 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04331/0.9788, allocations: 8.643 MB / 0.7512 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004963/0.9838, allocations: 1.3 MB / 0.7525 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0331/1.017, allocations: 17.81 MB / 0.7699 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004453/1.021, allocations: 419 kB / 0.7703 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001197/1.023, allocations: 320 kB / 0.7706 GB, free: 14.34 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 476 * Number of states: 0 () * Number of discrete variables: 24 (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],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[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 (653): * Single equations (assignments): 642 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,9)} Notification: Performance of prepare postOptimizeDAE: time 0.004926/1.027, allocations: 2.019 MB / 0.7726 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009042/1.028, allocations: 294.1 kB / 0.7729 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01109/1.039, allocations: 5.096 MB / 0.7778 GB, free: 6.898 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008443/1.048, allocations: 4.396 MB / 0.7821 GB, free: 2.488 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.867e-05/1.048, allocations: 7.938 kB / 0.7821 GB, free: 2.48 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.469e-05/1.048, allocations: 7.969 kB / 0.7822 GB, free: 2.473 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02861/1.077, allocations: 12.92 MB / 0.7948 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-05/1.077, allocations: 8 kB / 0.7948 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002226/1.079, allocations: 455.2 kB / 0.7952 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003118/1.082, allocations: 0.9389 MB / 0.7961 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003417/1.082, allocations: 55.97 kB / 0.7962 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008329/1.091, allocations: 5.835 MB / 0.8019 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001687/1.092, allocations: 1.55 MB / 0.8034 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01509/1.107, allocations: 7.745 MB / 0.811 GB, free: 4.266 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001435/1.109, allocations: 339.2 kB / 0.8113 GB, free: 3.914 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001015/1.11, allocations: 57.59 kB / 0.8113 GB, free: 3.863 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002231/1.112, allocations: 191.7 kB / 0.8115 GB, free: 3.676 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005384/1.113, allocations: 140.9 kB / 0.8117 GB, free: 3.535 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002874/1.113, allocations: 67.98 kB / 0.8117 GB, free: 3.469 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.003655/1.117, allocations: 1.725 MB / 0.8134 GB, free: 1.738 MB / 0.6231 GB Notification: Performance of sort global known variables: time 9.1e-08/1.117, allocations: 0 / 0.8134 GB, free: 1.738 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.005671/1.122, allocations: 1.088 MB / 0.8145 GB, free: 0.6523 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 6 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.w_a[1],body.w_a[2],body.w_a[3]) * 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 (170): * Single equations (assignments): 161 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01457/1.137, allocations: 8.388 MB / 0.8227 GB, free: 8.137 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01332/1.15, allocations: 6.295 MB / 0.8288 GB, free: 1.82 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.53e-05/1.15, allocations: 4 kB / 0.8288 GB, free: 1.816 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.004673/1.155, allocations: 2.373 MB / 0.8311 GB, free: 15.4 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00323/1.158, allocations: 375.9 kB / 0.8315 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4284/1.586, allocations: 56.72 MB / 0.8869 GB, free: 217.2 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002543/1.589, allocations: 3.16 MB / 0.89 GB, free: 214.1 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.003522/1.592, allocations: 2.059 MB / 0.892 GB, free: 212.1 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001673/1.594, allocations: 1.659 MB / 0.8936 GB, free: 210.4 MB / 0.6544 GB Notification: Performance of SimCode: time 1.262e-06/1.594, allocations: 0 / 0.8936 GB, free: 210.4 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1091/1.703, allocations: 71.26 MB / 0.9632 GB, free: 139.6 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.64/22.35, allocations: 12.05 kB / 0.9632 GB, free: 139.6 MB / 0.6544 GB " [Timeout remaining time 638] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Spherical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Spherical_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Spherical_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Spherical.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 25.54361550603062] Failed to read output from testmodel.py, exit status != 0: ['time', 'body.Q[1]', 'body.Q[2]', 'body.Q[3]', 'body.Q[4]', 'body.w_a[1]', 'body.w_a[2]', 'body.w_a[3]'] 22.477747859898955 22.4861831 21.900293586 Calling exit ...