Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.545/1.545, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2692/0.2692, allocations: 46.92 MB / 357.1 MB, free: 10.3 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") translateModel(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002044/0.002044, allocations: 59.91 kB / 0.4914 GB, free: 7.441 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1571, allocations: 66 MB / 0.5559 GB, free: 5.32 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01235/0.1695, allocations: 9.5 MB / 0.5651 GB, free: 11.77 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00851/0.178, allocations: 3.824 MB / 0.5689 GB, free: 7.934 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001409/0.1794, allocations: 63.75 kB / 0.5689 GB, free: 7.871 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004599/0.184, allocations: 2.317 MB / 0.5712 GB, free: 5.547 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004762/0.1887, allocations: 1.642 MB / 0.5728 GB, free: 3.898 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001623/0.1904, allocations: 0.6862 MB / 0.5735 GB, free: 3.211 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005941/0.1963, allocations: 3.823 MB / 0.5772 GB, free: 15.38 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003111/0.1994, allocations: 2.438 MB / 0.5796 GB, free: 12.89 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002098/0.2015, allocations: 1.304 MB / 0.5809 GB, free: 11.59 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002566/0.2041, allocations: 1.869 MB / 0.5827 GB, free: 9.711 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005345/0.2046, allocations: 280 kB / 0.5829 GB, free: 9.438 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002139/0.2068, allocations: 1.19 MB / 0.5841 GB, free: 8.246 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001677/0.2084, allocations: 1.62 MB / 0.5857 GB, free: 6.621 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002087/0.2105, allocations: 1.86 MB / 0.5875 GB, free: 4.75 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3536/0.5642, allocations: 6.229 MB / 0.5936 GB, free: 14.33 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.5642, allocations: 3.969 kB / 0.5936 GB, free: 14.33 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.5642, allocations: 0.5312 kB / 0.5936 GB, free: 14.33 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002363/0.5644, allocations: 0 / 0.5936 GB, free: 14.33 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.01442/0.5788, allocations: 4.257 MB / 0.5978 GB, free: 12.58 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.5789, allocations: 9.219 kB / 0.5978 GB, free: 12.58 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01028/0.5892, allocations: 2.022 MB / 0.5997 GB, free: 12.32 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007572/0.5967, allocations: 2.338 MB / 0.602 GB, free: 11.81 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002799/0.597, allocations: 193.4 kB / 0.6022 GB, free: 11.8 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001389/0.5984, allocations: 261.2 kB / 0.6025 GB, free: 11.8 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01874/0.6171, allocations: 8.593 MB / 0.6108 GB, free: 9.754 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001515/0.6173, allocations: 39.89 kB / 0.6109 GB, free: 9.75 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004173/0.6177, allocations: 125.6 kB / 0.611 GB, free: 9.695 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003329/0.621, allocations: 1.739 MB / 0.6127 GB, free: 9.406 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01516/0.6362, allocations: 7.559 MB / 0.6201 GB, free: 7.176 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04816/0.6844, allocations: 34.22 MB / 0.6535 GB, free: 9.758 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00784/0.6922, allocations: 2.965 MB / 0.6564 GB, free: 6.652 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00268/0.6949, allocations: 1.76 MB / 0.6581 GB, free: 4.891 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005308/0.6954, allocations: 330.9 kB / 0.6584 GB, free: 4.52 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.114e-05/0.6955, allocations: 51.22 kB / 0.6585 GB, free: 4.457 MB / 478.1 MB Notification: Performance of pre-optimization done (n=135): time 3.747e-06/0.6955, allocations: 0.9375 kB / 0.6585 GB, free: 4.457 MB / 478.1 MB Notification: Performance of matching and sorting (n=156): time 0.04489/0.7404, allocations: 15.5 MB / 0.6736 GB, free: 4.906 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001434/0.7405, allocations: 175.2 kB / 0.6738 GB, free: 4.699 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005615/0.7461, allocations: 3.523 MB / 0.6772 GB, free: 1.176 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004062/0.7465, allocations: 49.69 kB / 0.6773 GB, free: 1.121 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002428/0.749, allocations: 2.735 MB / 0.6799 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001172/0.7501, allocations: 0.6452 MB / 0.6806 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001806/0.7519, allocations: 1.103 MB / 0.6817 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.7521, allocations: 302.2 kB / 0.6819 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003639/0.7558, allocations: 2.126 MB / 0.684 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007114/0.7629, allocations: 5.33 MB / 0.6892 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0118/0.7747, allocations: 8.04 MB / 0.6971 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001009/0.7748, allocations: 32 kB / 0.6971 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of matching and sorting (n=697) (initialization): time 0.01756/0.7923, allocations: 8.288 MB / 0.7052 GB, free: 2.094 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001235/0.7925, allocations: 54.19 kB / 0.7052 GB, free: 2.043 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002145/0.7927, allocations: 120 kB / 0.7054 GB, free: 1.926 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003716/0.7964, allocations: 1.221 MB / 0.7066 GB, free: 0.7031 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004577/0.801, allocations: 1.217 MB / 0.7077 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01185/0.8128, allocations: 7.616 MB / 0.7152 GB, free: 7.738 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004884/0.8177, allocations: 315.6 kB / 0.7155 GB, free: 7.43 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001171/0.8189, allocations: 324 kB / 0.7158 GB, free: 7.113 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 (649): * Single equations (assignments): 645 * 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 {(3,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004223/0.8231, allocations: 1.855 MB / 0.7176 GB, free: 5.246 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009537/0.824, allocations: 313.9 kB / 0.7179 GB, free: 4.938 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008201/0.8322, allocations: 3.556 MB / 0.7214 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.555e-05/0.8323, allocations: 20 kB / 0.7214 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-05/0.8323, allocations: 4 kB / 0.7214 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.489e-05/0.8323, allocations: 11.97 kB / 0.7214 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01897/0.8513, allocations: 8.158 MB / 0.7294 GB, free: 9.137 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.701e-05/0.8513, allocations: 0 / 0.7294 GB, free: 9.137 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001316/0.8526, allocations: 223.7 kB / 0.7296 GB, free: 8.918 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003148/0.8558, allocations: 1.064 MB / 0.7306 GB, free: 7.852 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002519/0.856, allocations: 28 kB / 0.7307 GB, free: 7.824 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01196/0.868, allocations: 7.258 MB / 0.7377 GB, free: 440 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.716e-06/0.868, allocations: 7.938 kB / 0.7378 GB, free: 432 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01202/0.88, allocations: 6.284 MB / 0.7439 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001084/0.8811, allocations: 374.9 kB / 0.7442 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007812/0.8819, allocations: 20 kB / 0.7443 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001815/0.8837, allocations: 107.7 kB / 0.7444 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003528/0.884, allocations: 88.81 kB / 0.7445 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001553/0.8842, allocations: 42.42 kB / 0.7445 GB, free: 9.488 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004564/0.8888, allocations: 2.2 MB / 0.7466 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.8888, allocations: 0 / 0.7466 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005069/0.8938, allocations: 0.8828 MB / 0.7475 GB, free: 6.414 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.0005409/0.8944, allocations: 166.7 kB / 0.7477 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009319/0.9037, allocations: 4.931 MB / 0.7525 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.9037, allocations: 0 / 0.7525 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003416/0.9071, allocations: 1.752 MB / 0.7542 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002995/0.9101, allocations: 375.3 kB / 0.7545 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01807/0.9282, allocations: 8.414 MB / 0.7628 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00547/0.9337, allocations: 2.881 MB / 0.7656 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.005489/0.9391, allocations: 1.71 MB / 0.7672 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001294/0.9404, allocations: 219.3 kB / 0.7675 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of SimCode: time 1.323e-06/0.9404, allocations: 0 / 0.7675 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of Templates: time 0.07356/1.014, allocations: 33.98 MB / 0.8006 GB, free: 144 kB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/CheckConstaintTorqueUniversalJoint/CheckConstaintTorqueUniversalJoint.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 7.441415723413229]