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.001863/0.001863, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002167/0.002167, allocations: 212.6 kB / 24.54 MB, free: 4.02 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.503/1.503, allocations: 230.5 MB / 258.2 MB, free: 8.023 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.2289/0.2289, allocations: 46.93 MB / 361.6 MB, free: 4.203 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.00235/0.00235, allocations: 83.88 kB / 0.497 GB, free: 7.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3576/0.36, allocations: 66.08 MB / 0.5615 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01606/0.376, allocations: 13.54 MB / 0.5747 GB, free: 6.691 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009446/0.3855, allocations: 4.25 MB / 0.5789 GB, free: 2.43 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002414/0.3879, allocations: 79.69 kB / 0.579 GB, free: 2.352 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004491/0.3924, allocations: 2.001 MB / 0.5809 GB, free: 352 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005304/0.3977, allocations: 1.957 MB / 0.5828 GB, free: 14.38 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001677/0.3994, allocations: 0.5497 MB / 0.5834 GB, free: 13.83 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006411/0.4058, allocations: 4.05 MB / 0.5873 GB, free: 9.773 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003887/0.4097, allocations: 2.427 MB / 0.5897 GB, free: 7.289 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003018/0.4127, allocations: 1.464 MB / 0.5911 GB, free: 5.82 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003912/0.4166, allocations: 2.204 MB / 0.5933 GB, free: 3.609 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001109/0.4177, allocations: 308 kB / 0.5936 GB, free: 3.309 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002813/0.4205, allocations: 1.049 MB / 0.5946 GB, free: 2.258 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00262/0.4231, allocations: 1.893 MB / 0.5964 GB, free: 368 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003675/0.4268, allocations: 2.232 MB / 0.5986 GB, free: 14.11 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01019/0.437, allocations: 7.325 MB / 0.6058 GB, free: 6.758 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.538e-06/0.437, allocations: 4 kB / 0.6058 GB, free: 6.754 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.437, allocations: 0 / 0.6058 GB, free: 6.754 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002746/0.4373, allocations: 0 / 0.6058 GB, free: 6.754 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.01301/0.4503, allocations: 4.949 MB / 0.6106 GB, free: 1.746 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.044e-05/0.4504, allocations: 8.031 kB / 0.6106 GB, free: 1.738 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002427/0.4528, allocations: 0.8157 MB / 0.6114 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01184/0.4646, allocations: 3.176 MB / 0.6145 GB, free: 13.73 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005751/0.4704, allocations: 2.332 MB / 0.6168 GB, free: 11.36 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002914/0.4707, allocations: 250.2 kB / 0.617 GB, free: 11.12 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001333/0.472, allocations: 311.7 kB / 0.6173 GB, free: 10.81 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02369/0.4957, allocations: 12.09 MB / 0.6291 GB, free: 14.18 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001811/0.4959, allocations: 27.77 kB / 0.6292 GB, free: 14.16 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001168/0.497, allocations: 143.8 kB / 0.6293 GB, free: 14.02 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005008/0.502, allocations: 2.843 MB / 0.6321 GB, free: 11.17 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02419/0.5262, allocations: 11.36 MB / 0.6432 GB, free: 15.79 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06822/0.5944, allocations: 40.97 MB / 0.6832 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01196/0.6064, allocations: 4.921 MB / 0.688 GB, free: 0.8789 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00441/0.6108, allocations: 2.763 MB / 0.6907 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00135/0.6122, allocations: 0.5594 MB / 0.6912 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.963e-05/0.6122, allocations: 60.5 kB / 0.6913 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=262): time 6.993e-06/0.6122, allocations: 4 kB / 0.6913 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of matching and sorting (n=283): time 0.05296/0.6652, allocations: 19.97 MB / 0.7108 GB, free: 9.391 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.431e-05/0.6653, allocations: 81.34 kB / 0.7109 GB, free: 9.301 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005064/0.6703, allocations: 3.036 MB / 0.7138 GB, free: 6.246 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0005968/0.6709, allocations: 61.7 kB / 0.7139 GB, free: 6.18 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002576/0.6735, allocations: 3.104 MB / 0.7169 GB, free: 3.047 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001576/0.6751, allocations: 1.081 MB / 0.718 GB, free: 1.957 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002532/0.6776, allocations: 1.195 MB / 0.7191 GB, free: 0.75 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.6778, allocations: 301.1 kB / 0.7194 GB, free: 464 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005291/0.6831, allocations: 2.85 MB / 0.7222 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008374/0.6915, allocations: 6.022 MB / 0.7281 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2651/0.9566, allocations: 9.659 MB / 0.7375 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001102/0.9567, allocations: 32.09 kB / 0.7375 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=788) (initialization): time 0.01764/0.9743, allocations: 10.03 MB / 0.7473 GB, free: 143.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.891e-05/0.9744, allocations: 50.94 kB / 0.7474 GB, free: 143.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001814/0.9746, allocations: 110.7 kB / 0.7475 GB, free: 143.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003578/0.9782, allocations: 1.365 MB / 0.7488 GB, free: 143.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004941/0.9831, allocations: 1.363 MB / 0.7502 GB, free: 143 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009996/0.9931, allocations: 7.703 MB / 0.7577 GB, free: 139.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004605/0.9977, allocations: 363 kB / 0.758 GB, free: 138.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009702/0.9987, allocations: 346.2 kB / 0.7584 GB, free: 138.5 MB / 0.5606 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.003594/1.002, allocations: 2.295 MB / 0.7606 GB, free: 136.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000596/1.003, allocations: 322 kB / 0.7609 GB, free: 136.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009391/1.012, allocations: 6.607 MB / 0.7674 GB, free: 130.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-05/1.012, allocations: 59.75 kB / 0.7674 GB, free: 130.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/1.012, allocations: 8 kB / 0.7674 GB, free: 130.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.91e-05/1.012, allocations: 11.95 kB / 0.7674 GB, free: 130.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01897/1.031, allocations: 13.83 MB / 0.7809 GB, free: 116.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.442e-05/1.031, allocations: 4 kB / 0.7809 GB, free: 116.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002017/1.033, allocations: 459.3 kB / 0.7814 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002916/1.036, allocations: 1.215 MB / 0.7826 GB, free: 114.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000494/1.037, allocations: 59.45 kB / 0.7826 GB, free: 114.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007122/1.044, allocations: 6.907 MB / 0.7894 GB, free: 107.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.077e-06/1.044, allocations: 15.97 kB / 0.7894 GB, free: 107.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01281/1.057, allocations: 9.867 MB / 0.799 GB, free: 97.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007563/1.057, allocations: 285.9 kB / 0.7993 GB, free: 97.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007954/1.058, allocations: 55.83 kB / 0.7993 GB, free: 97.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001879/1.06, allocations: 199.6 kB / 0.7995 GB, free: 97.17 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005897/1.061, allocations: 169.5 kB / 0.7997 GB, free: 97 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002264/1.061, allocations: 77.84 kB / 0.7998 GB, free: 96.93 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002713/1.064, allocations: 1.871 MB / 0.8016 GB, free: 95.06 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.7e-07/1.064, allocations: 0 / 0.8016 GB, free: 95.06 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004956/1.069, allocations: 1.11 MB / 0.8027 GB, free: 93.96 MB / 0.5606 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.01361/1.082, allocations: 10.52 MB / 0.813 GB, free: 83.27 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009949/1.092, allocations: 6.676 MB / 0.8195 GB, free: 76.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/1.092, allocations: 4.062 kB / 0.8195 GB, free: 76.59 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003991/1.096, allocations: 2.66 MB / 0.8221 GB, free: 73.92 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002848/1.099, allocations: 432.6 kB / 0.8225 GB, free: 73.51 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06617/1.165, allocations: 49.09 MB / 0.8704 GB, free: 19.43 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005842/1.171, allocations: 3.582 MB / 0.8739 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.006337/1.177, allocations: 2.196 MB / 0.8761 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003279/1.181, allocations: 2.069 MB / 0.8781 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of SimCode: time 1.492e-06/1.181, allocations: 0 / 0.8781 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1474/1.328, allocations: 75.59 MB / 0.9519 GB, free: 232 kB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.91/24.24, allocations: 3.938 kB / 0.9519 GB, free: 228 kB / 0.6231 GB " [Timeout remaining time 636] (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: 27.2768386262469] Failed to read output from testmodel.py, exit status != 0: ['time', 'universal.phi_a', 'universal.phi_b', 'universal.w_a', 'universal.w_b'] 24.370321918744594 24.390586592000002 23.949284465 Calling exit ...