Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001403/0.001403, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001536/0.001536, allocations: 210.6 kB / 23.73 MB, free: 4.387 MB / 14.72 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 1.506/1.506, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2484/0.2484, allocations: 44.93 MB / 358.8 MB, free: 6.07 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_MultiBody_Joints_Spherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Spherical,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Spherical",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.00235/0.00235, allocations: 70.06 kB / 0.493 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3968/0.3992, allocations: 65.48 MB / 0.557 GB, free: 7.516 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.0135/0.4127, allocations: 10.25 MB / 0.567 GB, free: 13.38 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008999/0.4217, allocations: 3.856 MB / 0.5708 GB, free: 9.512 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001786/0.4234, allocations: 75.69 kB / 0.5708 GB, free: 9.438 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002644/0.4261, allocations: 1.16 MB / 0.572 GB, free: 8.273 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00432/0.4304, allocations: 1.783 MB / 0.5737 GB, free: 6.484 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00152/0.4319, allocations: 0.5652 MB / 0.5743 GB, free: 5.918 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005603/0.4375, allocations: 4.031 MB / 0.5782 GB, free: 1.883 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002155/0.4397, allocations: 1.679 MB / 0.5798 GB, free: 180 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001856/0.4415, allocations: 1.179 MB / 0.581 GB, free: 14.99 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002585/0.4441, allocations: 1.791 MB / 0.5827 GB, free: 13.2 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004858/0.4446, allocations: 220 kB / 0.5829 GB, free: 12.98 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002548/0.4472, allocations: 1.178 MB / 0.5841 GB, free: 11.8 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001959/0.4491, allocations: 1.608 MB / 0.5857 GB, free: 10.19 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001745/0.4509, allocations: 1.303 MB / 0.5869 GB, free: 8.875 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008405/0.4593, allocations: 6.247 MB / 0.593 GB, free: 2.602 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.4593, allocations: 0 / 0.593 GB, free: 2.602 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4593, allocations: 0 / 0.593 GB, free: 2.602 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001869/0.4595, allocations: 0 / 0.593 GB, free: 2.602 MB / 430.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.008864/0.4683, allocations: 4.134 MB / 0.5971 GB, free: 14.41 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.899e-05/0.4684, allocations: 12.03 kB / 0.5971 GB, free: 14.4 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001182/0.4696, allocations: 0.6837 MB / 0.5978 GB, free: 13.7 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02725/0.4968, allocations: 6.187 MB / 0.6038 GB, free: 7.504 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009977/0.5068, allocations: 2.578 MB / 0.6063 GB, free: 4.898 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002851/0.5071, allocations: 184.5 kB / 0.6065 GB, free: 4.715 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002032/0.5091, allocations: 315.6 kB / 0.6068 GB, free: 4.406 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02989/0.539, allocations: 10.71 MB / 0.6172 GB, free: 9.23 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000145/0.5391, allocations: 27.8 kB / 0.6173 GB, free: 9.203 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006928/0.5398, allocations: 115.8 kB / 0.6174 GB, free: 9.09 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00595/0.5458, allocations: 2.463 MB / 0.6198 GB, free: 6.625 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02683/0.5726, allocations: 10.13 MB / 0.6297 GB, free: 12.48 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06296/0.6356, allocations: 33.9 MB / 0.6628 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01227/0.6479, allocations: 4.466 MB / 0.6672 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00371/0.6516, allocations: 2.187 MB / 0.6693 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001341/0.6529, allocations: 0.548 MB / 0.6698 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.786e-05/0.6529, allocations: 52.5 kB / 0.6699 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=224): time 5.901e-06/0.653, allocations: 0 / 0.6699 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of matching and sorting (n=231): time 0.03838/0.6913, allocations: 14.79 MB / 0.6843 GB, free: 3.602 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001719/0.6931, allocations: 1.51 MB / 0.6858 GB, free: 1.957 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004787/0.6978, allocations: 2.997 MB / 0.6887 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004414/0.6983, allocations: 57.64 kB / 0.6888 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002272/0.7006, allocations: 2.784 MB / 0.6915 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001179/0.7017, allocations: 0.8952 MB / 0.6924 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001695/0.7034, allocations: 1.104 MB / 0.6934 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.7036, allocations: 305.3 kB / 0.6937 GB, free: 9.754 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004056/0.7076, allocations: 2.626 MB / 0.6963 GB, free: 7.121 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006784/0.7144, allocations: 5.635 MB / 0.7018 GB, free: 16 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01282/0.7272, allocations: 8.937 MB / 0.7105 GB, free: 5.602 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001298/0.7274, allocations: 32 kB / 0.7106 GB, free: 5.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.06794/0.7953, allocations: 17.11 MB / 0.7273 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.008e-05/0.7954, allocations: 59.95 kB / 0.7273 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.3897/1.185, allocations: 10.6 MB / 0.7377 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04493/1.23, allocations: 8.635 MB / 0.7461 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004569/1.235, allocations: 1.309 MB / 0.7474 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02434/1.259, allocations: 17.33 MB / 0.7643 GB, free: 136.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004134/1.263, allocations: 417.5 kB / 0.7647 GB, free: 135.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009488/1.264, allocations: 323 kB / 0.765 GB, free: 135.5 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.002979/1.267, allocations: 2.018 MB / 0.767 GB, free: 133.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004679/1.267, allocations: 289.5 kB / 0.7673 GB, free: 133.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007093/1.275, allocations: 5.099 MB / 0.7722 GB, free: 128.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005959/1.281, allocations: 4.401 MB / 0.7765 GB, free: 123.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/1.281, allocations: 4 kB / 0.7765 GB, free: 123.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.558e-05/1.281, allocations: 7.969 kB / 0.7766 GB, free: 123.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01828/1.299, allocations: 12.35 MB / 0.7886 GB, free: 111.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-05/1.299, allocations: 7.938 kB / 0.7886 GB, free: 111.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00189/1.301, allocations: 466.9 kB / 0.7891 GB, free: 111 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002605/1.303, allocations: 0.9343 MB / 0.79 GB, free: 110 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000245/1.304, allocations: 51.97 kB / 0.79 GB, free: 110 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005125/1.309, allocations: 5.6 MB / 0.7955 GB, free: 104.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006679/1.309, allocations: 1.444 MB / 0.7969 GB, free: 102.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009267/1.319, allocations: 7.743 MB / 0.8045 GB, free: 94.96 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006892/1.319, allocations: 262.6 kB / 0.8047 GB, free: 94.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003378/1.32, allocations: 47.98 kB / 0.8048 GB, free: 94.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001407/1.321, allocations: 191.7 kB / 0.805 GB, free: 94.62 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003428/1.321, allocations: 156.1 kB / 0.8051 GB, free: 94.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001531/1.322, allocations: 67.97 kB / 0.8052 GB, free: 94.41 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002249/1.324, allocations: 1.726 MB / 0.8068 GB, free: 92.68 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.324, allocations: 0 / 0.8068 GB, free: 92.68 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004373/1.328, allocations: 1.085 MB / 0.8079 GB, free: 91.61 MB / 0.5606 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.009538/1.338, allocations: 8.392 MB / 0.8161 GB, free: 83.12 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009458/1.347, allocations: 6.217 MB / 0.8222 GB, free: 76.92 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.811e-05/1.347, allocations: 4 kB / 0.8222 GB, free: 76.91 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003109/1.35, allocations: 2.297 MB / 0.8244 GB, free: 74.59 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002163/1.352, allocations: 382.8 kB / 0.8248 GB, free: 74.22 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1288/1.481, allocations: 56.83 MB / 0.8803 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003869/1.485, allocations: 2.614 MB / 0.8828 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003966/1.489, allocations: 2.06 MB / 0.8848 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002402/1.491, allocations: 1.667 MB / 0.8865 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of SimCode: time 1.984e-06/1.491, allocations: 0 / 0.8865 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1445/1.636, allocations: 71.34 MB / 0.9561 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.78/18.41, allocations: 9.891 kB / 0.9562 GB, free: 15.56 MB / 0.6387 GB " [Timeout remaining time 641] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Spherical_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Spherical.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 21.450299663934857] 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.573344725649804 18.598526084 18.134346556 Calling exit ...