Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001251/0.001251, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.00139/0.00139, allocations: 206.1 kB / 23.73 MB, free: 4.379 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.428/1.428, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2384/0.2384, allocations: 46.95 MB / 360.9 MB, free: 4.043 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+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_1_0_ModelicaTest_MultiBody_Joints_Spherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Spherical,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Spherical",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 71.89 kB / 0.4961 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3688/0.3708, allocations: 66.04 MB / 0.5606 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.01255/0.3833, allocations: 10.26 MB / 0.5706 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008791/0.3921, allocations: 3.86 MB / 0.5744 GB, free: 6.199 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002008/0.3941, allocations: 67.75 kB / 0.5745 GB, free: 6.133 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002676/0.3968, allocations: 1.171 MB / 0.5756 GB, free: 4.957 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004673/0.4015, allocations: 1.783 MB / 0.5773 GB, free: 3.168 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001526/0.403, allocations: 0.5574 MB / 0.5779 GB, free: 2.609 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005738/0.4087, allocations: 4.032 MB / 0.5818 GB, free: 14.57 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002537/0.4113, allocations: 1.679 MB / 0.5835 GB, free: 12.86 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002139/0.4134, allocations: 1.183 MB / 0.5846 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002898/0.4163, allocations: 1.857 MB / 0.5864 GB, free: 9.812 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005966/0.4169, allocations: 220 kB / 0.5866 GB, free: 9.598 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002427/0.4193, allocations: 1.197 MB / 0.5878 GB, free: 8.398 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00178/0.4211, allocations: 1.604 MB / 0.5894 GB, free: 6.789 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001865/0.423, allocations: 1.303 MB / 0.5906 GB, free: 5.477 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008947/0.4319, allocations: 6.24 MB / 0.5967 GB, free: 15.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.4319, allocations: 0 / 0.5967 GB, free: 15.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.4319, allocations: 3.938 kB / 0.5967 GB, free: 15.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002352/0.4322, allocations: 0 / 0.5967 GB, free: 15.21 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.009042/0.4412, allocations: 4.142 MB / 0.6008 GB, free: 11.01 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.4413, allocations: 12.03 kB / 0.6008 GB, free: 11 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001142/0.4424, allocations: 0.6876 MB / 0.6015 GB, free: 10.3 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01995/0.4624, allocations: 6.175 MB / 0.6075 GB, free: 4.109 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007488/0.4698, allocations: 2.586 MB / 0.61 GB, free: 1.496 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002316/0.4701, allocations: 184.5 kB / 0.6102 GB, free: 1.312 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001492/0.4716, allocations: 307.7 kB / 0.6105 GB, free: 1.012 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02063/0.4922, allocations: 10.71 MB / 0.621 GB, free: 5.832 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.783e-05/0.4923, allocations: 23.81 kB / 0.621 GB, free: 5.809 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005102/0.4928, allocations: 115.8 kB / 0.6211 GB, free: 5.695 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004295/0.4971, allocations: 2.467 MB / 0.6235 GB, free: 3.227 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02263/0.5197, allocations: 10.13 MB / 0.6334 GB, free: 9.078 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06048/0.5802, allocations: 33.9 MB / 0.6665 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01155/0.5918, allocations: 4.462 MB / 0.6709 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003537/0.5953, allocations: 2.187 MB / 0.673 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001323/0.5966, allocations: 0.5518 MB / 0.6735 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.065e-05/0.5967, allocations: 64.38 kB / 0.6736 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=224): time 6.523e-06/0.5967, allocations: 0 / 0.6736 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of matching and sorting (n=231): time 0.03675/0.6334, allocations: 14.78 MB / 0.688 GB, free: 196 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001472/0.6349, allocations: 1.507 MB / 0.6895 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004724/0.6396, allocations: 2.993 MB / 0.6924 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0008833/0.6405, allocations: 53.7 kB / 0.6925 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003289/0.6438, allocations: 2.788 MB / 0.6952 GB, free: 8.668 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001708/0.6455, allocations: 0.8913 MB / 0.6961 GB, free: 7.77 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002031/0.6476, allocations: 1.104 MB / 0.6971 GB, free: 6.656 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.6477, allocations: 305.1 kB / 0.6974 GB, free: 6.355 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00422/0.6519, allocations: 2.63 MB / 0.7 GB, free: 3.719 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008888/0.6608, allocations: 5.631 MB / 0.7055 GB, free: 12.62 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01701/0.6778, allocations: 8.941 MB / 0.7142 GB, free: 2.199 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001052/0.6779, allocations: 28 kB / 0.7143 GB, free: 2.172 MB / 0.545 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.06489/0.7428, allocations: 17.12 MB / 0.731 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.525e-05/0.7429, allocations: 52 kB / 0.731 GB, free: 0.9727 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.3301/1.073, allocations: 10.6 MB / 0.7414 GB, free: 152.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04304/1.116, allocations: 8.638 MB / 0.7498 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004292/1.12, allocations: 1.311 MB / 0.7511 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02391/1.144, allocations: 17.32 MB / 0.768 GB, free: 131 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004202/1.148, allocations: 419.1 kB / 0.7684 GB, free: 130.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009521/1.149, allocations: 320 kB / 0.7687 GB, free: 130.2 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.002946/1.152, allocations: 2.026 MB / 0.7707 GB, free: 128.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004653/1.153, allocations: 294.8 kB / 0.771 GB, free: 128.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006956/1.16, allocations: 5.096 MB / 0.776 GB, free: 123 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005983/1.166, allocations: 4.397 MB / 0.7802 GB, free: 118.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.889e-06/1.166, allocations: 4 kB / 0.7803 GB, free: 118.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.653e-05/1.166, allocations: 7.969 kB / 0.7803 GB, free: 118.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01812/1.184, allocations: 12.36 MB / 0.7923 GB, free: 106.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.938e-05/1.184, allocations: 8 kB / 0.7923 GB, free: 106.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001971/1.186, allocations: 459.2 kB / 0.7928 GB, free: 105.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002455/1.188, allocations: 0.938 MB / 0.7937 GB, free: 104.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000286/1.189, allocations: 53.56 kB / 0.7937 GB, free: 104.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005117/1.194, allocations: 5.599 MB / 0.7992 GB, free: 98.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000705/1.194, allocations: 1.442 MB / 0.8006 GB, free: 97.41 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009161/1.204, allocations: 7.742 MB / 0.8082 GB, free: 89.71 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008223/1.204, allocations: 266.8 kB / 0.8084 GB, free: 89.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004249/1.205, allocations: 43.98 kB / 0.8085 GB, free: 89.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001353/1.206, allocations: 191.7 kB / 0.8087 GB, free: 89.38 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003292/1.207, allocations: 148.8 kB / 0.8088 GB, free: 89.24 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001461/1.207, allocations: 79.56 kB / 0.8089 GB, free: 89.17 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001836/1.208, allocations: 1.724 MB / 0.8106 GB, free: 87.44 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.208, allocations: 4 kB / 0.8106 GB, free: 87.44 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003753/1.212, allocations: 1.074 MB / 0.8116 GB, free: 86.37 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.008836/1.221, allocations: 8.407 MB / 0.8198 GB, free: 77.87 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008482/1.23, allocations: 6.212 MB / 0.8259 GB, free: 71.67 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-05/1.23, allocations: 448 / 0.8259 GB, free: 71.67 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002802/1.232, allocations: 2.296 MB / 0.8281 GB, free: 69.35 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002104/1.234, allocations: 384.6 kB / 0.8285 GB, free: 68.98 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1204/1.355, allocations: 56.83 MB / 0.884 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002772/1.358, allocations: 2.614 MB / 0.8866 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003679/1.361, allocations: 2.06 MB / 0.8886 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002264/1.364, allocations: 1.663 MB / 0.8902 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of SimCode: time 2.535e-06/1.364, allocations: 0 / 0.8902 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1526/1.516, allocations: 73.83 MB / 0.9623 GB, free: 7.824 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.22/17.74, allocations: 2.812 kB / 0.9623 GB, free: 7.824 MB / 0.6387 GB " [Timeout remaining time 642] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.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_1_0_ModelicaTest_MultiBody_Joints_Spherical.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 20.791380541981198] 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]'] 17.893912576022558 17.909667028 17.47438449 Calling exit ...