Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001039/0.001039, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.0009631/0.0009631, allocations: 165 kB / 23.79 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8688/0.8688, allocations: 158.6 MB / 185.7 MB, free: 2.93 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.129/0.129, allocations: 32.37 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 3.938 kB / 347.7 MB, free: 9.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.769e-05/1.976e-05, allocations: 4.281 kB / 347.7 MB, free: 9.434 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.00629/0.00631, allocations: 9.935 MB / 357.6 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004796/0.01111, allocations: 3.848 MB / 361.5 MB, free: 11.6 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005324/0.01164, allocations: 67.69 kB / 361.5 MB, free: 11.53 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002414/0.01405, allocations: 2.492 MB / 364 MB, free: 9.031 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002096/0.01615, allocations: 1.851 MB / 365.9 MB, free: 7.172 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008107/0.01696, allocations: 0.7639 MB / 366.6 MB, free: 6.406 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002837/0.0198, allocations: 4.173 MB / 370.8 MB, free: 2.219 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002024/0.02182, allocations: 2.777 MB / 373.6 MB, free: 15.39 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001688/0.02351, allocations: 2.116 MB / 375.7 MB, free: 13.27 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001774/0.02528, allocations: 2.05 MB / 377.8 MB, free: 11.21 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003347/0.02562, allocations: 316 kB / 378.1 MB, free: 10.91 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001154/0.02677, allocations: 1.135 MB / 379.2 MB, free: 9.77 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001159/0.02793, allocations: 1.858 MB / 381.1 MB, free: 7.906 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000909/0.02884, allocations: 1.157 MB / 382.2 MB, free: 6.746 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00357/0.03241, allocations: 4.422 MB / 386.6 MB, free: 2.309 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.03242, allocations: 4 kB / 386.6 MB, free: 2.305 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.03242, allocations: 0 / 386.6 MB, free: 2.305 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.484e-05/0.03245, allocations: 0 / 386.6 MB, free: 2.305 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1391 * Number of variables: 1391 Notification: Performance of Generate backend data structure: time 0.005274/0.03773, allocations: 4.818 MB / 391.5 MB, free: 13.43 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.03777, allocations: 16.03 kB / 391.5 MB, free: 13.41 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006524/0.04429, allocations: 2.51 MB / 394 MB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003462/0.04776, allocations: 2.187 MB / 396.2 MB, free: 8.652 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001422/0.0479, allocations: 209.6 kB / 396.4 MB, free: 8.445 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004301/0.04833, allocations: 276.2 kB / 396.6 MB, free: 8.176 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007503/0.05583, allocations: 5.477 MB / 402.1 MB, free: 1.844 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.96e-05/0.05591, allocations: 43.64 kB / 402.2 MB, free: 1.801 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003001/0.05621, allocations: 131.9 kB / 402.3 MB, free: 1.672 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002513/0.05872, allocations: 1.919 MB / 404.2 MB, free: 15.75 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006619/0.06534, allocations: 3.024 MB / 407.2 MB, free: 12.69 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02929/0.09463, allocations: 39.23 MB / 446.5 MB, free: 4.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00436/0.09899, allocations: 1.526 MB / 448 MB, free: 2.656 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009935/0.09999, allocations: 0.6014 MB / 448.6 MB, free: 2.039 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002249/0.1002, allocations: 100.9 kB / 448.7 MB, free: 1.941 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.913e-05/0.1003, allocations: 58.27 kB / 448.7 MB, free: 1.875 MB / 378.7 MB Notification: Performance of pre-optimization done (n=156): time 3.948e-06/0.1003, allocations: 0 / 448.7 MB, free: 1.875 MB / 378.7 MB Notification: Performance of matching and sorting (n=177): time 0.1751/0.2753, allocations: 11.18 MB / 459.9 MB, free: 95.78 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.449e-05/0.2754, allocations: 173.4 kB / 460.1 MB, free: 95.59 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002306/0.2777, allocations: 3.107 MB / 463.2 MB, free: 95.08 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.888e-05/0.2778, allocations: 51.64 kB / 463.2 MB, free: 95.05 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001067/0.2788, allocations: 3.071 MB / 466.3 MB, free: 93.42 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004105/0.2793, allocations: 0.7368 MB / 467.1 MB, free: 93.01 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009361/0.2802, allocations: 1.238 MB / 468.3 MB, free: 92.86 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.314e-05/0.2802, allocations: 480.7 kB / 468.8 MB, free: 92.39 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009628/0.2812, allocations: 0.711 MB / 469.5 MB, free: 92.38 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002178/0.2834, allocations: 5.691 MB / 475.2 MB, free: 85.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003845/0.2872, allocations: 7.025 MB / 482.2 MB, free: 77.8 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.949e-05/0.2873, allocations: 36 kB / 482.2 MB, free: 77.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=738) (initialization): time 0.006368/0.2936, allocations: 5.551 MB / 487.8 MB, free: 72.85 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.475e-05/0.2937, allocations: 59.94 kB / 487.8 MB, free: 72.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.536e-05/0.2937, allocations: 118.7 kB / 488 MB, free: 72.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001425/0.2952, allocations: 0.786 MB / 488.7 MB, free: 71.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00194/0.2971, allocations: 1.294 MB / 490 MB, free: 70.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003424/0.3005, allocations: 3.958 MB / 494 MB, free: 66.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002094/0.3026, allocations: 363.5 kB / 494.3 MB, free: 66.17 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002489/0.3029, allocations: 352 kB / 494.7 MB, free: 65.82 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 536 * Number of states: 0 () * Number of discrete variables: 24 (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 (690): * Single equations (assignments): 686 * 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,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009563/0.3038, allocations: 0.5977 MB / 495.3 MB, free: 65.22 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003324/0.3041, allocations: 342 kB / 495.6 MB, free: 64.88 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002452/0.3066, allocations: 1.941 MB / 497.6 MB, free: 62.93 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.628e-05/0.3066, allocations: 20 kB / 497.6 MB, free: 62.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.759e-06/0.3066, allocations: 11.56 kB / 497.6 MB, free: 62.9 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.3066, allocations: 11.97 kB / 497.6 MB, free: 62.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006195/0.3128, allocations: 5.673 MB / 0.4915 GB, free: 57.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.75e-06/0.3128, allocations: 4 kB / 0.4915 GB, free: 57.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006443/0.3135, allocations: 267.6 kB / 0.4917 GB, free: 56.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001268/0.3148, allocations: 0.6392 MB / 0.4924 GB, free: 56.32 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.254e-05/0.3148, allocations: 28 kB / 0.4924 GB, free: 56.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003118/0.318, allocations: 3.655 MB / 0.496 GB, free: 52.53 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.318, allocations: 4 kB / 0.496 GB, free: 52.52 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003796/0.3218, allocations: 3.008 MB / 0.4989 GB, free: 49.48 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001084/0.3228, allocations: 0.5641 MB / 0.4995 GB, free: 48.91 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003271/0.3232, allocations: 31.98 kB / 0.4995 GB, free: 48.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00132/0.3245, allocations: 155.2 kB / 0.4996 GB, free: 48.74 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002947/0.3248, allocations: 104.7 kB / 0.4997 GB, free: 48.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001479/0.3249, allocations: 44 kB / 0.4998 GB, free: 48.59 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002088/0.327, allocations: 1.333 MB / 0.5011 GB, free: 47.26 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.327, allocations: 4 kB / 0.5011 GB, free: 47.26 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004971/0.332, allocations: 1.058 MB / 0.5021 GB, free: 46.2 MB / 378.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 (137): * Single equations (assignments): 133 * 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.000504/0.3325, allocations: 185.6 kB / 0.5023 GB, free: 46.01 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005196/0.3377, allocations: 3.089 MB / 0.5053 GB, free: 42.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.3377, allocations: 0 / 0.5053 GB, free: 42.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001605/0.3393, allocations: 1.103 MB / 0.5064 GB, free: 41.79 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001518/0.3408, allocations: 346.9 kB / 0.5067 GB, free: 41.47 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009154/0.35, allocations: 7.095 MB / 0.5136 GB, free: 34.33 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009441/0.3509, allocations: 1.156 MB / 0.5148 GB, free: 33.15 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002604/0.3535, allocations: 1.488 MB / 0.5162 GB, free: 31.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006051/0.3541, allocations: 216.5 kB / 0.5164 GB, free: 31.45 MB / 378.7 MB Notification: Performance of SimCode: time 1.183e-06/0.3541, allocations: 0 / 0.5164 GB, free: 31.45 MB / 378.7 MB Notification: Performance of Templates: time 0.0472/0.4013, allocations: 34.17 MB / 0.5498 GB, free: 13.41 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.364232055842876]