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.001838/0.001838, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002264/0.002264, allocations: 161.7 kB / 24.27 MB, free: 172 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.487/1.487, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 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.3837/0.3837, allocations: 34.26 MB / 295.3 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 179] 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 1.804e-06/1.804e-06, allocations: 0 / 377.3 MB, free: 2.961 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.429e-05/3.609e-05, allocations: 9.266 kB / 377.3 MB, free: 2.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01832/0.01836, allocations: 8.377 MB / 385.7 MB, free: 10.54 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01202/0.03038, allocations: 3.621 MB / 389.3 MB, free: 6.902 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001747/0.03213, allocations: 59.75 kB / 389.4 MB, free: 6.844 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007933/0.04006, allocations: 2.387 MB / 391.7 MB, free: 4.449 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007273/0.04733, allocations: 1.695 MB / 393.4 MB, free: 2.746 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003228/0.05056, allocations: 0.7717 MB / 394.2 MB, free: 1.973 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.006876/0.05744, allocations: 4.191 MB / 398.4 MB, free: 13.77 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003682/0.06112, allocations: 2.644 MB / 401 MB, free: 11.08 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003492/0.06461, allocations: 1.972 MB / 403 MB, free: 9.102 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003489/0.0681, allocations: 1.867 MB / 404.9 MB, free: 7.23 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006679/0.06877, allocations: 291.9 kB / 405.2 MB, free: 6.945 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002259/0.07103, allocations: 1.112 MB / 406.3 MB, free: 5.832 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002036/0.07306, allocations: 1.691 MB / 408 MB, free: 4.137 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001874/0.07494, allocations: 1.055 MB / 409 MB, free: 3.078 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009558/0.0845, allocations: 6.332 MB / 415.4 MB, free: 12.73 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.176e-05/0.08451, allocations: 4 kB / 415.4 MB, free: 12.72 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.08451, allocations: 0 / 415.4 MB, free: 12.72 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001768/0.08469, allocations: 0 / 415.4 MB, free: 12.72 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.0114/0.09609, allocations: 4.218 MB / 419.6 MB, free: 8.449 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.55e-05/0.09615, allocations: 8.031 kB / 419.6 MB, free: 8.441 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009637/0.1058, allocations: 2.479 MB / 422.1 MB, free: 5.957 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005585/0.1114, allocations: 2.278 MB / 424.3 MB, free: 3.641 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002123/0.1116, allocations: 193.3 kB / 424.5 MB, free: 3.449 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008178/0.1124, allocations: 256.2 kB / 424.8 MB, free: 3.199 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01697/0.1294, allocations: 8.672 MB / 433.5 MB, free: 9.902 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001256/0.1295, allocations: 43.62 kB / 433.5 MB, free: 9.859 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004114/0.1299, allocations: 127.9 kB / 433.6 MB, free: 9.734 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003564/0.1335, allocations: 1.743 MB / 435.4 MB, free: 7.988 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0168/0.1503, allocations: 7.588 MB / 443 MB, free: 400 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1915/0.3417, allocations: 32.31 MB / 475.3 MB, free: 72.79 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005943/0.3477, allocations: 2.551 MB / 477.8 MB, free: 72.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001747/0.3494, allocations: 1.785 MB / 479.6 MB, free: 71.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003316/0.3497, allocations: 113.8 kB / 479.7 MB, free: 71.33 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/0.3498, allocations: 49.25 kB / 479.8 MB, free: 71.28 MB / 410.7 MB Notification: Performance of pre-optimization done (n=135): time 4.017e-06/0.3498, allocations: 3.594 kB / 479.8 MB, free: 71.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=156): time 0.03636/0.3861, allocations: 16.05 MB / 495.8 MB, free: 65.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.895e-05/0.3862, allocations: 172.3 kB / 496 MB, free: 65.49 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003972/0.3902, allocations: 3.338 MB / 499.3 MB, free: 64.29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002494/0.3904, allocations: 49.61 kB / 499.4 MB, free: 64.24 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00118/0.3916, allocations: 2.744 MB / 0.4903 GB, free: 62.15 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005255/0.3921, allocations: 0.6255 MB / 0.4909 GB, free: 61.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001175/0.3933, allocations: 1.084 MB / 0.492 GB, free: 61.17 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.186e-05/0.3933, allocations: 305.7 kB / 0.4923 GB, free: 60.87 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00263/0.396, allocations: 2.143 MB / 0.4944 GB, free: 60.13 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003595/0.3996, allocations: 5.365 MB / 0.4996 GB, free: 55.03 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006551/0.4061, allocations: 8.058 MB / 0.5075 GB, free: 46.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.639e-05/0.4062, allocations: 32 kB / 0.5075 GB, free: 46.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=694) (initialization): time 0.01176/0.4179, allocations: 8.55 MB / 0.5159 GB, free: 39.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.789e-05/0.418, allocations: 57.97 kB / 0.5159 GB, free: 39.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.573e-05/0.4181, allocations: 117 kB / 0.516 GB, free: 38.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002926/0.421, allocations: 1.325 MB / 0.5173 GB, free: 37.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003294/0.4243, allocations: 1.213 MB / 0.5185 GB, free: 36.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007481/0.4318, allocations: 7.421 MB / 0.5258 GB, free: 29.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004411/0.4362, allocations: 347.5 kB / 0.5261 GB, free: 28.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005924/0.4368, allocations: 339.7 kB / 0.5264 GB, free: 28.52 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.002505/0.4393, allocations: 1.843 MB / 0.5282 GB, free: 26.66 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007706/0.4401, allocations: 322.1 kB / 0.5285 GB, free: 26.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005443/0.4455, allocations: 3.576 MB / 0.532 GB, free: 22.75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-05/0.4456, allocations: 16 kB / 0.532 GB, free: 22.74 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.59e-05/0.4456, allocations: 4 kB / 0.532 GB, free: 22.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.084e-05/0.4456, allocations: 15.91 kB / 0.5321 GB, free: 22.72 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01163/0.4572, allocations: 7.27 MB / 0.5392 GB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.299e-05/0.4572, allocations: 0 / 0.5392 GB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001132/0.4584, allocations: 227.7 kB / 0.5394 GB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002777/0.4611, allocations: 1.161 MB / 0.5405 GB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001724/0.4613, allocations: 24 kB / 0.5405 GB, free: 14.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007559/0.4689, allocations: 7.137 MB / 0.5475 GB, free: 6.793 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.4689, allocations: 0 / 0.5475 GB, free: 6.793 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007936/0.4768, allocations: 6.384 MB / 0.5537 GB, free: 388 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008191/0.4776, allocations: 278 kB / 0.554 GB, free: 108 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003526/0.478, allocations: 28 kB / 0.554 GB, free: 80 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0014/0.4794, allocations: 139.6 kB / 0.5542 GB, free: 15.95 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003512/0.4797, allocations: 96.7 kB / 0.5543 GB, free: 15.85 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001423/0.4799, allocations: 48 kB / 0.5543 GB, free: 15.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003278/0.4832, allocations: 1.935 MB / 0.5562 GB, free: 13.87 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4832, allocations: 0 / 0.5562 GB, free: 13.87 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004914/0.4881, allocations: 0.9687 MB / 0.5571 GB, free: 12.9 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.0005464/0.4886, allocations: 166.5 kB / 0.5573 GB, free: 12.73 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00963/0.4983, allocations: 4.984 MB / 0.5622 GB, free: 7.758 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.4983, allocations: 0 / 0.5622 GB, free: 7.758 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00354/0.5018, allocations: 1.773 MB / 0.5639 GB, free: 5.977 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002383/0.5042, allocations: 342.8 kB / 0.5642 GB, free: 5.656 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01628/0.5205, allocations: 8.49 MB / 0.5725 GB, free: 13.09 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003737/0.5242, allocations: 2.338 MB / 0.5748 GB, free: 10.72 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004212/0.5284, allocations: 1.681 MB / 0.5764 GB, free: 9.035 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007605/0.5292, allocations: 200.5 kB / 0.5766 GB, free: 8.84 MB / 442.7 MB Notification: Performance of SimCode: time 1.233e-06/0.5292, allocations: 0 / 0.5766 GB, free: 8.84 MB / 442.7 MB Notification: Performance of Templates: time 0.2014/0.7305, allocations: 31.41 MB / 0.6073 GB, free: 130.2 MB / 458.7 MB " [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.017125206999481]