Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Universal.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.001826/0.001826, allocations: 121.4 kB / 18.51 MB, free: 4.539 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.002394/0.002394, allocations: 213.6 kB / 21.46 MB, free: 1.59 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.5 MB / 254.7 MB, free: 15.16 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.2646/0.2646, allocations: 46.92 MB / 357.7 MB, free: 10.21 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.Universal,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Universal",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.003463/0.003463, allocations: 79.86 kB / 0.4917 GB, free: 7.727 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/0.1785, allocations: 66.04 MB / 0.5562 GB, free: 5.562 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01668/0.1951, allocations: 13.52 MB / 0.5694 GB, free: 7.973 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01008/0.2052, allocations: 4.226 MB / 0.5735 GB, free: 3.73 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002372/0.2076, allocations: 83.69 kB / 0.5736 GB, free: 3.648 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004773/0.2124, allocations: 1.989 MB / 0.5755 GB, free: 1.652 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006197/0.2186, allocations: 1.934 MB / 0.5774 GB, free: 15.71 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001784/0.2203, allocations: 0.5576 MB / 0.578 GB, free: 15.15 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.006789/0.2271, allocations: 4.05 MB / 0.5819 GB, free: 11.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004507/0.2316, allocations: 2.475 MB / 0.5843 GB, free: 8.57 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003108/0.2347, allocations: 1.475 MB / 0.5858 GB, free: 7.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004055/0.2388, allocations: 2.2 MB / 0.5879 GB, free: 4.883 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001218/0.24, allocations: 304 kB / 0.5882 GB, free: 4.586 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002893/0.2429, allocations: 1.038 MB / 0.5892 GB, free: 3.547 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00278/0.2457, allocations: 1.893 MB / 0.5911 GB, free: 1.648 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.3135/0.5592, allocations: 2.234 MB / 0.5932 GB, free: 10.11 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0128/0.572, allocations: 7.318 MB / 0.6004 GB, free: 9.434 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.572, allocations: 1.375 kB / 0.6004 GB, free: 9.434 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.255e-06/0.572, allocations: 0.8125 kB / 0.6004 GB, free: 9.434 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003581/0.5724, allocations: 0 / 0.6004 GB, free: 9.434 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: 1760 * Number of variables: 1760 Notification: Performance of Generate backend data structure: time 0.01825/0.5906, allocations: 5.015 MB / 0.6053 GB, free: 7.344 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.225e-05/0.5907, allocations: 10.28 kB / 0.6053 GB, free: 7.344 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002946/0.5936, allocations: 0.8192 MB / 0.6061 GB, free: 7.266 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01232/0.606, allocations: 3.179 MB / 0.6092 GB, free: 6.934 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006696/0.6126, allocations: 2.411 MB / 0.6116 GB, free: 6.375 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003203/0.613, allocations: 235.7 kB / 0.6118 GB, free: 6.367 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002002/0.615, allocations: 310.4 kB / 0.6121 GB, free: 6.363 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02492/0.6399, allocations: 12.09 MB / 0.6239 GB, free: 2.191 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000147/0.64, allocations: 34.3 kB / 0.6239 GB, free: 2.188 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007026/0.6407, allocations: 143.5 kB / 0.6241 GB, free: 2.133 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004563/0.6453, allocations: 2.832 MB / 0.6268 GB, free: 1.035 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02397/0.6693, allocations: 11.36 MB / 0.6379 GB, free: 10.08 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07504/0.7443, allocations: 41.12 MB / 0.6781 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01274/0.7571, allocations: 5.819 MB / 0.6838 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004599/0.7617, allocations: 2.754 MB / 0.6864 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002045/0.7637, allocations: 1.889 MB / 0.6883 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.983e-05/0.7637, allocations: 52.56 kB / 0.6883 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=262): time 5.982e-06/0.7638, allocations: 0 / 0.6883 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of matching and sorting (n=283): time 0.05432/0.8181, allocations: 20.19 MB / 0.7081 GB, free: 1.262 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.565e-05/0.8182, allocations: 77.41 kB / 0.7081 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005403/0.8236, allocations: 3.04 MB / 0.7111 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007841/0.8243, allocations: 65.7 kB / 0.7112 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003071/0.8274, allocations: 3.105 MB / 0.7142 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002027/0.8294, allocations: 1.068 MB / 0.7152 GB, free: 9.898 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002126/0.8316, allocations: 1.2 MB / 0.7164 GB, free: 8.691 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.8317, allocations: 306.8 kB / 0.7167 GB, free: 8.395 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00507/0.8368, allocations: 2.842 MB / 0.7195 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007696/0.8445, allocations: 6.025 MB / 0.7254 GB, free: 14.03 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0144/0.8589, allocations: 9.653 MB / 0.7348 GB, free: 3.285 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001275/0.859, allocations: 32 kB / 0.7348 GB, free: 3.254 MB / 0.545 GB Notification: Performance of matching and sorting (n=788) (initialization): time 0.02402/0.883, allocations: 10.02 MB / 0.7446 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001589/0.8832, allocations: 52 kB / 0.7447 GB, free: 9.508 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002563/0.8834, allocations: 119.9 kB / 0.7448 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004157/0.8876, allocations: 1.363 MB / 0.7461 GB, free: 8.023 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005774/0.8934, allocations: 1.365 MB / 0.7474 GB, free: 6.656 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01196/0.9053, allocations: 7.811 MB / 0.7551 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004866/0.9102, allocations: 370.1 kB / 0.7554 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001386/0.9116, allocations: 340 kB / 0.7557 GB, free: 14.02 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 501 * Number of states: 0 () * Number of discrete variables: 32 (axis1.headAtOrigin,axis2.headAtOrigin,axis1.color[3],axis1.color[2],axis1.color[1],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],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],axis2.color[3],axis2.color[2],axis2.color[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 (718): * Single equations (assignments): 711 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,20,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00613/0.9177, allocations: 2.293 MB / 0.758 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001002/0.9187, allocations: 325.8 kB / 0.7583 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01373/0.9324, allocations: 6.606 MB / 0.7647 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.293e-05/0.9325, allocations: 44 kB / 0.7648 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-05/0.9326, allocations: 11.92 kB / 0.7648 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.102e-05/0.9326, allocations: 11.97 kB / 0.7648 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03091/0.9635, allocations: 13.89 MB / 0.7784 GB, free: 6.648 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-05/0.9635, allocations: 8 kB / 0.7784 GB, free: 6.641 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002367/0.9659, allocations: 451.3 kB / 0.7788 GB, free: 6.199 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003667/0.9696, allocations: 1.207 MB / 0.78 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004793/0.97, allocations: 55.92 kB / 0.78 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01047/0.9805, allocations: 7.016 MB / 0.7869 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.079e-05/0.9805, allocations: 15.94 kB / 0.7869 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01875/0.9993, allocations: 9.874 MB / 0.7965 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001258/1.001, allocations: 367 kB / 0.7969 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001237/1.002, allocations: 51.92 kB / 0.7969 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002456/1.004, allocations: 197.9 kB / 0.7971 GB, free: 3.105 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007536/1.005, allocations: 161.6 kB / 0.7973 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004117/1.005, allocations: 76 kB / 0.7974 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00434/1.01, allocations: 1.874 MB / 0.7992 GB, free: 1 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/1.01, allocations: 0 / 0.7992 GB, free: 1 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.007283/1.017, allocations: 1.104 MB / 0.8003 GB, free: 15.89 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * 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 (218): * Single equations (assignments): 211 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,16,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01912/1.036, allocations: 10.54 MB / 0.8106 GB, free: 5.199 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01267/1.049, allocations: 6.674 MB / 0.8171 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.289e-05/1.049, allocations: 4 kB / 0.8171 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00516/1.054, allocations: 2.651 MB / 0.8197 GB, free: 11.87 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003703/1.058, allocations: 415.6 kB / 0.8201 GB, free: 11.47 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4236/1.481, allocations: 48.97 MB / 0.8679 GB, free: 204.5 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004226/1.486, allocations: 3.58 MB / 0.8714 GB, free: 203 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.004362/1.49, allocations: 2.198 MB / 0.8735 GB, free: 202.1 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00327/1.493, allocations: 2.07 MB / 0.8756 GB, free: 200.2 MB / 0.6387 GB Notification: Performance of SimCode: time 1.062e-06/1.493, allocations: 0 / 0.8756 GB, free: 200.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1065/1.6, allocations: 70.56 MB / 0.9445 GB, free: 130 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.98/26.58, allocations: 10.75 kB / 0.9445 GB, free: 130 MB / 0.6387 GB " [Timeout remaining time 633] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Universal.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Universal_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_Universal.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 30.088243881240487] Failed to read output from testmodel.py, exit status != 0: ['time', 'universal.phi_a', 'universal.phi_b', 'universal.w_a', 'universal.w_b'] 26.707034434657544 26.727634455 26.151549539 Calling exit ...