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.001942/0.001942, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001686/0.001686, allocations: 219.8 kB / 24.53 MB, free: 4.008 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.531/1.531, allocations: 230.5 MB / 258.2 MB, free: 8.012 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.2327/0.2327, allocations: 46.92 MB / 361.6 MB, free: 4.188 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002309/0.002309, allocations: 75.89 kB / 0.497 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4152/0.4175, allocations: 66.08 MB / 0.5615 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01367/0.4311, allocations: 9.53 MB / 0.5708 GB, free: 10.71 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01075/0.4419, allocations: 3.855 MB / 0.5746 GB, free: 6.848 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002423/0.4443, allocations: 59.75 kB / 0.5746 GB, free: 6.789 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005616/0.4499, allocations: 2.32 MB / 0.5769 GB, free: 4.461 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005772/0.4557, allocations: 1.654 MB / 0.5785 GB, free: 2.801 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002324/0.458, allocations: 0.6979 MB / 0.5792 GB, free: 2.102 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007395/0.4654, allocations: 3.813 MB / 0.5829 GB, free: 14.28 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004164/0.4696, allocations: 2.304 MB / 0.5852 GB, free: 11.92 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003175/0.4728, allocations: 1.316 MB / 0.5865 GB, free: 10.6 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003801/0.4766, allocations: 1.857 MB / 0.5883 GB, free: 8.738 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009428/0.4775, allocations: 280 kB / 0.5885 GB, free: 8.465 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002857/0.4804, allocations: 1.201 MB / 0.5897 GB, free: 7.262 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002323/0.4827, allocations: 1.628 MB / 0.5913 GB, free: 5.629 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003287/0.486, allocations: 1.891 MB / 0.5932 GB, free: 3.727 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0113/0.4973, allocations: 6.304 MB / 0.5993 GB, free: 13.4 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.081e-05/0.4973, allocations: 0 / 0.5993 GB, free: 13.4 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.866e-06/0.4973, allocations: 0 / 0.5993 GB, free: 13.4 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002582/0.4975, allocations: 0 / 0.5993 GB, free: 13.4 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.01483/0.5124, allocations: 4.28 MB / 0.6035 GB, free: 9.062 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/0.5124, allocations: 8.031 kB / 0.6035 GB, free: 9.055 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001444/0.5126, allocations: 93.25 kB / 0.6036 GB, free: 8.961 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001446/0.514, allocations: 0.6043 MB / 0.6042 GB, free: 8.348 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02284/0.5369, allocations: 3.766 MB / 0.6079 GB, free: 4.574 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00709/0.544, allocations: 2.463 MB / 0.6103 GB, free: 2.055 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002215/0.5442, allocations: 197.1 kB / 0.6104 GB, free: 1.859 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001042/0.5452, allocations: 259.8 kB / 0.6107 GB, free: 1.605 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01826/0.5635, allocations: 8.522 MB / 0.619 GB, free: 8.461 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001803/0.5637, allocations: 39.7 kB / 0.6191 GB, free: 8.422 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008997/0.5646, allocations: 123.9 kB / 0.6192 GB, free: 8.301 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003766/0.5683, allocations: 1.746 MB / 0.6209 GB, free: 6.555 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01763/0.586, allocations: 7.436 MB / 0.6281 GB, free: 15.11 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05674/0.6427, allocations: 33.81 MB / 0.6612 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00721/0.6499, allocations: 2.453 MB / 0.6636 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002571/0.6525, allocations: 1.708 MB / 0.6652 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000344/0.6528, allocations: 96.56 kB / 0.6653 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.174e-05/0.6529, allocations: 63.14 kB / 0.6654 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=135): time 4.218e-06/0.6529, allocations: 0 / 0.6654 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of matching and sorting (n=156): time 0.04581/0.6987, allocations: 14.25 MB / 0.6793 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002733/0.699, allocations: 179.2 kB / 0.6795 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008597/0.7076, allocations: 3.526 MB / 0.6829 GB, free: 5.875 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0005512/0.7081, allocations: 45.7 kB / 0.683 GB, free: 5.824 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003586/0.7117, allocations: 2.769 MB / 0.6857 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001656/0.7133, allocations: 0.6241 MB / 0.6863 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004409/0.7178, allocations: 1.072 MB / 0.6873 GB, free: 1.316 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000176/0.7179, allocations: 301.1 kB / 0.6876 GB, free: 1.02 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004782/0.7227, allocations: 2.021 MB / 0.6896 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008465/0.7312, allocations: 5.226 MB / 0.6947 GB, free: 8.152 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01446/0.7456, allocations: 7.848 MB / 0.7023 GB, free: 14.71 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002354/0.7459, allocations: 32 kB / 0.7024 GB, free: 14.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=678) (initialization): time 0.01902/0.7649, allocations: 7.801 MB / 0.71 GB, free: 6.871 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.000175/0.7651, allocations: 52 kB / 0.71 GB, free: 6.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002014/0.7653, allocations: 116 kB / 0.7101 GB, free: 6.707 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002873/0.7682, allocations: 0.9707 MB / 0.7111 GB, free: 5.734 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004526/0.7727, allocations: 1.185 MB / 0.7123 GB, free: 4.547 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.011/0.7837, allocations: 6.805 MB / 0.7189 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004693/0.7884, allocations: 295.6 kB / 0.7192 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001179/0.7896, allocations: 328 kB / 0.7195 GB, free: 13.02 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.005275/0.7948, allocations: 1.848 MB / 0.7213 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001325/0.7962, allocations: 322 kB / 0.7216 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007899/0.8041, allocations: 3.179 MB / 0.7247 GB, free: 7.645 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.078e-05/0.8041, allocations: 23.98 kB / 0.7247 GB, free: 7.621 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.319e-05/0.8041, allocations: 8 kB / 0.7247 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.954e-05/0.8042, allocations: 11.97 kB / 0.7248 GB, free: 7.602 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3475/1.152, allocations: 7.773 MB / 0.7323 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.087e-05/1.152, allocations: 0.9375 kB / 0.7323 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001759/1.153, allocations: 223.8 kB / 0.7326 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002802/1.156, allocations: 0.8104 MB / 0.7333 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003757/1.157, allocations: 30.02 kB / 0.7334 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008459/1.165, allocations: 6.384 MB / 0.7396 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.165, allocations: 0.8438 kB / 0.7396 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008106/1.173, allocations: 5.826 MB / 0.7453 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001052/1.174, allocations: 303.5 kB / 0.7456 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006846/1.175, allocations: 28.45 kB / 0.7456 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001602/1.176, allocations: 90.88 kB / 0.7457 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004177/1.177, allocations: 95 kB / 0.7458 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001983/1.177, allocations: 39 kB / 0.7458 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004792/1.182, allocations: 2.207 MB / 0.748 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.31e-07/1.182, allocations: 0 / 0.748 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007789/1.19, allocations: 0.8668 MB / 0.7488 GB, free: 147 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.01186/1.202, allocations: 6.455 MB / 0.7551 GB, free: 143.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007209/1.209, allocations: 4.702 MB / 0.7597 GB, free: 139 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.747e-06/1.209, allocations: 0 / 0.7597 GB, free: 139 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002629/1.211, allocations: 1.652 MB / 0.7613 GB, free: 137.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002558/1.214, allocations: 398.9 kB / 0.7617 GB, free: 136.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06602/1.28, allocations: 40.88 MB / 0.8016 GB, free: 91.33 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004615/1.285, allocations: 2.877 MB / 0.8045 GB, free: 88.42 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00408/1.289, allocations: 1.718 MB / 0.8061 GB, free: 86.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002873/1.292, allocations: 1.554 MB / 0.8077 GB, free: 85.14 MB / 0.5606 GB Notification: Performance of SimCode: time 1.522e-06/1.292, allocations: 0 / 0.8077 GB, free: 85.14 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1319/1.423, allocations: 67.4 MB / 0.8735 GB, free: 18.07 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.36/23.78, allocations: 6.312 kB / 0.8735 GB, free: 18.07 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 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.mat","/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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 28.018539153039455]