Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001367/0.001367, allocations: 72.56 kB / 19.92 MB, free: 4.621 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.001408/0.001408, allocations: 173.9 kB / 23.21 MB, free: 1.336 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8287/0.8287, allocations: 158.6 MB / 185 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1452/0.1452, allocations: 32.37 MB / 269.6 MB, free: 14.98 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_MultiBody_Joints_Spherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Spherical,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Spherical",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 406.8 MB, free: 2.23 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.899e-05/2.067e-05, allocations: 2.281 kB / 406.8 MB, free: 2.227 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.008214/0.008234, allocations: 10.33 MB / 417.2 MB, free: 7.852 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.006202/0.01444, allocations: 3.86 MB / 421 MB, free: 3.98 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00135/0.01579, allocations: 75.75 kB / 421.1 MB, free: 3.906 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001603/0.01739, allocations: 1.21 MB / 422.3 MB, free: 2.691 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003132/0.02052, allocations: 1.863 MB / 424.2 MB, free: 0.8203 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009387/0.02146, allocations: 0.5922 MB / 424.8 MB, free: 232 kB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003508/0.02497, allocations: 4.576 MB / 429.3 MB, free: 11.64 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002926/0.0279, allocations: 2.195 MB / 431.5 MB, free: 9.418 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00272/0.03061, allocations: 1.882 MB / 433.4 MB, free: 7.531 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002507/0.03312, allocations: 2.073 MB / 435.5 MB, free: 5.453 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006327/0.03375, allocations: 228 kB / 435.7 MB, free: 5.23 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001794/0.03555, allocations: 1.263 MB / 437 MB, free: 3.965 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001463/0.03701, allocations: 1.714 MB / 438.7 MB, free: 2.246 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001438/0.03845, allocations: 1.012 MB / 439.7 MB, free: 1.23 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00669/0.04514, allocations: 6.314 MB / 446 MB, free: 10.89 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.04515, allocations: 0 / 446 MB, free: 10.89 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.534e-06/0.04515, allocations: 0 / 446 MB, free: 10.89 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002484/0.0454, allocations: 0 / 446 MB, free: 10.89 MB / 426.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.007704/0.0531, allocations: 4.254 MB / 450.3 MB, free: 6.582 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.081e-05/0.05316, allocations: 16.02 kB / 450.3 MB, free: 6.566 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008816/0.05405, allocations: 0.6875 MB / 451 MB, free: 5.867 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01088/0.06493, allocations: 5.781 MB / 456.8 MB, free: 76 kB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004536/0.06946, allocations: 2.315 MB / 459.1 MB, free: 13.73 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001395/0.0696, allocations: 184.8 kB / 459.3 MB, free: 13.55 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001104/0.07071, allocations: 316.3 kB / 459.6 MB, free: 13.24 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01408/0.08479, allocations: 10.73 MB / 470.3 MB, free: 2.043 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.327e-05/0.08487, allocations: 27.73 kB / 470.3 MB, free: 2.016 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003243/0.08519, allocations: 115.8 kB / 470.4 MB, free: 1.902 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.1695/0.2547, allocations: 2.46 MB / 472.9 MB, free: 94.17 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01242/0.2671, allocations: 10.16 MB / 483.1 MB, free: 91.65 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02839/0.2955, allocations: 34.38 MB / 0.5053 GB, free: 70.9 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006984/0.3025, allocations: 4.576 MB / 0.5098 GB, free: 69.82 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001906/0.3044, allocations: 2.19 MB / 0.5119 GB, free: 69.02 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000669/0.3051, allocations: 0.5618 MB / 0.5125 GB, free: 68.93 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.3051, allocations: 51.77 kB / 0.5125 GB, free: 68.88 MB / 442.7 MB Notification: Performance of pre-optimization done (n=224): time 4.308e-06/0.3051, allocations: 0 / 0.5125 GB, free: 68.88 MB / 442.7 MB Notification: Performance of matching and sorting (n=231): time 0.01979/0.3249, allocations: 15.29 MB / 0.5274 GB, free: 57.47 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008829/0.3258, allocations: 1.502 MB / 0.5289 GB, free: 55.84 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003/0.3288, allocations: 3.365 MB / 0.5322 GB, free: 52.59 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001939/0.329, allocations: 53.64 kB / 0.5322 GB, free: 52.53 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007135/0.3297, allocations: 2.775 MB / 0.535 GB, free: 49.76 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004521/0.3301, allocations: 0.8767 MB / 0.5358 GB, free: 48.9 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008472/0.331, allocations: 1.096 MB / 0.5369 GB, free: 47.8 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 2.351e-05/0.331, allocations: 309.1 kB / 0.5372 GB, free: 47.49 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002124/0.3331, allocations: 2.845 MB / 0.54 GB, free: 44.64 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00266/0.3358, allocations: 5.854 MB / 0.5457 GB, free: 37.31 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005668/0.3415, allocations: 9.351 MB / 0.5548 GB, free: 26.49 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.045e-05/0.3415, allocations: 32 kB / 0.5548 GB, free: 26.46 MB / 442.7 MB Notification: Performance of matching and sorting (n=725) (initialization): time 0.04964/0.3911, allocations: 39.11 MB / 0.593 GB, free: 3.27 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.804e-05/0.3912, allocations: 55.98 kB / 0.5931 GB, free: 3.215 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0392/0.4304, allocations: 27.61 MB / 0.62 GB, free: 7.551 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04241/0.4728, allocations: 28.37 MB / 0.6477 GB, free: 11.12 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003005/0.4758, allocations: 1.306 MB / 0.649 GB, free: 9.809 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1845/0.6604, allocations: 28.46 MB / 0.6768 GB, free: 157 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002889/0.6633, allocations: 0.5948 MB / 0.6774 GB, free: 156.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003208/0.6636, allocations: 318.4 kB / 0.6777 GB, free: 156.9 MB / 0.5105 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.002008/0.6656, allocations: 2.02 MB / 0.6797 GB, free: 156.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003384/0.6659, allocations: 289.7 kB / 0.6799 GB, free: 156.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00499/0.6709, allocations: 5.107 MB / 0.6849 GB, free: 154.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004422/0.6753, allocations: 4.396 MB / 0.6892 GB, free: 153.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.6753, allocations: 2.625 kB / 0.6892 GB, free: 153.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.6754, allocations: 9.312 kB / 0.6892 GB, free: 153.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01402/0.6894, allocations: 12.47 MB / 0.7014 GB, free: 148.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.121e-05/0.6894, allocations: 10.8 kB / 0.7014 GB, free: 148.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001044/0.6904, allocations: 459.5 kB / 0.7019 GB, free: 148.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001459/0.6919, allocations: 0.9388 MB / 0.7028 GB, free: 148.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001187/0.692, allocations: 53.09 kB / 0.7028 GB, free: 148.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003371/0.6954, allocations: 5.6 MB / 0.7083 GB, free: 145.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0004657/0.6958, allocations: 1.432 MB / 0.7097 GB, free: 144.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006084/0.7019, allocations: 7.734 MB / 0.7173 GB, free: 137.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005735/0.7025, allocations: 316.2 kB / 0.7176 GB, free: 137.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002197/0.7027, allocations: 49.45 kB / 0.7176 GB, free: 137.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008616/0.7036, allocations: 243.6 kB / 0.7178 GB, free: 137.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002291/0.7038, allocations: 147.5 kB / 0.718 GB, free: 137.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.934e-05/0.7039, allocations: 71.89 kB / 0.718 GB, free: 137.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001648/0.7055, allocations: 2.016 MB / 0.72 GB, free: 135.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.4e-07/0.7055, allocations: 5.938 kB / 0.72 GB, free: 135.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002612/0.7082, allocations: 1.256 MB / 0.7212 GB, free: 134.3 MB / 0.5105 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.00605/0.7142, allocations: 8.401 MB / 0.7294 GB, free: 126.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007146/0.7214, allocations: 7.036 MB / 0.7363 GB, free: 119.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.731e-05/0.7214, allocations: 0 / 0.7363 GB, free: 119.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00225/0.7236, allocations: 2.3 MB / 0.7386 GB, free: 117 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001921/0.7255, allocations: 381 kB / 0.7389 GB, free: 116.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1025/0.828, allocations: 91.87 MB / 0.8286 GB, free: 20.12 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002298/0.8303, allocations: 2.624 MB / 0.8312 GB, free: 17.49 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002747/0.833, allocations: 2.079 MB / 0.8332 GB, free: 15.41 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001508/0.8346, allocations: 1.676 MB / 0.8349 GB, free: 13.74 MB / 0.5105 GB Notification: Performance of SimCode: time 2.594e-06/0.8346, allocations: 4 kB / 0.8349 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2523/1.087, allocations: 79.45 MB / 0.9125 GB, free: 159.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.898/10.98, allocations: 3.938 kB / 0.9125 GB, free: 159.1 MB / 0.5261 GB " [Timeout remaining time 649] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Spherical_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Spherical.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.975959990173578] 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.104405499063432 11.112569918 11.064127658 Calling exit ...