Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001867/0.001867, allocations: 112.7 kB / 20.43 MB, free: 1.453 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.002757/0.002757, allocations: 214.7 kB / 23.74 MB, free: 4.66 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.648/1.648, allocations: 230.5 MB / 257.4 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2615/0.2615, allocations: 46.92 MB / 360.8 MB, free: 4.164 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003351/0.003351, allocations: 79.88 kB / 0.4962 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3644/0.3677, allocations: 66.08 MB / 0.5607 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01279/0.3805, allocations: 9.529 MB / 0.57 GB, free: 10.68 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009066/0.3896, allocations: 3.855 MB / 0.5738 GB, free: 6.816 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002391/0.392, allocations: 67.69 kB / 0.5739 GB, free: 6.75 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00572/0.3977, allocations: 2.317 MB / 0.5761 GB, free: 4.426 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005894/0.4036, allocations: 1.661 MB / 0.5778 GB, free: 2.762 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002006/0.4056, allocations: 0.6979 MB / 0.5784 GB, free: 2.062 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006763/0.4124, allocations: 3.806 MB / 0.5822 GB, free: 14.25 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004247/0.4166, allocations: 2.32 MB / 0.5844 GB, free: 11.87 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002971/0.4196, allocations: 1.312 MB / 0.5857 GB, free: 10.55 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0032/0.4228, allocations: 1.861 MB / 0.5875 GB, free: 8.688 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007279/0.4235, allocations: 288 kB / 0.5878 GB, free: 8.406 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002284/0.4258, allocations: 1.19 MB / 0.589 GB, free: 7.215 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001737/0.4275, allocations: 1.628 MB / 0.5905 GB, free: 5.582 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002132/0.4297, allocations: 1.884 MB / 0.5924 GB, free: 3.688 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008064/0.4377, allocations: 6.304 MB / 0.5985 GB, free: 13.36 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.4377, allocations: 0 / 0.5985 GB, free: 13.36 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.078e-06/0.4377, allocations: 4 kB / 0.5985 GB, free: 13.36 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001911/0.4379, allocations: 0 / 0.5985 GB, free: 13.36 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.012/0.4499, allocations: 4.28 MB / 0.6027 GB, free: 9.02 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.621e-05/0.45, allocations: 8.031 kB / 0.6027 GB, free: 9.012 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001511/0.4515, allocations: 0.6121 MB / 0.6033 GB, free: 8.391 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02115/0.4727, allocations: 3.762 MB / 0.607 GB, free: 4.621 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007116/0.4798, allocations: 2.466 MB / 0.6094 GB, free: 2.098 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002298/0.48, allocations: 197.3 kB / 0.6096 GB, free: 1.902 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009017/0.4809, allocations: 259.8 kB / 0.6099 GB, free: 1.648 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01525/0.4961, allocations: 8.518 MB / 0.6182 GB, free: 8.508 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001141/0.4963, allocations: 39.7 kB / 0.6182 GB, free: 8.469 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003645/0.4966, allocations: 123.9 kB / 0.6183 GB, free: 8.348 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003093/0.4997, allocations: 1.75 MB / 0.62 GB, free: 6.598 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01586/0.5156, allocations: 7.435 MB / 0.6273 GB, free: 15.15 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04791/0.5635, allocations: 33.82 MB / 0.6603 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006974/0.5705, allocations: 2.449 MB / 0.6627 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00281/0.5733, allocations: 1.708 MB / 0.6644 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003285/0.5736, allocations: 100.6 kB / 0.6645 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.729e-05/0.5737, allocations: 47.33 kB / 0.6645 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=135): time 4.268e-06/0.5737, allocations: 3.938 kB / 0.6645 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of matching and sorting (n=156): time 0.0351/0.6088, allocations: 14.25 MB / 0.6784 GB, free: 9.664 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001378/0.6089, allocations: 191.1 kB / 0.6786 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005815/0.6147, allocations: 3.522 MB / 0.6821 GB, free: 5.918 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004817/0.6152, allocations: 49.69 kB / 0.6821 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002622/0.6178, allocations: 2.765 MB / 0.6848 GB, free: 3.07 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009874/0.6188, allocations: 0.628 MB / 0.6854 GB, free: 2.438 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001616/0.6204, allocations: 1.068 MB / 0.6865 GB, free: 1.359 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.6206, allocations: 301.1 kB / 0.6868 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003458/0.6241, allocations: 2.021 MB / 0.6887 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006444/0.6305, allocations: 5.218 MB / 0.6938 GB, free: 8.203 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01104/0.6415, allocations: 7.856 MB / 0.7015 GB, free: 14.76 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001203/0.6417, allocations: 36 kB / 0.7015 GB, free: 14.72 MB / 0.545 GB Notification: Performance of matching and sorting (n=678) (initialization): time 0.01513/0.6568, allocations: 7.799 MB / 0.7091 GB, free: 6.918 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.045e-05/0.6569, allocations: 56 kB / 0.7092 GB, free: 6.863 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001378/0.657, allocations: 112 kB / 0.7093 GB, free: 6.754 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002463/0.6595, allocations: 0.9667 MB / 0.7102 GB, free: 5.785 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003936/0.6634, allocations: 1.189 MB / 0.7114 GB, free: 4.594 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009766/0.6732, allocations: 6.801 MB / 0.7181 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003722/0.6769, allocations: 299.8 kB / 0.7183 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007329/0.6776, allocations: 320 kB / 0.7186 GB, free: 13.07 MB / 0.5606 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.003297/0.6809, allocations: 1.852 MB / 0.7205 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006813/0.6816, allocations: 317.9 kB / 0.7208 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005948/0.6876, allocations: 3.186 MB / 0.7239 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.512e-05/0.6876, allocations: 23.98 kB / 0.7239 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.968e-06/0.6876, allocations: 8 kB / 0.7239 GB, free: 7.656 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.978e-05/0.6876, allocations: 7.969 kB / 0.7239 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3077/0.9953, allocations: 7.774 MB / 0.7315 GB, free: 152 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.913e-05/0.9954, allocations: 1.031 kB / 0.7315 GB, free: 152 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001737/0.9971, allocations: 224 kB / 0.7317 GB, free: 152 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003154/1, allocations: 0.8123 MB / 0.7325 GB, free: 152 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000497/1.001, allocations: 27.5 kB / 0.7325 GB, free: 152 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0089/1.01, allocations: 6.385 MB / 0.7388 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/1.01, allocations: 1.812 kB / 0.7388 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007794/1.017, allocations: 5.823 MB / 0.7445 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001006/1.018, allocations: 301.7 kB / 0.7447 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006866/1.019, allocations: 23.22 kB / 0.7448 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001441/1.021, allocations: 100.1 kB / 0.7449 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003137/1.021, allocations: 93.38 kB / 0.7449 GB, free: 147 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001428/1.021, allocations: 38.81 kB / 0.745 GB, free: 147 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003609/1.025, allocations: 2.205 MB / 0.7471 GB, free: 146.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.8e-07/1.025, allocations: 2.906 kB / 0.7471 GB, free: 146.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005154/1.03, allocations: 0.8585 MB / 0.748 GB, free: 146.2 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.008125/1.038, allocations: 6.458 MB / 0.7543 GB, free: 142.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006995/1.045, allocations: 4.693 MB / 0.7589 GB, free: 138.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.102e-06/1.045, allocations: 2.406 kB / 0.7589 GB, free: 138.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00264/1.048, allocations: 1.658 MB / 0.7605 GB, free: 137.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002685/1.05, allocations: 395.9 kB / 0.7609 GB, free: 136.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05468/1.105, allocations: 40.89 MB / 0.8008 GB, free: 91.27 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002736/1.108, allocations: 2.885 MB / 0.8036 GB, free: 88.35 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00377/1.111, allocations: 1.713 MB / 0.8053 GB, free: 86.64 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002995/1.114, allocations: 1.55 MB / 0.8068 GB, free: 85.09 MB / 0.5606 GB Notification: Performance of SimCode: time 1.603e-06/1.114, allocations: 0 / 0.8068 GB, free: 85.09 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.145/1.259, allocations: 67.38 MB / 0.8726 GB, free: 18.03 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.84/24.1, allocations: 7.797 kB / 0.8726 GB, free: 18.02 MB / 0.5606 GB " [Timeout remaining time 636] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/CheckConstaintTorqueUniversalJoint/CheckConstaintTorqueUniversalJoint.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 27.57731191199855]