Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001351/0.001351, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001494/0.001494, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9038/0.9038, allocations: 177 MB / 204.1 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2684/0.2684, allocations: 34.24 MB / 294.8 MB, free: 0.7188 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest_MultiBody_Joints_Spherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Spherical,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Spherical",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.865e-06/2.865e-06, allocations: 3.938 kB / 442.2 MB, free: 1.582 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.485e-05/3.771e-05, allocations: 6.281 kB / 442.2 MB, free: 1.574 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.1975/0.1976, allocations: 10.26 MB / 452.4 MB, free: 38.54 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005029/0.2026, allocations: 3.875 MB / 456.3 MB, free: 36.17 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009563/0.2036, allocations: 66.41 kB / 456.4 MB, free: 36.16 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001355/0.2049, allocations: 1.214 MB / 457.6 MB, free: 35.67 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002239/0.2072, allocations: 1.824 MB / 459.4 MB, free: 34.89 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008335/0.208, allocations: 0.597 MB / 460 MB, free: 34.66 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003168/0.2112, allocations: 4.715 MB / 464.7 MB, free: 33.05 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002322/0.2135, allocations: 2.169 MB / 466.9 MB, free: 32.19 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002087/0.2156, allocations: 1.865 MB / 468.7 MB, free: 31.45 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002296/0.2179, allocations: 2.061 MB / 470.8 MB, free: 30.96 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003926/0.2183, allocations: 223.6 kB / 471 MB, free: 30.96 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001547/0.2198, allocations: 1.255 MB / 472.3 MB, free: 30.7 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008171/0.2206, allocations: 1.685 MB / 474 MB, free: 30.01 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007723/0.2214, allocations: 0.9845 MB / 474.9 MB, free: 29.53 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004461/0.2259, allocations: 6.242 MB / 481.2 MB, free: 27.39 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2259, allocations: 0 / 481.2 MB, free: 27.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2259, allocations: 0 / 481.2 MB, free: 27.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001331/0.226, allocations: 1.281 kB / 481.2 MB, free: 27.39 MB / 410.7 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.006836/0.2328, allocations: 4.218 MB / 485.4 MB, free: 24.96 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.2329, allocations: 9.031 kB / 485.4 MB, free: 24.96 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008127/0.2337, allocations: 0.687 MB / 486.1 MB, free: 24.63 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01232/0.246, allocations: 6.243 MB / 492.4 MB, free: 23.86 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004648/0.2507, allocations: 2.157 MB / 494.5 MB, free: 22.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001199/0.2508, allocations: 179.6 kB / 494.7 MB, free: 22.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007003/0.2515, allocations: 318.9 kB / 495 MB, free: 22.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01216/0.2636, allocations: 10.72 MB / 0.4939 GB, free: 16.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.732e-05/0.2637, allocations: 26.97 kB / 0.4939 GB, free: 16.48 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002551/0.264, allocations: 115.7 kB / 0.494 GB, free: 16.4 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002192/0.2661, allocations: 2.457 MB / 0.4964 GB, free: 14.14 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01231/0.2785, allocations: 10.17 MB / 0.5063 GB, free: 3.969 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03797/0.3164, allocations: 34.33 MB / 0.5399 GB, free: 0.8164 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00724/0.3237, allocations: 4.593 MB / 0.5443 GB, free: 12.21 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002341/0.326, allocations: 2.178 MB / 0.5465 GB, free: 10.04 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006778/0.3267, allocations: 0.5519 MB / 0.547 GB, free: 9.484 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.3267, allocations: 49.22 kB / 0.5471 GB, free: 9.426 MB / 458.7 MB Notification: Performance of pre-optimization done (n=224): time 5.641e-06/0.3267, allocations: 0 / 0.5471 GB, free: 9.426 MB / 458.7 MB Notification: Performance of matching and sorting (n=231): time 0.02321/0.3499, allocations: 15.19 MB / 0.5619 GB, free: 10.19 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001134/0.3511, allocations: 1.499 MB / 0.5633 GB, free: 8.555 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003764/0.3548, allocations: 3.305 MB / 0.5666 GB, free: 5.234 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005776/0.3554, allocations: 57.69 kB / 0.5666 GB, free: 5.172 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001322/0.3567, allocations: 2.76 MB / 0.5693 GB, free: 2.383 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009825/0.3577, allocations: 0.8796 MB / 0.5702 GB, free: 1.496 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001177/0.3589, allocations: 1.1 MB / 0.5713 GB, free: 396 kB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.253e-05/0.359, allocations: 305.1 kB / 0.5715 GB, free: 88 kB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003075/0.362, allocations: 2.849 MB / 0.5743 GB, free: 13.23 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004951/0.367, allocations: 5.85 MB / 0.58 GB, free: 5.91 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008902/0.3759, allocations: 9.351 MB / 0.5892 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.347e-05/0.3759, allocations: 32 kB / 0.5892 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.05288/0.4288, allocations: 33.34 MB / 0.6218 GB, free: 9.648 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.42e-05/0.4289, allocations: 48 kB / 0.6218 GB, free: 9.602 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2341/0.663, allocations: 23.37 MB / 0.6446 GB, free: 150.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03905/0.7021, allocations: 23.34 MB / 0.6674 GB, free: 144.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003426/0.7055, allocations: 1.307 MB / 0.6687 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02483/0.7303, allocations: 27.23 MB / 0.6953 GB, free: 127.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003475/0.7338, allocations: 0.5537 MB / 0.6958 GB, free: 126.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005473/0.7344, allocations: 319.4 kB / 0.6961 GB, free: 126.6 MB / 0.5261 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.002511/0.7369, allocations: 2.02 MB / 0.6981 GB, free: 124.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004797/0.7374, allocations: 291.3 kB / 0.6984 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004863/0.7422, allocations: 5.104 MB / 0.7034 GB, free: 119.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003868/0.7461, allocations: 4.397 MB / 0.7077 GB, free: 115 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.7461, allocations: 4 kB / 0.7077 GB, free: 115 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/0.7461, allocations: 11.5 kB / 0.7077 GB, free: 115 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.013/0.7591, allocations: 12.46 MB / 0.7199 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.125e-05/0.7591, allocations: 4 kB / 0.7199 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001079/0.7602, allocations: 464.4 kB / 0.7203 GB, free: 102 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001569/0.7618, allocations: 0.9364 MB / 0.7212 GB, free: 101 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001137/0.7619, allocations: 51.81 kB / 0.7213 GB, free: 101 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003435/0.7653, allocations: 5.592 MB / 0.7267 GB, free: 95.22 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0004672/0.7658, allocations: 1.452 MB / 0.7281 GB, free: 93.67 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006329/0.7721, allocations: 7.719 MB / 0.7357 GB, free: 85.99 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008567/0.773, allocations: 313.1 kB / 0.736 GB, free: 85.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002298/0.7732, allocations: 43.98 kB / 0.736 GB, free: 85.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008816/0.7741, allocations: 243.4 kB / 0.7363 GB, free: 85.57 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002411/0.7743, allocations: 157.8 kB / 0.7364 GB, free: 85.42 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001014/0.7744, allocations: 63.98 kB / 0.7365 GB, free: 85.36 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00182/0.7762, allocations: 1.979 MB / 0.7384 GB, free: 83.38 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7762, allocations: 1.969 kB / 0.7384 GB, free: 83.38 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003583/0.7798, allocations: 1.221 MB / 0.7396 GB, free: 82.16 MB / 0.5261 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.006689/0.7865, allocations: 8.391 MB / 0.7478 GB, free: 73.68 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007561/0.7941, allocations: 6.833 MB / 0.7545 GB, free: 66.85 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.164e-05/0.7941, allocations: 0 / 0.7545 GB, free: 66.85 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002027/0.7961, allocations: 2.305 MB / 0.7567 GB, free: 64.52 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001765/0.7979, allocations: 389.9 kB / 0.7571 GB, free: 64.16 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1027/0.9006, allocations: 83.18 MB / 0.8383 GB, free: 8.312 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003064/0.9037, allocations: 2.614 MB / 0.8409 GB, free: 5.676 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.00323/0.9069, allocations: 2.075 MB / 0.8429 GB, free: 3.598 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.193/1.1, allocations: 1.675 MB / 0.8445 GB, free: 179.3 MB / 0.5573 GB Notification: Performance of SimCode: time 1.543e-06/1.1, allocations: 0 / 0.8445 GB, free: 179.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09798/1.198, allocations: 78.97 MB / 0.9217 GB, free: 143.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.11/11.31, allocations: 18.86 kB / 0.9217 GB, free: 143.8 MB / 0.5573 GB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Spherical_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Spherical.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.3570536095649] 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]'] 11.42833003681153 11.436108511 11.20871089 Calling exit ...