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.001381/0.001381, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.0018/0.0018, allocations: 215.9 kB / 23.73 MB, free: 4.16 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.434/1.434, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.2349/0.2349, allocations: 44.93 MB / 358.8 MB, free: 6.141 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.002381/0.002381, allocations: 67.89 kB / 0.493 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3953/0.3977, allocations: 65.47 MB / 0.557 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.01492/0.4126, allocations: 10.27 MB / 0.567 GB, free: 13.2 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01078/0.4234, allocations: 3.86 MB / 0.5708 GB, free: 9.328 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002267/0.4256, allocations: 71.69 kB / 0.5708 GB, free: 9.258 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003014/0.4286, allocations: 1.167 MB / 0.572 GB, free: 8.086 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00522/0.4339, allocations: 1.771 MB / 0.5737 GB, free: 6.309 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001786/0.4356, allocations: 0.5613 MB / 0.5742 GB, free: 5.746 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006633/0.4423, allocations: 4.032 MB / 0.5782 GB, free: 1.707 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002903/0.4452, allocations: 1.683 MB / 0.5798 GB, free: 15.99 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002391/0.4476, allocations: 1.171 MB / 0.581 GB, free: 14.82 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003602/0.4512, allocations: 1.787 MB / 0.5827 GB, free: 13.03 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008419/0.452, allocations: 219.9 kB / 0.5829 GB, free: 12.81 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002924/0.4549, allocations: 1.182 MB / 0.5841 GB, free: 11.63 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002285/0.4572, allocations: 1.608 MB / 0.5857 GB, free: 10.02 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002049/0.4593, allocations: 1.307 MB / 0.5869 GB, free: 8.699 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009106/0.4684, allocations: 6.24 MB / 0.593 GB, free: 2.434 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.276e-06/0.4684, allocations: 0 / 0.593 GB, free: 2.434 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.266e-06/0.4684, allocations: 0 / 0.593 GB, free: 2.434 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001567/0.4686, allocations: 0 / 0.593 GB, free: 2.434 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.01084/0.4794, allocations: 4.138 MB / 0.5971 GB, free: 14.24 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.054e-05/0.4795, allocations: 15.97 kB / 0.5971 GB, free: 14.22 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001516/0.481, allocations: 0.6837 MB / 0.5977 GB, free: 13.53 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02249/0.5035, allocations: 6.183 MB / 0.6038 GB, free: 7.332 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009211/0.5127, allocations: 2.59 MB / 0.6063 GB, free: 4.715 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003265/0.513, allocations: 184.5 kB / 0.6065 GB, free: 4.531 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001429/0.5144, allocations: 307.6 kB / 0.6068 GB, free: 4.23 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0235/0.5379, allocations: 10.71 MB / 0.6172 GB, free: 9.051 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001419/0.5381, allocations: 27.8 kB / 0.6173 GB, free: 9.023 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008201/0.5389, allocations: 111.8 kB / 0.6174 GB, free: 8.914 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004982/0.5439, allocations: 2.463 MB / 0.6198 GB, free: 6.449 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02528/0.5692, allocations: 10.14 MB / 0.6297 GB, free: 12.3 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06453/0.6337, allocations: 33.91 MB / 0.6628 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01185/0.6455, allocations: 4.465 MB / 0.6672 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003622/0.6492, allocations: 2.187 MB / 0.6693 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001436/0.6506, allocations: 0.548 MB / 0.6698 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.292e-05/0.6507, allocations: 56.5 kB / 0.6699 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=224): time 8.576e-06/0.6507, allocations: 4 kB / 0.6699 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of matching and sorting (n=231): time 0.03876/0.6894, allocations: 14.78 MB / 0.6843 GB, free: 3.418 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001814/0.6913, allocations: 1.51 MB / 0.6858 GB, free: 1.773 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005245/0.6965, allocations: 2.993 MB / 0.6887 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000598/0.6971, allocations: 57.7 kB / 0.6888 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002835/0.6999, allocations: 2.78 MB / 0.6915 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001538/0.7015, allocations: 0.8913 MB / 0.6924 GB, free: 11 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001837/0.7033, allocations: 1.112 MB / 0.6934 GB, free: 9.875 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.7035, allocations: 301.1 kB / 0.6937 GB, free: 9.578 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004284/0.7077, allocations: 2.63 MB / 0.6963 GB, free: 6.941 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007365/0.7151, allocations: 5.635 MB / 0.7018 GB, free: 15.84 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01282/0.7279, allocations: 8.937 MB / 0.7105 GB, free: 5.422 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001136/0.728, allocations: 32 kB / 0.7106 GB, free: 5.391 MB / 0.545 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.06642/0.7945, allocations: 17.12 MB / 0.7273 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.073e-05/0.7946, allocations: 48 kB / 0.7273 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.3881/1.183, allocations: 10.61 MB / 0.7377 GB, free: 153.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04469/1.227, allocations: 8.639 MB / 0.7461 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003994/1.231, allocations: 1.298 MB / 0.7474 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.024/1.255, allocations: 17.33 MB / 0.7643 GB, free: 135.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003918/1.259, allocations: 419.6 kB / 0.7647 GB, free: 135.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006916/1.26, allocations: 323.2 kB / 0.765 GB, free: 135.1 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.00236/1.262, allocations: 2.015 MB / 0.767 GB, free: 133.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000397/1.263, allocations: 293.5 kB / 0.7673 GB, free: 133 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006814/1.27, allocations: 5.097 MB / 0.7722 GB, free: 127.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005721/1.275, allocations: 4.408 MB / 0.7765 GB, free: 123.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.159e-05/1.275, allocations: 4 kB / 0.7766 GB, free: 123.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.566e-05/1.275, allocations: 7.969 kB / 0.7766 GB, free: 123.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01658/1.292, allocations: 12.35 MB / 0.7886 GB, free: 111.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.607e-05/1.292, allocations: 7.938 kB / 0.7886 GB, free: 111.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001876/1.294, allocations: 463.2 kB / 0.7891 GB, free: 110.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002547/1.296, allocations: 0.9343 MB / 0.79 GB, free: 109.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002082/1.296, allocations: 47.97 kB / 0.79 GB, free: 109.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005366/1.302, allocations: 5.6 MB / 0.7955 GB, free: 103.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007348/1.303, allocations: 1.446 MB / 0.7969 GB, free: 102.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00908/1.312, allocations: 7.747 MB / 0.8045 GB, free: 94.62 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007019/1.312, allocations: 262.6 kB / 0.8047 GB, free: 94.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003219/1.313, allocations: 45.3 kB / 0.8048 GB, free: 94.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001356/1.314, allocations: 192 kB / 0.805 GB, free: 94.29 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000316/1.314, allocations: 152.8 kB / 0.8051 GB, free: 94.14 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001384/1.314, allocations: 75.2 kB / 0.8052 GB, free: 94.07 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001813/1.316, allocations: 1.725 MB / 0.8069 GB, free: 92.34 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.316, allocations: 0 / 0.8069 GB, free: 92.34 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003533/1.32, allocations: 1.078 MB / 0.8079 GB, free: 91.27 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.008707/1.329, allocations: 8.398 MB / 0.8161 GB, free: 82.78 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008528/1.337, allocations: 6.22 MB / 0.8222 GB, free: 76.58 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.239e-05/1.337, allocations: 4 kB / 0.8222 GB, free: 76.57 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002726/1.34, allocations: 2.293 MB / 0.8244 GB, free: 74.26 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001828/1.342, allocations: 372.9 kB / 0.8248 GB, free: 73.89 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1195/1.461, allocations: 56.83 MB / 0.8803 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002778/1.464, allocations: 2.618 MB / 0.8828 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003507/1.467, allocations: 2.06 MB / 0.8848 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001832/1.469, allocations: 1.659 MB / 0.8865 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of SimCode: time 1.172e-06/1.469, allocations: 0 / 0.8865 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1383/1.608, allocations: 71.35 MB / 0.9561 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.54/18.15, allocations: 9.906 kB / 0.9562 GB, free: 15.22 MB / 0.6387 GB " [Timeout remaining time 642] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_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.23363806307316] 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.31168791791424 18.33586403 17.86249535 Calling exit ...