Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.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.001043/0.001043, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.001346/0.001346, allocations: 165.9 kB / 24.84 MB, free: 8.711 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.9463/0.9463, allocations: 158.6 MB / 186.7 MB, free: 2.793 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.1741/0.1741, allocations: 32.37 MB / 271.5 MB, free: 14.41 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.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2") translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 348.9 MB, free: 9.164 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.803e-05/1.987e-05, allocations: 4.281 kB / 348.9 MB, free: 9.16 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.00921/0.00923, allocations: 12.56 MB / 361.5 MB, free: 12.54 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007736/0.01697, allocations: 4.721 MB / 366.2 MB, free: 7.809 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001523/0.01849, allocations: 99.56 kB / 366.3 MB, free: 7.711 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004302/0.02279, allocations: 4.217 MB / 370.5 MB, free: 3.48 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003866/0.02666, allocations: 2.375 MB / 372.9 MB, free: 1.09 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002102/0.02876, allocations: 1.306 MB / 374.2 MB, free: 15.78 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.006872/0.03563, allocations: 6.254 MB / 380.5 MB, free: 9.52 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006297/0.04193, allocations: 4.689 MB / 385.1 MB, free: 4.758 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005129/0.04706, allocations: 3.793 MB / 388.9 MB, free: 0.957 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004221/0.05128, allocations: 3.258 MB / 392.2 MB, free: 13.69 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005447/0.05182, allocations: 0.5078 MB / 392.7 MB, free: 13.18 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002069/0.05389, allocations: 1.611 MB / 394.3 MB, free: 11.57 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002273/0.05616, allocations: 2.864 MB / 397.2 MB, free: 8.699 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001524/0.05769, allocations: 1.803 MB / 399 MB, free: 6.891 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006572/0.06426, allocations: 6.38 MB / 405.4 MB, free: 500 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.06427, allocations: 0 / 405.4 MB, free: 500 kB / 330.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.06427, allocations: 4 kB / 405.4 MB, free: 496 kB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001165/0.06439, allocations: 0 / 405.4 MB, free: 496 kB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.008268/0.07266, allocations: 6.728 MB / 412.1 MB, free: 9.672 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.07269, allocations: 12.03 kB / 412.1 MB, free: 9.66 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007494/0.08019, allocations: 2.338 MB / 414.4 MB, free: 7.316 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003264/0.08345, allocations: 2.832 MB / 417.3 MB, free: 4.434 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002126/0.08366, allocations: 368.1 kB / 417.6 MB, free: 4.059 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005107/0.08417, allocations: 436.3 kB / 418.1 MB, free: 3.633 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01153/0.09571, allocations: 7.414 MB / 425.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.304e-05/0.0958, allocations: 51.56 kB / 425.5 MB, free: 10.99 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003272/0.09613, allocations: 195.8 kB / 425.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001756/0.09788, allocations: 2.176 MB / 427.9 MB, free: 8.613 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005826/0.1037, allocations: 3.457 MB / 431.3 MB, free: 5.141 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2258/0.3295, allocations: 54.14 MB / 485.5 MB, free: 54.09 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005143/0.3347, allocations: 2.266 MB / 487.8 MB, free: 53.89 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006921/0.3354, allocations: 0.6953 MB / 488.5 MB, free: 53.83 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006524/0.3419, allocations: 5.781 MB / 494.2 MB, free: 52.58 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/0.3419, allocations: 60.47 kB / 494.3 MB, free: 52.54 MB / 378.7 MB Notification: Performance of pre-optimization done (n=178): time 4.449e-06/0.3419, allocations: 0 / 494.3 MB, free: 52.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=226): time 0.02756/0.3695, allocations: 12.21 MB / 0.4946 GB, free: 45.18 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.561e-05/0.3696, allocations: 239.5 kB / 0.4949 GB, free: 44.89 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002852/0.3724, allocations: 4.191 MB / 0.499 GB, free: 41.39 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.904e-05/0.3725, allocations: 61.7 kB / 0.499 GB, free: 41.32 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001365/0.3739, allocations: 4.301 MB / 0.5032 GB, free: 37.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004484/0.3743, allocations: 0.9305 MB / 0.5041 GB, free: 36.3 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001094/0.3754, allocations: 1.603 MB / 0.5057 GB, free: 34.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.576e-05/0.3754, allocations: 480.7 kB / 0.5061 GB, free: 34.21 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001058/0.3765, allocations: 0.7287 MB / 0.5069 GB, free: 33.48 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003134/0.3796, allocations: 7.327 MB / 0.514 GB, free: 23.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005349/0.385, allocations: 8.767 MB / 0.5226 GB, free: 11.86 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-05/0.385, allocations: 44 kB / 0.5226 GB, free: 11.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=960) (initialization): time 0.00666/0.3917, allocations: 6.135 MB / 0.5286 GB, free: 5.684 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.823e-05/0.3918, allocations: 69 kB / 0.5287 GB, free: 5.617 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-05/0.3919, allocations: 156 kB / 0.5288 GB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00135/0.3932, allocations: 0.6866 MB / 0.5295 GB, free: 4.773 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00246/0.3957, allocations: 1.618 MB / 0.5311 GB, free: 3.152 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003614/0.3993, allocations: 3.881 MB / 0.5349 GB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003017/0.4023, allocations: 319.7 kB / 0.5352 GB, free: 14.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000361/0.4027, allocations: 384 kB / 0.5355 GB, free: 14.47 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 707 * Number of states: 0 () * Number of discrete variables: 37 (jointUSP.prismatic.positiveBranch,bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.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 (905): * Single equations (assignments): 901 * 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 {(1,31,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001714/0.4044, allocations: 0.7496 MB / 0.5363 GB, free: 13.71 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005403/0.4049, allocations: 477.2 kB / 0.5367 GB, free: 13.24 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002435/0.4073, allocations: 1.677 MB / 0.5384 GB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.606e-05/0.4074, allocations: 24 kB / 0.5384 GB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.4074, allocations: 8 kB / 0.5384 GB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/0.4074, allocations: 7.969 kB / 0.5384 GB, free: 11.51 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009804/0.4172, allocations: 6.763 MB / 0.545 GB, free: 4.566 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/0.4172, allocations: 8 kB / 0.545 GB, free: 4.559 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007612/0.418, allocations: 312.3 kB / 0.5453 GB, free: 4.254 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00124/0.4192, allocations: 482.2 kB / 0.5458 GB, free: 3.781 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001184/0.4193, allocations: 51.92 kB / 0.5458 GB, free: 3.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002961/0.4223, allocations: 2.928 MB / 0.5487 GB, free: 0.6914 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.4223, allocations: 8 kB / 0.5487 GB, free: 0.6836 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004197/0.4265, allocations: 3.026 MB / 0.5516 GB, free: 13.54 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009945/0.4275, allocations: 0.5673 MB / 0.5522 GB, free: 12.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003034/0.4278, allocations: 43.98 kB / 0.5522 GB, free: 12.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000782/0.4286, allocations: 43.98 kB / 0.5523 GB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002443/0.4288, allocations: 152.9 kB / 0.5524 GB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.325e-05/0.4289, allocations: 55.98 kB / 0.5525 GB, free: 12.68 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001796/0.4307, allocations: 1.697 MB / 0.5541 GB, free: 10.97 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4307, allocations: 4.031 kB / 0.5541 GB, free: 10.97 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004653/0.4354, allocations: 1.355 MB / 0.5555 GB, free: 9.613 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 2 (revolute.phi,revolute.w) * 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 (179): * Single equations (assignments): 175 * 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 {(1,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004907/0.4358, allocations: 258.5 kB / 0.5557 GB, free: 9.348 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004574/0.4404, allocations: 3.443 MB / 0.5591 GB, free: 5.914 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.187e-06/0.4404, allocations: 0 / 0.5591 GB, free: 5.914 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008852/0.4413, allocations: 0.9148 MB / 0.56 GB, free: 4.984 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001566/0.4429, allocations: 0.4895 MB / 0.5604 GB, free: 4.512 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01439/0.4573, allocations: 9.709 MB / 0.5699 GB, free: 10.61 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001706/0.459, allocations: 1.641 MB / 0.5715 GB, free: 8.949 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0016/0.4606, allocations: 0.5923 MB / 0.5721 GB, free: 8.352 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001296/0.4619, allocations: 0.6934 MB / 0.5728 GB, free: 7.656 MB / 426.7 MB Notification: Performance of SimCode: time 2.946e-06/0.4619, allocations: 0 / 0.5728 GB, free: 7.656 MB / 426.7 MB Notification: Performance of Templates: time 0.2139/0.6757, allocations: 43.21 MB / 0.615 GB, free: 158.5 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointUSP2/JointUSP2.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.91662419680506]