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.001161/0.001161, allocations: 83.69 kB / 21.18 MB, free: 3.395 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.001293/0.001293, allocations: 165 kB / 24.56 MB, free: 24 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.119/1.119, allocations: 177.1 MB / 205 MB, free: 4.77 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.302/0.302, allocations: 32.8 MB / 294.3 MB, free: 1.164 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.655e-06/2.655e-06, allocations: 0 / 376 MB, free: 4.672 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.261e-05/3.527e-05, allocations: 2.312 kB / 376 MB, free: 4.668 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.009033/0.009068, allocations: 9.219 MB / 385.2 MB, free: 11.4 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007435/0.0165, allocations: 3.745 MB / 389 MB, free: 7.645 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002044/0.01855, allocations: 63.69 kB / 389 MB, free: 7.582 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00356/0.02211, allocations: 2.445 MB / 391.5 MB, free: 5.129 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004897/0.027, allocations: 1.715 MB / 393.2 MB, free: 3.406 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001667/0.02867, allocations: 0.76 MB / 394 MB, free: 2.645 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.005198/0.03387, allocations: 4.206 MB / 398.2 MB, free: 14.43 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003455/0.03732, allocations: 2.644 MB / 400.8 MB, free: 11.74 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004312/0.04164, allocations: 2.507 MB / 403.3 MB, free: 9.227 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002923/0.04456, allocations: 1.867 MB / 405.2 MB, free: 7.355 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000846/0.0454, allocations: 284 kB / 405.5 MB, free: 7.078 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001878/0.04728, allocations: 1.1 MB / 406.6 MB, free: 5.977 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001552/0.04883, allocations: 1.702 MB / 408.3 MB, free: 4.27 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001859/0.05069, allocations: 1.055 MB / 409.3 MB, free: 3.211 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006122/0.05682, allocations: 4.084 MB / 413.4 MB, free: 15.11 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.894e-06/0.05682, allocations: 4 kB / 413.4 MB, free: 15.11 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.574e-06/0.05683, allocations: 4 kB / 413.4 MB, free: 15.1 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002757/0.0571, allocations: 0 / 413.4 MB, free: 15.1 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.0087/0.0658, allocations: 4.559 MB / 418 MB, free: 10.48 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/0.06585, allocations: 11.97 kB / 418 MB, free: 10.47 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005418/0.07127, allocations: 2.382 MB / 420.4 MB, free: 8.082 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004486/0.07576, allocations: 2.012 MB / 422.4 MB, free: 6.031 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001516/0.07591, allocations: 193.3 kB / 422.6 MB, free: 5.84 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005806/0.07649, allocations: 264.2 kB / 422.8 MB, free: 5.582 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009447/0.08594, allocations: 5.119 MB / 427.9 MB, free: 15.62 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001263/0.08606, allocations: 43.64 kB / 428 MB, free: 15.58 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002917/0.08635, allocations: 123.9 kB / 428.1 MB, free: 15.46 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001491/0.08785, allocations: 1.633 MB / 429.7 MB, free: 13.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007039/0.09488, allocations: 2.61 MB / 432.4 MB, free: 11.2 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2418/0.3367, allocations: 37.38 MB / 469.7 MB, free: 62.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003134/0.3398, allocations: 1.283 MB / 471 MB, free: 62.77 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005497/0.3404, allocations: 369.5 kB / 471.4 MB, free: 62.72 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004119/0.3445, allocations: 2.86 MB / 474.2 MB, free: 61.76 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.503e-05/0.3445, allocations: 54.03 kB / 474.3 MB, free: 61.71 MB / 410.7 MB Notification: Performance of pre-optimization done (n=99): time 5.49e-06/0.3445, allocations: 0.5 kB / 474.3 MB, free: 61.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=104): time 0.01557/0.3601, allocations: 7.26 MB / 481.6 MB, free: 59.39 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.437e-05/0.3602, allocations: 171.4 kB / 481.7 MB, free: 59.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003816/0.364, allocations: 3.139 MB / 484.9 MB, free: 58.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001135/0.3641, allocations: 37.67 kB / 484.9 MB, free: 58.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001566/0.3657, allocations: 3.013 MB / 487.9 MB, free: 56.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004649/0.3661, allocations: 486.7 kB / 488.4 MB, free: 55.83 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001046/0.3672, allocations: 1.15 MB / 489.5 MB, free: 55.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.362e-05/0.3673, allocations: 484.4 kB / 490 MB, free: 54.73 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008885/0.3682, allocations: 0.5177 MB / 490.5 MB, free: 54.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002979/0.3711, allocations: 5.58 MB / 496.1 MB, free: 47.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005728/0.3769, allocations: 6.68 MB / 0.491 GB, free: 40.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001471/0.377, allocations: 36.5 kB / 0.491 GB, free: 40.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=678) (initialization): time 0.009548/0.3866, allocations: 4.733 MB / 0.4957 GB, free: 38.71 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001089/0.3867, allocations: 56.47 kB / 0.4957 GB, free: 38.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002312/0.3869, allocations: 120.5 kB / 0.4958 GB, free: 38.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001383/0.3883, allocations: 456.4 kB / 0.4963 GB, free: 38.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002909/0.3912, allocations: 1.18 MB / 0.4974 GB, free: 38.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003013/0.3942, allocations: 2.855 MB / 0.5002 GB, free: 36.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003372/0.3976, allocations: 317.2 kB / 0.5005 GB, free: 36.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005166/0.3981, allocations: 324.9 kB / 0.5008 GB, free: 36.11 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 550 * 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 (645): * Single equations (assignments): 641 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001506/0.3996, allocations: 0.5832 MB / 0.5014 GB, free: 35.63 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006109/0.4002, allocations: 298.9 kB / 0.5017 GB, free: 35.47 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001736/0.4019, allocations: 0.897 MB / 0.5025 GB, free: 35.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.061e-05/0.402, allocations: 12.16 kB / 0.5026 GB, free: 35.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.402, allocations: 2.656 kB / 0.5026 GB, free: 35.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.402, allocations: 4.156 kB / 0.5026 GB, free: 35.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006571/0.4086, allocations: 3.718 MB / 0.5062 GB, free: 33.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.156e-06/0.4086, allocations: 2.469 kB / 0.5062 GB, free: 33.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004623/0.409, allocations: 136 kB / 0.5063 GB, free: 33.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009131/0.4099, allocations: 278.3 kB / 0.5066 GB, free: 33.56 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.42e-05/0.41, allocations: 17.25 kB / 0.5066 GB, free: 33.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002243/0.4122, allocations: 2.598 MB / 0.5091 GB, free: 31.33 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.4122, allocations: 0 / 0.5091 GB, free: 31.33 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002597/0.4148, allocations: 1.84 MB / 0.5109 GB, free: 30.31 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006283/0.4155, allocations: 264.2 kB / 0.5112 GB, free: 30.14 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002464/0.4157, allocations: 24.59 kB / 0.5112 GB, free: 30.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007309/0.4164, allocations: 70.8 kB / 0.5113 GB, free: 30.11 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001559/0.4166, allocations: 61 kB / 0.5113 GB, free: 30.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.324e-05/0.4167, allocations: 36.33 kB / 0.5114 GB, free: 30.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002014/0.4187, allocations: 1.325 MB / 0.5127 GB, free: 29.63 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4187, allocations: 1.203 kB / 0.5127 GB, free: 29.63 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0044/0.4231, allocations: 0.8504 MB / 0.5135 GB, free: 29.53 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (74): * Single equations (assignments): 70 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004989/0.4236, allocations: 155 kB / 0.5137 GB, free: 29.42 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005141/0.4287, allocations: 2.481 MB / 0.5161 GB, free: 28.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.914e-06/0.4287, allocations: 7.312 kB / 0.5161 GB, free: 28.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008813/0.4296, allocations: 0.5406 MB / 0.5166 GB, free: 28.23 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001997/0.4316, allocations: 329.9 kB / 0.5169 GB, free: 28.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01086/0.4425, allocations: 6.067 MB / 0.5228 GB, free: 22.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001391/0.4439, allocations: 1.027 MB / 0.5239 GB, free: 22.18 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002614/0.4465, allocations: 1.365 MB / 0.5252 GB, free: 21.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003947/0.4469, allocations: 183.2 kB / 0.5254 GB, free: 21.23 MB / 410.7 MB Notification: Performance of SimCode: time 2.285e-06/0.4469, allocations: 0 / 0.5254 GB, free: 21.23 MB / 410.7 MB Notification: Performance of Templates: time 0.03651/0.4834, allocations: 22.83 MB / 0.5477 GB, free: 1.297 MB / 410.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.656950065866113]