Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009183/0.0009183, allocations: 170 kB / 23.94 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8768/0.8768, allocations: 177.1 MB / 204.3 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2525/0.2525, allocations: 34.26 MB / 294.9 MB, free: 0.6992 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Spherical,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Spherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Spherical,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Spherical",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 442.2 MB, free: 1.652 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.024e-05/2.176e-05, allocations: 6.281 kB / 442.2 MB, free: 1.645 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.1732/0.1732, allocations: 10.27 MB / 452.5 MB, free: 38.59 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006264/0.1795, allocations: 3.863 MB / 456.3 MB, free: 36.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001319/0.1808, allocations: 66.94 kB / 456.4 MB, free: 36.22 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001535/0.1823, allocations: 1.213 MB / 457.6 MB, free: 35.73 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002462/0.1848, allocations: 1.838 MB / 459.4 MB, free: 34.94 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009103/0.1857, allocations: 0.5864 MB / 460 MB, free: 34.72 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002967/0.1887, allocations: 4.707 MB / 464.7 MB, free: 33.12 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001714/0.1904, allocations: 2.172 MB / 466.9 MB, free: 32.25 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001884/0.1923, allocations: 1.862 MB / 468.8 MB, free: 31.51 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001902/0.1942, allocations: 2.068 MB / 470.8 MB, free: 31.02 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002631/0.1944, allocations: 225.6 kB / 471 MB, free: 31.02 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001623/0.196, allocations: 1.247 MB / 472.3 MB, free: 30.77 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009282/0.197, allocations: 1.693 MB / 474 MB, free: 30.07 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009274/0.1979, allocations: 0.9787 MB / 475 MB, free: 29.59 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005556/0.2035, allocations: 6.237 MB / 481.2 MB, free: 27.46 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.2035, allocations: 0 / 481.2 MB, free: 27.46 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.915e-06/0.2035, allocations: 4 kB / 481.2 MB, free: 27.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002066/0.2037, allocations: 0 / 481.2 MB, free: 27.45 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.009022/0.2127, allocations: 4.215 MB / 485.4 MB, free: 25.04 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.494e-05/0.2127, allocations: 9.75 kB / 485.4 MB, free: 25.04 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001186/0.2139, allocations: 0.6867 MB / 486.1 MB, free: 24.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01197/0.2259, allocations: 6.237 MB / 492.4 MB, free: 23.94 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00463/0.2305, allocations: 2.167 MB / 494.5 MB, free: 22.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001534/0.2307, allocations: 176.3 kB / 494.7 MB, free: 22.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001333/0.232, allocations: 319 kB / 495 MB, free: 22.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01385/0.2459, allocations: 10.73 MB / 0.4939 GB, free: 16.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.602e-05/0.2459, allocations: 26.75 kB / 0.4939 GB, free: 16.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002623/0.2462, allocations: 119.5 kB / 0.494 GB, free: 16.46 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001922/0.2481, allocations: 2.465 MB / 0.4964 GB, free: 14.21 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01174/0.2598, allocations: 10.16 MB / 0.5064 GB, free: 4.043 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03568/0.2955, allocations: 34.33 MB / 0.5399 GB, free: 0.8984 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006468/0.302, allocations: 4.59 MB / 0.5444 GB, free: 12.3 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002063/0.3041, allocations: 2.188 MB / 0.5465 GB, free: 10.11 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006234/0.3047, allocations: 0.5441 MB / 0.547 GB, free: 9.566 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.3047, allocations: 52.55 kB / 0.5471 GB, free: 9.504 MB / 458.7 MB Notification: Performance of pre-optimization done (n=224): time 4.148e-06/0.3047, allocations: 3.938 kB / 0.5471 GB, free: 9.5 MB / 458.7 MB Notification: Performance of matching and sorting (n=231): time 0.02076/0.3255, allocations: 15.18 MB / 0.5619 GB, free: 10.27 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008524/0.3263, allocations: 1.499 MB / 0.5634 GB, free: 8.633 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003221/0.3295, allocations: 3.313 MB / 0.5666 GB, free: 5.305 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003447/0.3299, allocations: 57.7 kB / 0.5667 GB, free: 5.242 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00174/0.3316, allocations: 2.76 MB / 0.5694 GB, free: 2.453 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006176/0.3322, allocations: 0.8796 MB / 0.5702 GB, free: 1.566 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00106/0.3333, allocations: 1.1 MB / 0.5713 GB, free: 468 kB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.589e-05/0.3334, allocations: 305.1 kB / 0.5716 GB, free: 160 kB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002619/0.336, allocations: 2.845 MB / 0.5744 GB, free: 13.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003962/0.34, allocations: 5.857 MB / 0.5801 GB, free: 5.98 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007946/0.3479, allocations: 9.351 MB / 0.5892 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-05/0.348, allocations: 28 kB / 0.5892 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.05129/0.3993, allocations: 33.34 MB / 0.6218 GB, free: 9.727 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.019e-05/0.3993, allocations: 52 kB / 0.6218 GB, free: 9.676 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2323/0.6316, allocations: 23.37 MB / 0.6447 GB, free: 150.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04084/0.6725, allocations: 23.34 MB / 0.6675 GB, free: 144.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003388/0.6759, allocations: 1.3 MB / 0.6687 GB, free: 144 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02471/0.7006, allocations: 27.24 MB / 0.6953 GB, free: 127.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004342/0.7049, allocations: 0.5495 MB / 0.6959 GB, free: 127 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009917/0.7059, allocations: 322.2 kB / 0.6962 GB, free: 126.7 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.003502/0.7094, allocations: 2.014 MB / 0.6981 GB, free: 124.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006874/0.7101, allocations: 290 kB / 0.6984 GB, free: 124.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005073/0.7152, allocations: 5.102 MB / 0.7034 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003911/0.7191, allocations: 4.393 MB / 0.7077 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.7191, allocations: 7.844 kB / 0.7077 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.7191, allocations: 7.969 kB / 0.7077 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01254/0.7316, allocations: 12.47 MB / 0.7199 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.838e-06/0.7316, allocations: 4 kB / 0.7199 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009984/0.7326, allocations: 463.2 kB / 0.7203 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001455/0.7341, allocations: 0.9367 MB / 0.7212 GB, free: 101.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001729/0.7343, allocations: 47.97 kB / 0.7213 GB, free: 101.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003598/0.7379, allocations: 5.6 MB / 0.7268 GB, free: 95.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006085/0.7385, allocations: 1.435 MB / 0.7282 GB, free: 93.78 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006644/0.7451, allocations: 7.736 MB / 0.7357 GB, free: 86.08 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007032/0.7458, allocations: 310.1 kB / 0.736 GB, free: 85.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002161/0.746, allocations: 47.98 kB / 0.7361 GB, free: 85.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00088/0.7469, allocations: 231.6 kB / 0.7363 GB, free: 85.67 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002344/0.7472, allocations: 160.8 kB / 0.7364 GB, free: 85.51 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.599e-05/0.7473, allocations: 59.98 kB / 0.7365 GB, free: 85.45 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001623/0.7489, allocations: 1.979 MB / 0.7384 GB, free: 83.47 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.21e-07/0.7489, allocations: 0 / 0.7384 GB, free: 83.47 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002794/0.7517, allocations: 1.228 MB / 0.7396 GB, free: 82.25 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.005955/0.7576, allocations: 8.391 MB / 0.7478 GB, free: 73.76 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006385/0.764, allocations: 6.832 MB / 0.7545 GB, free: 66.93 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.146e-06/0.764, allocations: 4 kB / 0.7545 GB, free: 66.93 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001928/0.7659, allocations: 2.297 MB / 0.7567 GB, free: 64.61 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001693/0.7676, allocations: 398.8 kB / 0.7571 GB, free: 64.24 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1045/0.8722, allocations: 83.18 MB / 0.8383 GB, free: 8.402 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002798/0.875, allocations: 2.617 MB / 0.8409 GB, free: 5.777 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.00334/0.8783, allocations: 2.069 MB / 0.8429 GB, free: 3.703 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1768/1.055, allocations: 1.679 MB / 0.8446 GB, free: 179.2 MB / 0.5573 GB Notification: Performance of SimCode: time 1.422e-06/1.055, allocations: 0 / 0.8446 GB, free: 179.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09807/1.153, allocations: 78.98 MB / 0.9217 GB, free: 143.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.17/11.32, allocations: 0 / 0.9217 GB, free: 143.9 MB / 0.5573 GB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Spherical_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Spherical.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.2852469002828] 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.44351221434772 11.450699071 11.245676604 Calling exit ...