Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001495/0.001495, allocations: 122 kB / 18.51 MB, free: 4.617 MB / 14.72 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.001673/0.001673, allocations: 211.4 kB / 21.46 MB, free: 1.668 MB / 14.72 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 1.586/1.586, allocations: 230.4 MB / 254.7 MB, free: 14.84 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2849/0.2849, allocations: 46.92 MB / 357.7 MB, free: 10.18 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Spherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Spherical,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Spherical",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003341/0.003341, allocations: 80.19 kB / 0.4917 GB, free: 7.703 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.1669, allocations: 66.04 MB / 0.5562 GB, free: 5.539 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.01404/0.181, allocations: 11.81 MB / 0.5677 GB, free: 9.668 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008784/0.1898, allocations: 4.081 MB / 0.5717 GB, free: 5.57 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001512/0.1913, allocations: 75.69 kB / 0.5718 GB, free: 5.496 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002586/0.1939, allocations: 1.202 MB / 0.5729 GB, free: 4.289 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004175/0.198, allocations: 1.763 MB / 0.5746 GB, free: 2.52 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001447/0.1995, allocations: 0.5535 MB / 0.5752 GB, free: 1.965 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005511/0.205, allocations: 4.044 MB / 0.5791 GB, free: 13.91 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00211/0.2071, allocations: 1.573 MB / 0.5807 GB, free: 12.32 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001654/0.2088, allocations: 1.183 MB / 0.5818 GB, free: 11.13 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002357/0.2111, allocations: 1.853 MB / 0.5836 GB, free: 9.27 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004949/0.2116, allocations: 216 kB / 0.5838 GB, free: 9.059 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002299/0.2139, allocations: 1.338 MB / 0.5851 GB, free: 7.719 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001709/0.2156, allocations: 1.604 MB / 0.5867 GB, free: 6.109 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002298/0.2179, allocations: 1.828 MB / 0.5885 GB, free: 4.27 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3022/0.5201, allocations: 6.22 MB / 0.5946 GB, free: 12.44 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.5201, allocations: 0.9062 kB / 0.5946 GB, free: 12.44 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.5201, allocations: 1.375 kB / 0.5946 GB, free: 12.44 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002365/0.5204, allocations: 0 / 0.5946 GB, free: 12.44 MB / 446.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.01289/0.5333, allocations: 4.214 MB / 0.5987 GB, free: 10.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/0.5333, allocations: 10.55 kB / 0.5987 GB, free: 10.59 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00236/0.5357, allocations: 0.6837 MB / 0.5994 GB, free: 10.52 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02299/0.5587, allocations: 6.18 MB / 0.6054 GB, free: 10.23 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007183/0.5659, allocations: 2.63 MB / 0.608 GB, free: 9.715 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003114/0.5662, allocations: 179.7 kB / 0.6081 GB, free: 9.707 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002359/0.5685, allocations: 314.3 kB / 0.6084 GB, free: 9.699 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02122/0.5897, allocations: 10.71 MB / 0.6189 GB, free: 7.207 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001171/0.5899, allocations: 33.06 kB / 0.6189 GB, free: 7.199 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008724/0.5907, allocations: 111.5 kB / 0.619 GB, free: 7.164 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003638/0.5944, allocations: 2.466 MB / 0.6215 GB, free: 6.219 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01705/0.6114, allocations: 10.16 MB / 0.6314 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06171/0.6731, allocations: 35.57 MB / 0.6661 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01269/0.6858, allocations: 5.377 MB / 0.6714 GB, free: 7.082 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003767/0.6896, allocations: 2.191 MB / 0.6735 GB, free: 4.891 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002068/0.6916, allocations: 1.874 MB / 0.6753 GB, free: 2.695 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.773e-05/0.6917, allocations: 56.5 kB / 0.6754 GB, free: 2.629 MB / 494.1 MB Notification: Performance of pre-optimization done (n=224): time 5.58e-06/0.6917, allocations: 0 / 0.6754 GB, free: 2.629 MB / 494.1 MB Notification: Performance of matching and sorting (n=231): time 0.0419/0.7336, allocations: 15.01 MB / 0.69 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00167/0.7353, allocations: 1.617 MB / 0.6916 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005009/0.7403, allocations: 2.818 MB / 0.6944 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.00064/0.7409, allocations: 53.7 kB / 0.6944 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00268/0.7436, allocations: 2.788 MB / 0.6971 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001608/0.7452, allocations: 0.8917 MB / 0.698 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002504/0.7477, allocations: 1.104 MB / 0.6991 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.7479, allocations: 301.1 kB / 0.6994 GB, free: 9.852 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005249/0.7531, allocations: 2.63 MB / 0.702 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008275/0.7614, allocations: 5.627 MB / 0.7074 GB, free: 172 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01309/0.7745, allocations: 8.943 MB / 0.7162 GB, free: 6.188 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001067/0.7746, allocations: 32 kB / 0.7162 GB, free: 6.156 MB / 0.5294 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.06815/0.8428, allocations: 17.12 MB / 0.7329 GB, free: 5.359 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.326e-05/0.8429, allocations: 52 kB / 0.733 GB, free: 5.309 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04719/0.89, allocations: 10.61 MB / 0.7433 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04883/0.9389, allocations: 8.647 MB / 0.7518 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004936/0.9438, allocations: 1.294 MB / 0.753 GB, free: 0.7188 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03321/0.977, allocations: 17.81 MB / 0.7704 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004403/0.9814, allocations: 418.8 kB / 0.7708 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009976/0.9824, allocations: 320 kB / 0.7711 GB, free: 13.92 MB / 0.5919 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.004552/0.987, allocations: 2.025 MB / 0.7731 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007082/0.9877, allocations: 286.1 kB / 0.7734 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01019/0.9979, allocations: 5.101 MB / 0.7784 GB, free: 6.473 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008862/1.007, allocations: 4.393 MB / 0.7827 GB, free: 2.066 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.707e-05/1.007, allocations: 3.938 kB / 0.7827 GB, free: 2.062 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.945e-05/1.007, allocations: 11.95 kB / 0.7827 GB, free: 2.051 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02628/1.033, allocations: 12.91 MB / 0.7953 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.714e-05/1.033, allocations: 12.19 kB / 0.7953 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002282/1.035, allocations: 459.2 kB / 0.7957 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003294/1.039, allocations: 0.9386 MB / 0.7967 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004235/1.039, allocations: 51.34 kB / 0.7967 GB, free: 3.539 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008274/1.047, allocations: 5.837 MB / 0.8024 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001531/1.049, allocations: 1.555 MB / 0.8039 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01487/1.064, allocations: 7.739 MB / 0.8115 GB, free: 3.852 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001019/1.065, allocations: 343.2 kB / 0.8118 GB, free: 3.496 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001142/1.066, allocations: 50.34 kB / 0.8119 GB, free: 3.449 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002281/1.068, allocations: 195.7 kB / 0.812 GB, free: 3.258 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006425/1.069, allocations: 140.3 kB / 0.8122 GB, free: 3.121 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002358/1.069, allocations: 66.64 kB / 0.8122 GB, free: 3.059 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.003546/1.073, allocations: 1.733 MB / 0.8139 GB, free: 1.32 MB / 0.6231 GB Notification: Performance of sort global known variables: time 6e-08/1.073, allocations: 0 / 0.8139 GB, free: 1.32 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.006411/1.079, allocations: 1.09 MB / 0.815 GB, free: 236 kB / 0.6231 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.01601/1.095, allocations: 8.379 MB / 0.8232 GB, free: 7.723 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01335/1.108, allocations: 6.295 MB / 0.8293 GB, free: 1.406 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.641e-05/1.108, allocations: 4.25 kB / 0.8293 GB, free: 1.402 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.2733/1.382, allocations: 2.365 MB / 0.8316 GB, free: 227.8 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003266/1.385, allocations: 371 kB / 0.832 GB, free: 227.8 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1507/1.536, allocations: 56.74 MB / 0.8874 GB, free: 190.8 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003298/1.539, allocations: 3.16 MB / 0.8905 GB, free: 187.7 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.004229/1.543, allocations: 2.066 MB / 0.8925 GB, free: 185.6 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00206/1.545, allocations: 1.655 MB / 0.8941 GB, free: 183.9 MB / 0.6387 GB Notification: Performance of SimCode: time 9.22e-07/1.545, allocations: 0 / 0.8941 GB, free: 183.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1094/1.655, allocations: 71.26 MB / 0.9637 GB, free: 112.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.65/22.31, allocations: 7.75 kB / 0.9637 GB, free: 112.9 MB / 0.6387 GB " [Timeout remaining time 638] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Spherical.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Spherical_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Spherical.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 25.77834514481947] 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]'] 22.4417213909328 22.453845509 21.93092051 Calling exit ...