Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.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.001094/0.001094, allocations: 88.2 kB / 20.95 MB, free: 3.602 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.001133/0.001133, allocations: 169 kB / 24.24 MB, free: 312 kB / 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.9426/0.9426, allocations: 158.6 MB / 186 MB, free: 2.633 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.156/0.156, allocations: 32.37 MB / 270.7 MB, free: 14.74 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.JointUPS2,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.JointUPS2") translateModel(ModelicaTest.MultiBody.Joints.JointUPS2,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.JointUPS2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.424e-06/2.424e-06, allocations: 0 / 347.7 MB, free: 9.762 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.474e-05/3.716e-05, allocations: 2.312 kB / 347.7 MB, free: 9.758 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.009711/0.009748, allocations: 11.6 MB / 359.3 MB, free: 14.11 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008766/0.01851, allocations: 4.294 MB / 363.6 MB, free: 9.801 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00266/0.02117, allocations: 83.62 kB / 363.7 MB, free: 9.719 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004069/0.02524, allocations: 2.963 MB / 366.6 MB, free: 6.746 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00546/0.0307, allocations: 2.185 MB / 368.8 MB, free: 4.551 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001865/0.03257, allocations: 1.123 MB / 369.9 MB, free: 3.426 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.006457/0.03902, allocations: 5.81 MB / 375.7 MB, free: 13.59 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00456/0.04358, allocations: 3.513 MB / 379.2 MB, free: 10.03 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005779/0.04936, allocations: 2.728 MB / 382 MB, free: 7.301 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008378/0.05774, allocations: 2.802 MB / 384.8 MB, free: 4.492 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001496/0.05924, allocations: 376 kB / 385.1 MB, free: 4.125 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002542/0.06178, allocations: 1.373 MB / 386.5 MB, free: 2.75 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001907/0.06369, allocations: 2.392 MB / 388.9 MB, free: 360 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002095/0.06578, allocations: 1.468 MB / 390.4 MB, free: 14.88 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006189/0.07197, allocations: 5.453 MB / 395.8 MB, free: 9.402 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.07198, allocations: 0 / 395.8 MB, free: 9.402 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.07198, allocations: 0 / 395.8 MB, free: 9.402 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000103/0.07208, allocations: 0 / 395.8 MB, free: 9.402 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.007806/0.07989, allocations: 6.265 MB / 402.1 MB, free: 3.07 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.07993, allocations: 8.031 kB / 402.1 MB, free: 3.062 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00864/0.08857, allocations: 3.169 MB / 405.3 MB, free: 15.89 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003755/0.09232, allocations: 2.879 MB / 408.1 MB, free: 12.95 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001414/0.09246, allocations: 254.8 kB / 408.4 MB, free: 12.7 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004479/0.09291, allocations: 348.3 kB / 408.7 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009331/0.1022, allocations: 7.634 MB / 416.4 MB, free: 3.605 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.082e-05/0.1023, allocations: 55.56 kB / 416.4 MB, free: 3.551 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003879/0.1027, allocations: 167.8 kB / 416.6 MB, free: 3.387 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002271/0.105, allocations: 2.377 MB / 419 MB, free: 1.008 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008749/0.1137, allocations: 4.426 MB / 423.4 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1996/0.3134, allocations: 51.28 MB / 474.7 MB, free: 44.74 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01075/0.3241, allocations: 3.421 MB / 478.1 MB, free: 44.59 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001773/0.3259, allocations: 1.012 MB / 479.1 MB, free: 44.54 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01003/0.3359, allocations: 7.871 MB / 487 MB, free: 42.95 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.316e-05/0.336, allocations: 57.7 kB / 487 MB, free: 42.9 MB / 378.7 MB Notification: Performance of pre-optimization done (n=204): time 4.95e-06/0.336, allocations: 0 / 487 MB, free: 42.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=265): time 0.05278/0.3888, allocations: 26.02 MB / 0.501 GB, free: 26.58 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.619e-05/0.3888, allocations: 209.2 kB / 0.5012 GB, free: 26.34 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004436/0.3932, allocations: 3.745 MB / 0.5049 GB, free: 22.61 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001768/0.3934, allocations: 64.75 kB / 0.505 GB, free: 22.54 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001494/0.3949, allocations: 3.679 MB / 0.5085 GB, free: 18.89 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007311/0.3956, allocations: 1.069 MB / 0.5096 GB, free: 17.84 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001628/0.3973, allocations: 1.494 MB / 0.511 GB, free: 16.33 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.326e-05/0.3973, allocations: 480.7 kB / 0.5115 GB, free: 15.86 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001921/0.3992, allocations: 1.044 MB / 0.5125 GB, free: 14.81 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003655/0.4029, allocations: 6.89 MB / 0.5193 GB, free: 5.348 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008074/0.411, allocations: 8.731 MB / 0.5278 GB, free: 10.57 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.128e-05/0.411, allocations: 40 kB / 0.5278 GB, free: 10.53 MB / 394.7 MB Notification: Performance of matching and sorting (n=917) (initialization): time 0.01688/0.4279, allocations: 8.274 MB / 0.5359 GB, free: 2.84 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.423e-05/0.428, allocations: 60 kB / 0.536 GB, free: 2.781 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001487/0.4282, allocations: 136 kB / 0.5361 GB, free: 2.648 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006831/0.435, allocations: 2.671 MB / 0.5387 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00279/0.4378, allocations: 1.575 MB / 0.5402 GB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009481/0.4473, allocations: 6.719 MB / 0.5468 GB, free: 7.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003501/0.4508, allocations: 0.4954 MB / 0.5473 GB, free: 7.074 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004442/0.4512, allocations: 410.8 kB / 0.5477 GB, free: 6.676 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 621 * Number of states: 0 () * Number of discrete variables: 36 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],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],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (839): * Single equations (assignments): 835 * 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,51,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001475/0.4527, allocations: 0.7174 MB / 0.5484 GB, free: 5.949 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006097/0.4533, allocations: 457.5 kB / 0.5488 GB, free: 5.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007516/0.4608, allocations: 4.295 MB / 0.553 GB, free: 1.188 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-05/0.4608, allocations: 28 kB / 0.553 GB, free: 1.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/0.4608, allocations: 12 kB / 0.553 GB, free: 1.148 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.737e-05/0.4609, allocations: 19.89 kB / 0.5531 GB, free: 1.129 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01521/0.4761, allocations: 9.308 MB / 0.5621 GB, free: 7.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.862e-05/0.4761, allocations: 0 / 0.5621 GB, free: 7.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001207/0.4773, allocations: 384.8 kB / 0.5625 GB, free: 7.465 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005533/0.4828, allocations: 2.449 MB / 0.5649 GB, free: 5.012 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003964/0.4832, allocations: 43.05 kB / 0.5649 GB, free: 4.973 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008784/0.492, allocations: 5.792 MB / 0.5706 GB, free: 15.06 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.492, allocations: 4 kB / 0.5706 GB, free: 15.06 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01021/0.5022, allocations: 5.549 MB / 0.576 GB, free: 9.441 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001995/0.5042, allocations: 0.8174 MB / 0.5768 GB, free: 8.621 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005227/0.5047, allocations: 44.06 kB / 0.5769 GB, free: 8.574 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001456/0.5062, allocations: 271.5 kB / 0.5771 GB, free: 8.309 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005002/0.5067, allocations: 158.2 kB / 0.5773 GB, free: 8.152 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001482/0.5068, allocations: 67.98 kB / 0.5773 GB, free: 8.086 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002294/0.5091, allocations: 1.639 MB / 0.5789 GB, free: 6.465 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5091, allocations: 0 / 0.5789 GB, free: 6.465 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005033/0.5142, allocations: 1.514 MB / 0.5804 GB, free: 4.953 MB / 442.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 (197): * Single equations (assignments): 193 * 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 {(5,44,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005288/0.5147, allocations: 190.5 kB / 0.5806 GB, free: 4.762 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006901/0.5216, allocations: 4.415 MB / 0.5849 GB, free: 356 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.5216, allocations: 0 / 0.5849 GB, free: 356 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002667/0.5243, allocations: 1.753 MB / 0.5866 GB, free: 14.57 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002466/0.5267, allocations: 457.9 kB / 0.5871 GB, free: 14.13 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01433/0.5411, allocations: 9.396 MB / 0.5962 GB, free: 4.672 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001596/0.5427, allocations: 1.454 MB / 0.5977 GB, free: 3.191 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003217/0.5459, allocations: 1.783 MB / 0.5994 GB, free: 1.402 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008132/0.5467, allocations: 272.4 kB / 0.5997 GB, free: 1.137 MB / 458.7 MB Notification: Performance of SimCode: time 1.433e-06/0.5467, allocations: 4 kB / 0.5997 GB, free: 1.133 MB / 458.7 MB Notification: Performance of Templates: time 0.224/0.7707, allocations: 57.43 MB / 0.6557 GB, free: 146 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.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.940751134883612]