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.001151/0.001151, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.006333/0.006333, allocations: 158.8 kB / 24.7 MB, free: 8.891 MB / 18.57 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 0.9205/0.9205, allocations: 177 MB / 204.9 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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.2455/0.2455, allocations: 34.24 MB / 295.6 MB, free: 0.6914 MB / 266.7 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: 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_trunk_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_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 443.4 MB, free: 1.062 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.457e-05/2.613e-05, allocations: 5.234 kB / 443.4 MB, free: 1.059 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.1928/0.1928, allocations: 8.367 MB / 451.8 MB, free: 39.7 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006025/0.1988, allocations: 3.613 MB / 455.4 MB, free: 37.45 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006191/0.1995, allocations: 62.72 kB / 455.5 MB, free: 37.43 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002003/0.2015, allocations: 2.345 MB / 457.8 MB, free: 36.44 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001837/0.2033, allocations: 1.701 MB / 459.5 MB, free: 35.66 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007377/0.204, allocations: 0.7541 MB / 460.3 MB, free: 35.34 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002006/0.2061, allocations: 4.198 MB / 464.5 MB, free: 33.7 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001363/0.2074, allocations: 2.573 MB / 467 MB, free: 32.55 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001123/0.2085, allocations: 1.98 MB / 469 MB, free: 31.68 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001115/0.2097, allocations: 1.855 MB / 470.9 MB, free: 31.17 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002114/0.2099, allocations: 287.8 kB / 471.2 MB, free: 31.17 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009332/0.2108, allocations: 1.102 MB / 472.3 MB, free: 30.98 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006755/0.2115, allocations: 1.69 MB / 473.9 MB, free: 30.25 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005631/0.212, allocations: 1.056 MB / 475 MB, free: 29.72 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003575/0.2156, allocations: 6.31 MB / 481.3 MB, free: 27.55 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.2156, allocations: 0.5156 kB / 481.3 MB, free: 27.55 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2156, allocations: 0 / 481.3 MB, free: 27.55 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.687e-05/0.2157, allocations: 1.094 kB / 481.3 MB, free: 27.55 MB / 410.7 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.005182/0.2208, allocations: 4.2 MB / 485.5 MB, free: 25.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.2209, allocations: 10.91 kB / 485.5 MB, free: 25.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004525/0.2254, allocations: 2.074 MB / 487.6 MB, free: 24.83 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003063/0.2285, allocations: 2.264 MB / 489.9 MB, free: 23.72 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000105/0.2286, allocations: 190.6 kB / 490.1 MB, free: 23.63 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003522/0.2289, allocations: 262.3 kB / 490.3 MB, free: 23.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009081/0.238, allocations: 8.61 MB / 498.9 MB, free: 19.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-05/0.2381, allocations: 45.66 kB / 499 MB, free: 19.37 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002416/0.2383, allocations: 132.7 kB / 499.1 MB, free: 19.28 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001864/0.2402, allocations: 1.739 MB / 0.4891 GB, free: 18.94 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008513/0.2487, allocations: 7.546 MB / 0.4965 GB, free: 14.85 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02201/0.2707, allocations: 32.17 MB / 0.5279 GB, free: 13.78 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003882/0.2746, allocations: 2.584 MB / 0.5304 GB, free: 11.16 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001314/0.2759, allocations: 1.762 MB / 0.5321 GB, free: 9.383 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001704/0.2761, allocations: 100.4 kB / 0.5322 GB, free: 9.281 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.2761, allocations: 55.14 kB / 0.5323 GB, free: 9.219 MB / 442.7 MB Notification: Performance of pre-optimization done (n=135): time 3.727e-06/0.2761, allocations: 0 / 0.5323 GB, free: 9.219 MB / 442.7 MB Notification: Performance of matching and sorting (n=156): time 0.02177/0.2979, allocations: 15.68 MB / 0.5476 GB, free: 9.492 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.088e-05/0.298, allocations: 171.3 kB / 0.5477 GB, free: 9.289 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003278/0.3012, allocations: 3.36 MB / 0.551 GB, free: 5.91 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 8.818e-05/0.3013, allocations: 45.7 kB / 0.5511 GB, free: 5.859 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001129/0.3025, allocations: 2.743 MB / 0.5537 GB, free: 3.09 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004083/0.3029, allocations: 0.6203 MB / 0.5544 GB, free: 2.465 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009504/0.3038, allocations: 1.095 MB / 0.5554 GB, free: 1.359 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.455e-05/0.3039, allocations: 305.1 kB / 0.5557 GB, free: 1.059 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002246/0.3061, allocations: 2.126 MB / 0.5578 GB, free: 14.93 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003206/0.3093, allocations: 5.358 MB / 0.563 GB, free: 7.949 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006178/0.3155, allocations: 8.042 MB / 0.5709 GB, free: 14.32 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.232e-05/0.3156, allocations: 40 kB / 0.5709 GB, free: 14.28 MB / 490.7 MB Notification: Performance of matching and sorting (n=697) (initialization): time 0.008616/0.3242, allocations: 8.246 MB / 0.579 GB, free: 6.023 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.751e-05/0.3242, allocations: 52.19 kB / 0.579 GB, free: 5.973 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.637e-05/0.3243, allocations: 121.6 kB / 0.5791 GB, free: 5.855 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00167/0.326, allocations: 1.22 MB / 0.5803 GB, free: 4.633 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001879/0.3278, allocations: 1.216 MB / 0.5815 GB, free: 3.414 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006536/0.3344, allocations: 7.403 MB / 0.5887 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002184/0.3366, allocations: 347.5 kB / 0.5891 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002999/0.3369, allocations: 328 kB / 0.5894 GB, free: 11.25 MB / 0.4948 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.002443/0.3393, allocations: 1.856 MB / 0.5912 GB, free: 9.375 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000333/0.3396, allocations: 282.1 kB / 0.5915 GB, free: 9.098 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003643/0.3433, allocations: 3.526 MB / 0.5949 GB, free: 5.555 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.701e-05/0.3433, allocations: 20 kB / 0.5949 GB, free: 5.535 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.3433, allocations: 4 kB / 0.5949 GB, free: 5.531 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.849e-06/0.3433, allocations: 7.969 kB / 0.5949 GB, free: 5.523 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008167/0.3515, allocations: 7.257 MB / 0.602 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.992e-06/0.3515, allocations: 0 / 0.602 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005664/0.352, allocations: 231.6 kB / 0.6023 GB, free: 13.99 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001475/0.3535, allocations: 1.06 MB / 0.6033 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.108e-05/0.3536, allocations: 27.94 kB / 0.6033 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006141/0.3597, allocations: 7.108 MB / 0.6103 GB, free: 5.691 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.3597, allocations: 3.938 kB / 0.6103 GB, free: 5.688 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006005/0.3658, allocations: 6.242 MB / 0.6164 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005589/0.3663, allocations: 278 kB / 0.6166 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001949/0.3665, allocations: 24 kB / 0.6166 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007144/0.3672, allocations: 135.7 kB / 0.6168 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001655/0.3674, allocations: 96.75 kB / 0.6169 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.368e-05/0.3675, allocations: 40 kB / 0.6169 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002115/0.3696, allocations: 1.943 MB / 0.6188 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9e-08/0.3696, allocations: 96 / 0.6188 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003164/0.3727, allocations: 0.9764 MB / 0.6198 GB, free: 11.93 MB / 0.5261 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.0003673/0.3731, allocations: 163 kB / 0.6199 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005208/0.3783, allocations: 4.939 MB / 0.6247 GB, free: 6.832 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.175e-06/0.3783, allocations: 0 / 0.6247 GB, free: 6.832 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002244/0.3806, allocations: 1.741 MB / 0.6264 GB, free: 5.082 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00126/0.3818, allocations: 332.5 kB / 0.6267 GB, free: 4.77 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1944/0.5762, allocations: 8.715 MB / 0.6353 GB, free: 152.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001913/0.5782, allocations: 2.327 MB / 0.6375 GB, free: 152.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009554/0.5791, allocations: 238.1 kB / 0.6378 GB, free: 152.3 MB / 0.5261 GB Notification: Performance of SimCode: time 1.402e-06/0.5791, allocations: 1.438 kB / 0.6378 GB, free: 152.3 MB / 0.5261 GB Notification: Performance of Templates: time 0.07336/0.6525, allocations: 68.31 MB / 0.7045 GB, free: 120.2 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.makefile [Timeout 660] (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 & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_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: 8.364056378602982]