Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.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.001842/0.001842, allocations: 120 kB / 18.5 MB, free: 4.52 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.00177/0.00177, allocations: 209.7 kB / 21.46 MB, free: 1.562 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.698/1.698, allocations: 230.4 MB / 254.7 MB, free: 15.21 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.2919/0.2919, allocations: 46.92 MB / 357.7 MB, free: 10.23 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.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",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.002341/0.002341, allocations: 83.88 kB / 0.4917 GB, free: 7.734 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1445, allocations: 66.04 MB / 0.5562 GB, free: 5.566 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01794/0.1625, allocations: 9.501 MB / 0.5654 GB, free: 12.02 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01102/0.1735, allocations: 3.831 MB / 0.5692 GB, free: 8.168 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002137/0.1756, allocations: 63.69 kB / 0.5692 GB, free: 8.105 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006612/0.1823, allocations: 2.313 MB / 0.5715 GB, free: 5.785 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005848/0.1881, allocations: 1.645 MB / 0.5731 GB, free: 4.137 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001897/0.19, allocations: 0.694 MB / 0.5738 GB, free: 3.441 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006639/0.1966, allocations: 3.807 MB / 0.5775 GB, free: 15.62 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003301/0.1999, allocations: 2.442 MB / 0.5799 GB, free: 13.13 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002391/0.2023, allocations: 1.308 MB / 0.5812 GB, free: 11.82 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002863/0.2052, allocations: 1.857 MB / 0.583 GB, free: 9.957 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007019/0.2059, allocations: 280 kB / 0.5833 GB, free: 9.684 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002323/0.2082, allocations: 1.201 MB / 0.5844 GB, free: 8.48 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001961/0.2102, allocations: 1.624 MB / 0.586 GB, free: 6.852 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00246/0.2126, allocations: 1.887 MB / 0.5879 GB, free: 4.953 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3843/0.5969, allocations: 6.3 MB / 0.594 GB, free: 14.06 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.204e-05/0.5969, allocations: 0 / 0.594 GB, free: 14.06 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.5969, allocations: 0 / 0.594 GB, free: 14.06 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003227/0.5972, allocations: 2.469 kB / 0.594 GB, free: 14.06 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: 1276 * Number of variables: 1276 Notification: Performance of Generate backend data structure: time 0.01714/0.6144, allocations: 4.344 MB / 0.5983 GB, free: 12.29 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.598e-05/0.6144, allocations: 12.81 kB / 0.5983 GB, free: 12.29 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002318/0.6168, allocations: 0.6118 MB / 0.5989 GB, free: 12.23 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02462/0.6414, allocations: 3.763 MB / 0.6025 GB, free: 11.93 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007278/0.6487, allocations: 2.529 MB / 0.605 GB, free: 11.38 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003108/0.649, allocations: 198.2 kB / 0.6052 GB, free: 11.37 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00162/0.6506, allocations: 258 kB / 0.6054 GB, free: 11.36 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01693/0.6675, allocations: 8.52 MB / 0.6138 GB, free: 8.938 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001382/0.6677, allocations: 39.38 kB / 0.6138 GB, free: 8.934 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000432/0.6681, allocations: 127.6 kB / 0.6139 GB, free: 8.879 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0032/0.6713, allocations: 1.744 MB / 0.6156 GB, free: 8.586 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01427/0.6856, allocations: 7.445 MB / 0.6229 GB, free: 6.371 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04463/0.7302, allocations: 33.89 MB / 0.656 GB, free: 7.492 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007376/0.7376, allocations: 2.909 MB / 0.6588 GB, free: 4.445 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002623/0.7402, allocations: 1.699 MB / 0.6605 GB, free: 2.742 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004542/0.7406, allocations: 328.1 kB / 0.6608 GB, free: 2.375 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.224e-05/0.7407, allocations: 54.97 kB / 0.6609 GB, free: 2.312 MB / 478.1 MB Notification: Performance of pre-optimization done (n=135): time 4.859e-06/0.7407, allocations: 0 / 0.6609 GB, free: 2.312 MB / 478.1 MB Notification: Performance of matching and sorting (n=156): time 0.0406/0.7813, allocations: 14.54 MB / 0.6751 GB, free: 3.703 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001509/0.7814, allocations: 171.2 kB / 0.6752 GB, free: 3.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006009/0.7875, allocations: 3.526 MB / 0.6787 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004923/0.7879, allocations: 45.7 kB / 0.6787 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002525/0.7905, allocations: 2.777 MB / 0.6814 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001063/0.7915, allocations: 0.6341 MB / 0.682 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001675/0.7932, allocations: 1.071 MB / 0.6831 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.7934, allocations: 305.1 kB / 0.6834 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003353/0.7967, allocations: 2.009 MB / 0.6853 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006359/0.8031, allocations: 5.215 MB / 0.6904 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01068/0.8137, allocations: 7.865 MB / 0.6981 GB, free: 9.395 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.47e-05/0.8138, allocations: 32 kB / 0.6981 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of matching and sorting (n=678) (initialization): time 0.01687/0.8307, allocations: 7.792 MB / 0.7058 GB, free: 1.766 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001431/0.8309, allocations: 55.94 kB / 0.7058 GB, free: 1.711 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001944/0.831, allocations: 112 kB / 0.7059 GB, free: 1.602 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002727/0.8338, allocations: 0.9612 MB / 0.7069 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00455/0.8383, allocations: 1.189 MB / 0.708 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01039/0.8487, allocations: 6.916 MB / 0.7148 GB, free: 8.395 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004213/0.8529, allocations: 295.7 kB / 0.715 GB, free: 8.105 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001055/0.854, allocations: 328 kB / 0.7154 GB, free: 7.785 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 516 * Number of states: 0 () * Number of discrete variables: 26 (torque.arrow.twoHeadedArrow,torque.arrow.headAtOrigin,universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],torque.color[3],torque.color[2],torque.color[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (630): * Single equations (assignments): 626 * Array equations: 3 * 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 {(2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004031/0.858, allocations: 1.844 MB / 0.7172 GB, free: 5.93 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009889/0.859, allocations: 321.8 kB / 0.7175 GB, free: 5.613 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007193/0.8662, allocations: 3.19 MB / 0.7206 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.053e-05/0.8662, allocations: 20 kB / 0.7206 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.81e-05/0.8663, allocations: 4 kB / 0.7206 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.281e-05/0.8663, allocations: 3.984 kB / 0.7206 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01691/0.8832, allocations: 7.819 MB / 0.7282 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-05/0.8832, allocations: 0 / 0.7282 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001209/0.8844, allocations: 223.7 kB / 0.7285 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002353/0.8868, allocations: 0.8174 MB / 0.7293 GB, free: 9.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001912/0.887, allocations: 24 kB / 0.7293 GB, free: 9.477 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01012/0.8971, allocations: 6.505 MB / 0.7356 GB, free: 2.84 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.8971, allocations: 2.25 kB / 0.7356 GB, free: 2.84 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01041/0.9075, allocations: 5.826 MB / 0.7413 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001108/0.9086, allocations: 374.8 kB / 0.7417 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007177/0.9093, allocations: 27.59 kB / 0.7417 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00167/0.911, allocations: 95.86 kB / 0.7418 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003507/0.9113, allocations: 88.81 kB / 0.7419 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000145/0.9115, allocations: 40 kB / 0.7419 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00458/0.9161, allocations: 2.211 MB / 0.7441 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.9161, allocations: 0 / 0.7441 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005792/0.9219, allocations: 0.8632 MB / 0.7449 GB, free: 9.305 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (115): * Single equations (assignments): 111 * Array equations: 3 * 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,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01184/0.9337, allocations: 6.459 MB / 0.7512 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008843/0.9425, allocations: 4.695 MB / 0.7558 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.9425, allocations: 0 / 0.7558 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003477/0.946, allocations: 1.658 MB / 0.7574 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003123/0.9491, allocations: 390.2 kB / 0.7578 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06937/1.019, allocations: 40.81 MB / 0.7977 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003915/1.022, allocations: 2.884 MB / 0.8005 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.004208/1.027, allocations: 1.71 MB / 0.8021 GB, free: 9.836 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002707/1.029, allocations: 1.561 MB / 0.8037 GB, free: 8.273 MB / 0.6231 GB Notification: Performance of SimCode: time 1.433e-06/1.029, allocations: 0 / 0.8037 GB, free: 8.273 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5604/1.59, allocations: 62.98 MB / 0.8652 GB, free: 231.2 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.78/22.37, allocations: 9.016 kB / 0.8652 GB, free: 231.2 MB / 0.6544 GB " [Timeout remaining time 638] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 25.855978965293616] Failed to read output from testmodel.py, exit status != 0: ['time', 'universal.phi_a', 'universal.phi_b', 'universal.w_a', 'universal.w_b'] 22.494115989655256 22.513418604 21.912478898 Calling exit ...