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.001693/0.001693, allocations: 108.3 kB / 19.7 MB, free: 1.918 MB / 14.72 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.00211/0.00211, allocations: 215 kB / 22.99 MB, free: 4.977 MB / 14.72 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 1.597/1.597, allocations: 207.7 MB / 233.8 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] 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.253/0.253, allocations: 44.26 MB / 330.3 MB, free: 9.305 MB / 270.1 MB " [Timeout remaining time 179] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002634/0.002634, allocations: 71.89 kB / 467.5 MB, free: 4.352 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.144, allocations: 61.05 MB / 0.5162 GB, free: 7.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.01472/0.1588, allocations: 10.31 MB / 0.5262 GB, free: 12.8 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00961/0.1684, allocations: 3.857 MB / 0.53 GB, free: 8.934 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002071/0.1704, allocations: 71.75 kB / 0.5301 GB, free: 8.863 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002927/0.1734, allocations: 1.171 MB / 0.5312 GB, free: 7.688 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006325/0.1797, allocations: 1.818 MB / 0.533 GB, free: 5.863 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001772/0.1815, allocations: 0.5496 MB / 0.5335 GB, free: 5.312 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006443/0.1879, allocations: 3.958 MB / 0.5374 GB, free: 1.344 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3162/0.5041, allocations: 1.69 MB / 0.539 GB, free: 10.99 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00324/0.5074, allocations: 1.188 MB / 0.5402 GB, free: 10.95 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003484/0.5109, allocations: 1.803 MB / 0.542 GB, free: 10.75 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008916/0.5118, allocations: 218 kB / 0.5422 GB, free: 10.75 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003475/0.5152, allocations: 1.186 MB / 0.5433 GB, free: 10.75 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002291/0.5175, allocations: 1.636 MB / 0.5449 GB, free: 10.53 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002035/0.5196, allocations: 1.332 MB / 0.5462 GB, free: 9.984 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01133/0.5309, allocations: 6.316 MB / 0.5524 GB, free: 8.934 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.856e-06/0.5309, allocations: 1.188 kB / 0.5524 GB, free: 8.934 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.5309, allocations: 0.5938 kB / 0.5524 GB, free: 8.934 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002802/0.5312, allocations: 0 / 0.5524 GB, free: 8.934 MB / 414.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.01416/0.5453, allocations: 4.185 MB / 0.5565 GB, free: 7.133 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.574e-05/0.5454, allocations: 9.719 kB / 0.5565 GB, free: 7.133 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001599/0.547, allocations: 0.6855 MB / 0.5572 GB, free: 7.031 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01997/0.567, allocations: 5.726 MB / 0.5628 GB, free: 5.977 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008917/0.5759, allocations: 2.93 MB / 0.5656 GB, free: 4.504 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003052/0.5762, allocations: 176.7 kB / 0.5658 GB, free: 4.461 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001813/0.578, allocations: 316.2 kB / 0.5661 GB, free: 4.387 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02194/0.5999, allocations: 10.72 MB / 0.5765 GB, free: 14.69 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.243e-05/0.6, allocations: 30.2 kB / 0.5766 GB, free: 14.68 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004195/0.6005, allocations: 109.8 kB / 0.5767 GB, free: 14.64 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004113/0.6046, allocations: 2.464 MB / 0.5791 GB, free: 13.7 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02297/0.6275, allocations: 10.14 MB / 0.589 GB, free: 5.887 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06168/0.6892, allocations: 33.94 MB / 0.6221 GB, free: 3.652 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01207/0.7013, allocations: 4.449 MB / 0.6265 GB, free: 15.22 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00368/0.705, allocations: 2.181 MB / 0.6286 GB, free: 13.04 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001312/0.7063, allocations: 0.5419 MB / 0.6291 GB, free: 12.5 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.672e-05/0.7063, allocations: 56.56 kB / 0.6292 GB, free: 12.43 MB / 478.1 MB Notification: Performance of pre-optimization done (n=224): time 5.661e-06/0.7063, allocations: 0 / 0.6292 GB, free: 12.43 MB / 478.1 MB Notification: Performance of matching and sorting (n=231): time 0.04047/0.7468, allocations: 14.84 MB / 0.6437 GB, free: 13.57 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001641/0.7484, allocations: 1.512 MB / 0.6452 GB, free: 11.93 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005466/0.7539, allocations: 3.01 MB / 0.6481 GB, free: 8.906 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005778/0.7545, allocations: 58.25 kB / 0.6482 GB, free: 8.844 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002351/0.7568, allocations: 2.803 MB / 0.6509 GB, free: 6.051 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001347/0.7582, allocations: 0.8832 MB / 0.6518 GB, free: 5.18 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001836/0.76, allocations: 1.107 MB / 0.6528 GB, free: 4.066 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.7602, allocations: 305.1 kB / 0.6531 GB, free: 3.766 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004193/0.7643, allocations: 2.626 MB / 0.6557 GB, free: 1.129 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007155/0.7715, allocations: 5.632 MB / 0.6612 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01335/0.7848, allocations: 8.937 MB / 0.6699 GB, free: 44 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001115/0.785, allocations: 32 kB / 0.6699 GB, free: 12 kB / 0.4981 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.07153/0.8565, allocations: 19.01 MB / 0.6885 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003209/0.8568, allocations: 48 kB / 0.6886 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05004/0.9068, allocations: 11.99 MB / 0.7003 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05192/0.9588, allocations: 10.28 MB / 0.7103 GB, free: 6.594 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005605/0.9644, allocations: 1.302 MB / 0.7116 GB, free: 5.289 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03556/0.9999, allocations: 17.74 MB / 0.7289 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005266/1.005, allocations: 431.5 kB / 0.7293 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001551/1.007, allocations: 320 kB / 0.7296 GB, free: 2.586 MB / 0.5606 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.00628/1.013, allocations: 2.025 MB / 0.7316 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001014/1.014, allocations: 294 kB / 0.7319 GB, free: 268 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01308/1.027, allocations: 5.149 MB / 0.7369 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01001/1.037, allocations: 4.397 MB / 0.7412 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.759e-05/1.037, allocations: 0 / 0.7412 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-05/1.037, allocations: 11.91 kB / 0.7412 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03471/1.072, allocations: 12.37 MB / 0.7533 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.08e-05/1.072, allocations: 8.188 kB / 0.7533 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002396/1.074, allocations: 459.2 kB / 0.7537 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003436/1.078, allocations: 0.9468 MB / 0.7547 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006876/1.078, allocations: 47.97 kB / 0.7547 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00846/1.087, allocations: 5.594 MB / 0.7602 GB, free: 3.094 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001631/1.089, allocations: 1.447 MB / 0.7616 GB, free: 1.52 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3181/1.407, allocations: 7.736 MB / 0.7691 GB, free: 199.9 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001034/1.408, allocations: 268.2 kB / 0.7694 GB, free: 199.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004227/1.408, allocations: 42.17 kB / 0.7694 GB, free: 199.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001606/1.41, allocations: 196.2 kB / 0.7696 GB, free: 199.9 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000465/1.41, allocations: 155.3 kB / 0.7698 GB, free: 199.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001996/1.41, allocations: 66.59 kB / 0.7698 GB, free: 199.9 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003318/1.414, allocations: 1.741 MB / 0.7715 GB, free: 199.6 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/1.414, allocations: 2.625 kB / 0.7715 GB, free: 199.6 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.005864/1.42, allocations: 1.105 MB / 0.7726 GB, free: 199.5 MB / 0.5919 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.01317/1.433, allocations: 8.392 MB / 0.7808 GB, free: 196.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0125/1.445, allocations: 6.284 MB / 0.7869 GB, free: 194.2 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.929e-05/1.445, allocations: 1.094 kB / 0.787 GB, free: 194.2 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00405/1.449, allocations: 2.298 MB / 0.7892 GB, free: 193.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002514/1.452, allocations: 389.5 kB / 0.7896 GB, free: 193.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1342/1.586, allocations: 59.7 MB / 0.8479 GB, free: 138.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002903/1.589, allocations: 2.623 MB / 0.8504 GB, free: 135.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.003771/1.593, allocations: 2.066 MB / 0.8525 GB, free: 133.4 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001992/1.595, allocations: 1.667 MB / 0.8541 GB, free: 131.7 MB / 0.5919 GB Notification: Performance of SimCode: time 1.082e-06/1.595, allocations: 0 / 0.8541 GB, free: 131.7 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1199/1.715, allocations: 71.54 MB / 0.9239 GB, free: 60.04 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.69/18.4, allocations: 3.906 kB / 0.9239 GB, free: 60.03 MB / 0.5919 GB " [Timeout remaining time 641] (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: 21.6432928359136] 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]'] 18.55610365513712 18.572309041 18.037862395 Calling exit ...