Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.00117/0.00117, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 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.001727/0.001727, allocations: 161 kB / 24.55 MB, free: 20 kB / 18.57 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.044/1.044, allocations: 177.1 MB / 205 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2799/0.2799, allocations: 32.81 MB / 294.3 MB, free: 1.293 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.364e-06/2.364e-06, allocations: 0 / 376 MB, free: 4.668 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.82e-05/3.057e-05, allocations: 2.312 kB / 376 MB, free: 4.664 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.008131/0.008162, allocations: 9.212 MB / 385.2 MB, free: 11.41 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007238/0.0154, allocations: 3.745 MB / 389 MB, free: 7.648 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001046/0.01645, allocations: 67.69 kB / 389 MB, free: 7.582 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003543/0.01999, allocations: 2.449 MB / 391.5 MB, free: 5.125 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003266/0.02326, allocations: 1.703 MB / 393.2 MB, free: 3.414 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001097/0.02435, allocations: 0.7678 MB / 394 MB, free: 2.645 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003193/0.02755, allocations: 4.201 MB / 398.2 MB, free: 14.44 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001836/0.02938, allocations: 2.652 MB / 400.8 MB, free: 11.73 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001599/0.03098, allocations: 1.984 MB / 402.8 MB, free: 9.746 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001786/0.03277, allocations: 1.906 MB / 404.7 MB, free: 7.836 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003855/0.03315, allocations: 292 kB / 405 MB, free: 7.551 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001227/0.03438, allocations: 1.112 MB / 406.1 MB, free: 6.438 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009892/0.03537, allocations: 1.702 MB / 407.8 MB, free: 4.73 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009149/0.03628, allocations: 1.063 MB / 408.9 MB, free: 3.664 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003322/0.03961, allocations: 4.091 MB / 413 MB, free: 15.56 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.03961, allocations: 0 / 413 MB, free: 15.56 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.03961, allocations: 0 / 413 MB, free: 15.56 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.737e-05/0.03968, allocations: 0 / 413 MB, free: 15.56 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.01306/0.05274, allocations: 4.531 MB / 417.5 MB, free: 10.96 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.743e-05/0.05279, allocations: 8.031 kB / 417.5 MB, free: 10.96 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008227/0.06102, allocations: 2.417 MB / 419.9 MB, free: 8.535 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005926/0.06695, allocations: 2.074 MB / 422 MB, free: 6.422 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001458/0.06709, allocations: 197.3 kB / 422.2 MB, free: 6.227 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006349/0.06773, allocations: 264.1 kB / 422.4 MB, free: 5.969 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006449/0.07418, allocations: 5.131 MB / 427.6 MB, free: 0 / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.713e-05/0.07425, allocations: 39.69 kB / 427.6 MB, free: 15.96 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002459/0.0745, allocations: 127.9 kB / 427.7 MB, free: 15.83 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002056/0.07655, allocations: 1.739 MB / 429.5 MB, free: 14.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009127/0.08568, allocations: 2.813 MB / 432.3 MB, free: 11.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2141/0.2998, allocations: 37.28 MB / 469.6 MB, free: 63.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003063/0.3029, allocations: 1.408 MB / 471 MB, free: 63.19 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006428/0.3035, allocations: 0.5488 MB / 471.5 MB, free: 63.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002083/0.3037, allocations: 103.6 kB / 471.6 MB, free: 63.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.3038, allocations: 47.61 kB / 471.7 MB, free: 63.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=135): time 5.039e-06/0.3038, allocations: 0 / 471.7 MB, free: 63.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=156): time 0.01928/0.3231, allocations: 10.61 MB / 482.3 MB, free: 60.76 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.914e-05/0.3231, allocations: 174.9 kB / 482.5 MB, free: 60.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002862/0.326, allocations: 3.001 MB / 485.5 MB, free: 59.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001388/0.3261, allocations: 44.73 kB / 485.5 MB, free: 59.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00116/0.3273, allocations: 2.904 MB / 488.4 MB, free: 57.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004386/0.3277, allocations: 0.662 MB / 489.1 MB, free: 56.85 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009572/0.3287, allocations: 1.179 MB / 490.2 MB, free: 56.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.063e-05/0.3287, allocations: 479.8 kB / 490.7 MB, free: 55.76 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/0.3297, allocations: 0.6495 MB / 491.4 MB, free: 55.67 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002536/0.3323, allocations: 5.448 MB / 496.8 MB, free: 49.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004616/0.3369, allocations: 6.697 MB / 0.4917 GB, free: 42.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.841e-05/0.337, allocations: 31.59 kB / 0.4917 GB, free: 42.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=697) (initialization): time 0.008402/0.3454, allocations: 5.25 MB / 0.4969 GB, free: 40.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.553e-05/0.3454, allocations: 54.72 kB / 0.4969 GB, free: 40.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002032/0.3457, allocations: 112.1 kB / 0.497 GB, free: 40.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00188/0.3475, allocations: 0.7952 MB / 0.4978 GB, free: 40.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00272/0.3503, allocations: 1.214 MB / 0.499 GB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004437/0.3547, allocations: 3.899 MB / 0.5028 GB, free: 37.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004131/0.3588, allocations: 340.6 kB / 0.5031 GB, free: 37.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005711/0.3594, allocations: 328.4 kB / 0.5034 GB, free: 37.29 MB / 410.7 MB 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.00139/0.3608, allocations: 0.589 MB / 0.504 GB, free: 36.81 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000542/0.3613, allocations: 327.1 kB / 0.5043 GB, free: 36.63 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002922/0.3642, allocations: 1.758 MB / 0.506 GB, free: 36.14 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.233e-05/0.3643, allocations: 15.78 kB / 0.5061 GB, free: 36.14 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.246e-05/0.3643, allocations: 6.156 kB / 0.5061 GB, free: 36.14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.848e-05/0.3643, allocations: 14.38 kB / 0.5061 GB, free: 36.14 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008351/0.3727, allocations: 5.185 MB / 0.5111 GB, free: 34.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/0.3727, allocations: 0.5625 kB / 0.5111 GB, free: 34.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006597/0.3733, allocations: 224.2 kB / 0.5113 GB, free: 33.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001636/0.375, allocations: 0.6289 MB / 0.512 GB, free: 33.92 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001099/0.3751, allocations: 27.5 kB / 0.512 GB, free: 33.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003847/0.3789, allocations: 3.648 MB / 0.5156 GB, free: 31.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.3789, allocations: 8.703 kB / 0.5156 GB, free: 31.29 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004029/0.383, allocations: 2.781 MB / 0.5183 GB, free: 28.97 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006544/0.3836, allocations: 277.2 kB / 0.5185 GB, free: 28.71 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002126/0.3838, allocations: 24 kB / 0.5186 GB, free: 28.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007402/0.3846, allocations: 134.4 kB / 0.5187 GB, free: 28.61 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002062/0.3848, allocations: 89.84 kB / 0.5188 GB, free: 28.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.618e-05/0.3848, allocations: 40 kB / 0.5188 GB, free: 28.53 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001513/0.3864, allocations: 1.283 MB / 0.5201 GB, free: 27.47 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3864, allocations: 0 / 0.5201 GB, free: 27.47 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00368/0.39, allocations: 0.9674 MB / 0.521 GB, free: 26.51 MB / 410.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.0004124/0.3904, allocations: 172.1 kB / 0.5212 GB, free: 26.34 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005643/0.3961, allocations: 2.961 MB / 0.5241 GB, free: 23.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.3961, allocations: 0 / 0.5241 GB, free: 23.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001531/0.3976, allocations: 1.016 MB / 0.5251 GB, free: 22.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001864/0.3995, allocations: 333 kB / 0.5254 GB, free: 22.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00973/0.4092, allocations: 6.59 MB / 0.5318 GB, free: 16.53 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008504/0.4101, allocations: 1.064 MB / 0.5329 GB, free: 15.75 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002158/0.4122, allocations: 1.418 MB / 0.5342 GB, free: 14.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005106/0.4127, allocations: 208.4 kB / 0.5344 GB, free: 14.61 MB / 410.7 MB Notification: Performance of SimCode: time 2.815e-06/0.4127, allocations: 0 / 0.5344 GB, free: 14.61 MB / 410.7 MB Notification: Performance of Templates: time 0.04673/0.4595, allocations: 31.94 MB / 0.5656 GB, free: 15.13 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/CheckConstaintTorqueUniversalJoint/CheckConstaintTorqueUniversalJoint.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.556617359165102]