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.001427/0.001427, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.001573/0.001573, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 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 1.509/1.509, allocations: 177 MB / 204.5 MB, free: 5.609 MB / 186.7 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.3807/0.3807, allocations: 34.26 MB / 295.2 MB, free: 0.6523 MB / 266.7 MB " [Timeout remaining time 179] 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 2.014e-06/2.014e-06, allocations: 0 / 377.2 MB, free: 2.898 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.362e-05/3.564e-05, allocations: 6.25 kB / 377.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01935/0.01939, allocations: 8.369 MB / 385.6 MB, free: 10.48 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01271/0.0321, allocations: 3.617 MB / 389.2 MB, free: 6.852 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002527/0.03463, allocations: 63.69 kB / 389.3 MB, free: 6.789 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007168/0.04179, allocations: 2.383 MB / 391.7 MB, free: 4.398 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007449/0.04924, allocations: 1.707 MB / 393.4 MB, free: 2.684 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003096/0.05234, allocations: 0.7639 MB / 394.1 MB, free: 1.918 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.009844/0.06218, allocations: 4.202 MB / 398.3 MB, free: 13.7 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006801/0.06898, allocations: 2.64 MB / 401 MB, free: 11.02 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006299/0.07528, allocations: 1.972 MB / 402.9 MB, free: 9.039 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005274/0.08056, allocations: 1.859 MB / 404.8 MB, free: 7.176 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00135/0.08191, allocations: 299.9 kB / 405.1 MB, free: 6.883 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003849/0.08575, allocations: 1.104 MB / 406.2 MB, free: 5.777 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003213/0.08897, allocations: 1.695 MB / 407.9 MB, free: 4.078 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002868/0.09184, allocations: 1.055 MB / 408.9 MB, free: 3.02 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01084/0.1027, allocations: 6.332 MB / 415.3 MB, free: 12.67 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.1027, allocations: 0 / 415.3 MB, free: 12.67 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1027, allocations: 0 / 415.3 MB, free: 12.67 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002956/0.103, allocations: 3.938 kB / 415.3 MB, free: 12.66 MB / 394.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.01192/0.1149, allocations: 4.222 MB / 419.5 MB, free: 8.387 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.1149, allocations: 12.03 kB / 419.5 MB, free: 8.375 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009395/0.1243, allocations: 2.471 MB / 422 MB, free: 5.898 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005553/0.1299, allocations: 2.274 MB / 424.3 MB, free: 3.586 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002072/0.1301, allocations: 201.3 kB / 424.5 MB, free: 3.387 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007058/0.1308, allocations: 268.2 kB / 424.7 MB, free: 3.125 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01612/0.1469, allocations: 8.664 MB / 433.4 MB, free: 9.836 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001288/0.1471, allocations: 39.7 kB / 433.4 MB, free: 9.797 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003822/0.1474, allocations: 123.9 kB / 433.5 MB, free: 9.676 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003584/0.151, allocations: 1.739 MB / 435.3 MB, free: 7.934 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01774/0.1688, allocations: 7.599 MB / 442.9 MB, free: 336 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2248/0.3936, allocations: 32.31 MB / 475.2 MB, free: 72.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006153/0.3997, allocations: 2.55 MB / 477.7 MB, free: 72.08 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001892/0.4016, allocations: 1.79 MB / 479.5 MB, free: 71.37 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003637/0.402, allocations: 115.1 kB / 479.6 MB, free: 71.35 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/0.402, allocations: 49.69 kB / 479.7 MB, free: 71.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=135): time 4.359e-06/0.402, allocations: 0 / 479.7 MB, free: 71.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=156): time 0.03975/0.4417, allocations: 16.05 MB / 495.7 MB, free: 65.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001214/0.4419, allocations: 168.9 kB / 495.9 MB, free: 65.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004809/0.4467, allocations: 3.342 MB / 499.2 MB, free: 64.31 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003118/0.447, allocations: 45.36 kB / 499.3 MB, free: 64.26 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001604/0.4486, allocations: 2.75 MB / 0.4903 GB, free: 62.17 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006943/0.4493, allocations: 0.6189 MB / 0.4909 GB, free: 61.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00142/0.4507, allocations: 1.091 MB / 0.4919 GB, free: 61.18 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.426e-05/0.4508, allocations: 305.9 kB / 0.4922 GB, free: 60.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002953/0.4537, allocations: 2.14 MB / 0.4943 GB, free: 60.14 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004481/0.4582, allocations: 5.364 MB / 0.4996 GB, free: 55.04 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007896/0.4661, allocations: 8.061 MB / 0.5074 GB, free: 46.51 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.849e-05/0.4662, allocations: 32.89 kB / 0.5075 GB, free: 46.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=694) (initialization): time 0.01373/0.4799, allocations: 8.554 MB / 0.5158 GB, free: 39.06 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.37e-05/0.48, allocations: 56 kB / 0.5159 GB, free: 39.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.25e-05/0.4801, allocations: 115.9 kB / 0.516 GB, free: 38.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003037/0.4831, allocations: 1.329 MB / 0.5173 GB, free: 37.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003444/0.4865, allocations: 1.211 MB / 0.5185 GB, free: 36.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007731/0.4943, allocations: 7.425 MB / 0.5257 GB, free: 29.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004305/0.4986, allocations: 343.6 kB / 0.526 GB, free: 28.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005523/0.4991, allocations: 328.1 kB / 0.5263 GB, free: 28.41 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 513 * 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 (646): * Single equations (assignments): 642 * 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.002489/0.5016, allocations: 1.841 MB / 0.5281 GB, free: 26.55 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006618/0.5023, allocations: 334 kB / 0.5285 GB, free: 26.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005377/0.5077, allocations: 3.573 MB / 0.532 GB, free: 22.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.389e-05/0.5077, allocations: 19.98 kB / 0.532 GB, free: 22.62 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.176e-05/0.5077, allocations: 4 kB / 0.532 GB, free: 22.62 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.384e-05/0.5077, allocations: 15.53 kB / 0.532 GB, free: 22.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01112/0.5188, allocations: 7.262 MB / 0.5391 GB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.326e-05/0.5188, allocations: 4 kB / 0.5391 GB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001115/0.52, allocations: 235.6 kB / 0.5393 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002764/0.5227, allocations: 1.154 MB / 0.5404 GB, free: 13.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001689/0.5229, allocations: 28 kB / 0.5405 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007651/0.5305, allocations: 7.137 MB / 0.5474 GB, free: 6.676 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.5305, allocations: 0 / 0.5474 GB, free: 6.676 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00808/0.5386, allocations: 6.384 MB / 0.5537 GB, free: 276 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009695/0.5396, allocations: 282.1 kB / 0.5539 GB, free: 15.99 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000378/0.54, allocations: 24 kB / 0.554 GB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001464/0.5414, allocations: 135.8 kB / 0.5541 GB, free: 15.83 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003574/0.5418, allocations: 92.81 kB / 0.5542 GB, free: 15.74 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001442/0.5419, allocations: 40 kB / 0.5542 GB, free: 15.7 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003533/0.5455, allocations: 1.935 MB / 0.5561 GB, free: 13.77 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5455, allocations: 4 kB / 0.5561 GB, free: 13.76 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005156/0.5506, allocations: 0.9687 MB / 0.5571 GB, free: 12.79 MB / 426.7 MB 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.0005568/0.5512, allocations: 173.9 kB / 0.5572 GB, free: 12.62 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009685/0.5609, allocations: 4.977 MB / 0.5621 GB, free: 7.656 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.5609, allocations: 0 / 0.5621 GB, free: 7.656 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003506/0.5644, allocations: 1.779 MB / 0.5638 GB, free: 5.871 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002453/0.5668, allocations: 347.9 kB / 0.5642 GB, free: 5.547 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01733/0.5842, allocations: 8.494 MB / 0.5724 GB, free: 12.99 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003707/0.5879, allocations: 2.333 MB / 0.5747 GB, free: 10.62 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004538/0.5924, allocations: 1.684 MB / 0.5764 GB, free: 8.941 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007568/0.5932, allocations: 200.5 kB / 0.5766 GB, free: 8.746 MB / 442.7 MB Notification: Performance of SimCode: time 1.734e-06/0.5932, allocations: 0 / 0.5766 GB, free: 8.746 MB / 442.7 MB Notification: Performance of Templates: time 0.2133/0.8065, allocations: 31.41 MB / 0.6072 GB, free: 130.3 MB / 458.7 MB " [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: 6.973308176966384]