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.001015/0.001015, allocations: 91.22 kB / 20.42 MB, free: 4.145 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.001066/0.001066, allocations: 165 kB / 23.8 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.9653/0.9653, allocations: 158.6 MB / 185.7 MB, free: 2.91 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.1214/0.1214, allocations: 32.38 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 1.883e-06/1.883e-06, allocations: 0 / 347.7 MB, free: 9.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.64e-05/2.828e-05, allocations: 13.34 kB / 347.7 MB, free: 9.426 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01113/0.01116, allocations: 9.939 MB / 357.6 MB, free: 15.44 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01238/0.02354, allocations: 3.84 MB / 361.5 MB, free: 11.59 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001889/0.02543, allocations: 67.69 kB / 361.5 MB, free: 11.52 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003425/0.02885, allocations: 2.492 MB / 364 MB, free: 9.023 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004197/0.03305, allocations: 1.851 MB / 365.9 MB, free: 7.164 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00134/0.03439, allocations: 0.7717 MB / 366.6 MB, free: 6.391 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004659/0.03905, allocations: 4.181 MB / 370.8 MB, free: 2.195 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003193/0.04224, allocations: 2.766 MB / 373.6 MB, free: 15.38 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003006/0.04525, allocations: 2.456 MB / 376 MB, free: 12.92 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002287/0.04754, allocations: 2.015 MB / 378.1 MB, free: 10.9 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000587/0.04812, allocations: 308 kB / 378.4 MB, free: 10.6 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001511/0.04963, allocations: 1.139 MB / 379.5 MB, free: 9.457 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001117/0.05075, allocations: 1.847 MB / 381.4 MB, free: 7.605 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001107/0.05186, allocations: 1.153 MB / 382.5 MB, free: 6.449 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003683/0.05554, allocations: 4.41 MB / 386.9 MB, free: 2.023 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.05555, allocations: 4 kB / 386.9 MB, free: 2.02 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.05555, allocations: 0 / 386.9 MB, free: 2.02 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.27e-05/0.05563, allocations: 0 / 386.9 MB, free: 2.02 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.005713/0.06134, allocations: 4.854 MB / 391.8 MB, free: 13.11 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/0.0614, allocations: 8.031 kB / 391.8 MB, free: 13.1 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00507/0.06647, allocations: 2.479 MB / 394.3 MB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002944/0.06941, allocations: 2.145 MB / 396.4 MB, free: 8.406 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000146/0.06956, allocations: 209.6 kB / 396.6 MB, free: 8.199 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003803/0.06994, allocations: 276.2 kB / 396.9 MB, free: 7.93 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006519/0.07646, allocations: 5.465 MB / 402.3 MB, free: 1.609 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.012e-05/0.07653, allocations: 39.64 kB / 402.4 MB, free: 1.57 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002349/0.07676, allocations: 135.9 kB / 402.5 MB, free: 1.438 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001523/0.07828, allocations: 1.802 MB / 404.3 MB, free: 15.63 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004929/0.08321, allocations: 2.816 MB / 407.1 MB, free: 12.79 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02716/0.1104, allocations: 39.37 MB / 446.5 MB, free: 4.086 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003231/0.1136, allocations: 1.37 MB / 447.9 MB, free: 2.668 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005384/0.1141, allocations: 443.1 kB / 448.3 MB, free: 2.223 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1919/0.306, allocations: 3.086 MB / 451.4 MB, free: 97.36 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.44e-05/0.3061, allocations: 50.64 kB / 451.4 MB, free: 97.32 MB / 378.7 MB Notification: Performance of pre-optimization done (n=120): time 5.51e-06/0.3061, allocations: 0 / 451.4 MB, free: 97.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=124): time 0.01552/0.3216, allocations: 7.467 MB / 458.9 MB, free: 95.22 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.47e-05/0.3217, allocations: 169.8 kB / 459.1 MB, free: 95.03 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003639/0.3253, allocations: 3.243 MB / 462.3 MB, free: 94.51 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002202/0.3255, allocations: 46.3 kB / 462.4 MB, free: 94.48 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001274/0.3268, allocations: 3.183 MB / 465.5 MB, free: 92.78 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004342/0.3272, allocations: 0.5478 MB / 466.1 MB, free: 92.49 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001023/0.3282, allocations: 1.206 MB / 467.3 MB, free: 92.35 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.286e-05/0.3283, allocations: 494 kB / 467.8 MB, free: 91.88 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008739/0.3292, allocations: 0.5722 MB / 468.4 MB, free: 91.86 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002473/0.3316, allocations: 5.82 MB / 474.2 MB, free: 84.95 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004027/0.3357, allocations: 7.022 MB / 481.2 MB, free: 77.3 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.873e-05/0.3357, allocations: 34.03 kB / 481.2 MB, free: 77.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=718) (initialization): time 0.006192/0.3419, allocations: 5.006 MB / 486.2 MB, free: 72.88 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.022e-05/0.342, allocations: 56 kB / 486.3 MB, free: 72.83 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.894e-05/0.3421, allocations: 124 kB / 486.4 MB, free: 72.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009311/0.343, allocations: 466.4 kB / 486.9 MB, free: 72.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002007/0.345, allocations: 1.26 MB / 488.1 MB, free: 71.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002135/0.3471, allocations: 2.848 MB / 491 MB, free: 68.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002673/0.3498, allocations: 344.4 kB / 491.3 MB, free: 68.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003691/0.3502, allocations: 338.1 kB / 491.6 MB, free: 67.86 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 570 * 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 (685): * Single equations (assignments): 681 * 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.001297/0.3515, allocations: 0.6151 MB / 492.3 MB, free: 67.24 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004884/0.352, allocations: 320.3 kB / 492.6 MB, free: 66.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001549/0.3535, allocations: 1.064 MB / 493.6 MB, free: 65.95 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.823e-05/0.3535, allocations: 16 kB / 493.6 MB, free: 65.94 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.248e-06/0.3535, allocations: 0 / 493.6 MB, free: 65.94 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.374e-05/0.3536, allocations: 11.92 kB / 493.7 MB, free: 65.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006046/0.3596, allocations: 4.131 MB / 497.8 MB, free: 61.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/0.3596, allocations: 4 kB / 497.8 MB, free: 61.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004846/0.3601, allocations: 172 kB / 498 MB, free: 61.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007731/0.3609, allocations: 272.3 kB / 498.2 MB, free: 61.32 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.259e-05/0.361, allocations: 35.23 kB / 498.3 MB, free: 61.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002018/0.363, allocations: 2.589 MB / 0.4891 GB, free: 58.59 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/0.363, allocations: 4 kB / 0.4891 GB, free: 58.59 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002673/0.3657, allocations: 2.056 MB / 0.4911 GB, free: 56.47 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007976/0.3665, allocations: 437.8 kB / 0.4915 GB, free: 56.04 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002202/0.3667, allocations: 20 kB / 0.4916 GB, free: 56.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006009/0.3673, allocations: 87.81 kB / 0.4916 GB, free: 55.94 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/0.3674, allocations: 80.45 kB / 0.4917 GB, free: 55.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.127e-05/0.3675, allocations: 32 kB / 0.4918 GB, free: 55.83 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001561/0.369, allocations: 1.383 MB / 0.4931 GB, free: 54.45 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.369, allocations: 0 / 0.4931 GB, free: 54.45 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003573/0.3726, allocations: 0.9269 MB / 0.494 GB, free: 53.53 MB / 378.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 (95): * Single equations (assignments): 91 * 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.0004266/0.373, allocations: 179.4 kB / 0.4942 GB, free: 53.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004005/0.377, allocations: 2.671 MB / 0.4968 GB, free: 50.68 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.365e-06/0.377, allocations: 4 kB / 0.4968 GB, free: 50.67 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007342/0.3778, allocations: 0.6248 MB / 0.4974 GB, free: 50.03 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002082/0.3798, allocations: 338.7 kB / 0.4977 GB, free: 49.71 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009325/0.3892, allocations: 6.611 MB / 0.5042 GB, free: 43.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001255/0.3904, allocations: 1.118 MB / 0.5053 GB, free: 41.88 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0021/0.3925, allocations: 1.439 MB / 0.5067 GB, free: 40.44 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003625/0.3929, allocations: 200.5 kB / 0.5069 GB, free: 40.25 MB / 378.7 MB Notification: Performance of SimCode: time 1.953e-06/0.3929, allocations: 0 / 0.5069 GB, free: 40.25 MB / 378.7 MB Notification: Performance of Templates: time 0.03528/0.4282, allocations: 24.61 MB / 0.5309 GB, free: 15.82 MB / 378.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.378604583907872]