Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001215/0.001215, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001309/0.001309, allocations: 166.4 kB / 24.99 MB, free: 8.746 MB / 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.003/1.003, allocations: 177.1 MB / 205.3 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2849/0.2849, allocations: 32.81 MB / 294.6 MB, free: 1.281 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.JointUPS2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.444e-06/2.444e-06, allocations: 0 / 376 MB, free: 4.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.14e-05/3.384e-05, allocations: 6.312 kB / 376 MB, free: 4.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01001/0.01004, allocations: 11.53 MB / 387.5 MB, free: 9.395 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008219/0.01826, allocations: 4.293 MB / 391.8 MB, free: 5.09 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001964/0.02022, allocations: 83.56 kB / 391.9 MB, free: 5.008 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003771/0.02399, allocations: 2.947 MB / 394.9 MB, free: 2.051 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004592/0.02859, allocations: 2.146 MB / 397 MB, free: 15.89 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001821/0.03041, allocations: 1.111 MB / 398.1 MB, free: 14.78 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006299/0.03671, allocations: 6.11 MB / 404.2 MB, free: 8.664 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004083/0.04079, allocations: 3.494 MB / 407.7 MB, free: 5.121 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003504/0.04429, allocations: 2.705 MB / 410.4 MB, free: 2.41 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003213/0.04751, allocations: 2.786 MB / 413.2 MB, free: 15.62 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007625/0.04827, allocations: 376 kB / 413.6 MB, free: 15.25 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001801/0.05007, allocations: 1.365 MB / 414.9 MB, free: 13.88 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001634/0.0517, allocations: 2.353 MB / 417.3 MB, free: 11.52 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001554/0.05326, allocations: 1.449 MB / 418.7 MB, free: 10.07 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006669/0.05993, allocations: 5.383 MB / 424.1 MB, free: 4.668 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.05994, allocations: 4 kB / 424.1 MB, free: 4.664 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.05994, allocations: 0 / 424.1 MB, free: 4.664 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002062/0.06014, allocations: 0 / 424.1 MB, free: 4.664 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: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.01045/0.0706, allocations: 6.235 MB / 430.4 MB, free: 14.36 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/0.07065, allocations: 12.03 kB / 430.4 MB, free: 14.35 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01172/0.08237, allocations: 3.157 MB / 433.5 MB, free: 11.19 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005826/0.08819, allocations: 2.84 MB / 436.4 MB, free: 8.293 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002135/0.08841, allocations: 254.8 kB / 436.6 MB, free: 8.043 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008906/0.0893, allocations: 344.3 kB / 437 MB, free: 7.707 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1743/0.2636, allocations: 7.636 MB / 444.6 MB, free: 96.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001372/0.2637, allocations: 54.2 kB / 444.7 MB, free: 96.35 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003074/0.264, allocations: 167.2 kB / 444.8 MB, free: 96.35 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001966/0.266, allocations: 2.38 MB / 447.2 MB, free: 96.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008453/0.2744, allocations: 4.427 MB / 451.6 MB, free: 96.05 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02955/0.304, allocations: 51.24 MB / 0.4911 GB, free: 54.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007499/0.3115, allocations: 3.419 MB / 0.4944 GB, free: 54.21 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001375/0.3128, allocations: 1.019 MB / 0.4954 GB, free: 54.03 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008505/0.3214, allocations: 7.872 MB / 0.5031 GB, free: 49.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.268e-05/0.3214, allocations: 60.58 kB / 0.5032 GB, free: 49.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=204): time 4.899e-06/0.3214, allocations: 0 / 0.5032 GB, free: 49.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=265): time 0.05224/0.3736, allocations: 25.94 MB / 0.5285 GB, free: 30.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.87e-05/0.3737, allocations: 213.9 kB / 0.5287 GB, free: 30.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00323/0.3769, allocations: 3.696 MB / 0.5323 GB, free: 26.78 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001631/0.3771, allocations: 61.7 kB / 0.5324 GB, free: 26.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001344/0.3784, allocations: 3.682 MB / 0.536 GB, free: 23.05 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007141/0.3791, allocations: 1.061 MB / 0.537 GB, free: 22 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001281/0.3804, allocations: 1.5 MB / 0.5385 GB, free: 20.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.992e-05/0.3805, allocations: 476.8 kB / 0.5389 GB, free: 20.02 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001612/0.3821, allocations: 1.044 MB / 0.5399 GB, free: 18.97 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003112/0.3852, allocations: 6.878 MB / 0.5466 GB, free: 9.449 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00683/0.392, allocations: 8.735 MB / 0.5552 GB, free: 14.09 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.954e-05/0.3921, allocations: 40 kB / 0.5552 GB, free: 14.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=917) (initialization): time 0.01589/0.408, allocations: 8.275 MB / 0.5633 GB, free: 5.773 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.158e-05/0.4081, allocations: 71.97 kB / 0.5634 GB, free: 5.703 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000127/0.4082, allocations: 136 kB / 0.5635 GB, free: 5.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005805/0.414, allocations: 2.668 MB / 0.5661 GB, free: 2.891 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003582/0.4176, allocations: 1.579 MB / 0.5676 GB, free: 1.309 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009482/0.4271, allocations: 6.711 MB / 0.5742 GB, free: 10.47 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004013/0.4311, allocations: 499.3 kB / 0.5747 GB, free: 9.984 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006416/0.4317, allocations: 412 kB / 0.5751 GB, free: 9.582 MB / 442.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.001863/0.4336, allocations: 0.7002 MB / 0.5758 GB, free: 8.867 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008795/0.4345, allocations: 465.4 kB / 0.5762 GB, free: 8.41 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007653/0.4421, allocations: 4.291 MB / 0.5804 GB, free: 4.098 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.687e-05/0.4421, allocations: 28 kB / 0.5804 GB, free: 4.07 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.538e-05/0.4422, allocations: 12 kB / 0.5804 GB, free: 4.059 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.013e-05/0.4422, allocations: 15.98 kB / 0.5804 GB, free: 4.043 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01447/0.4566, allocations: 9.28 MB / 0.5895 GB, free: 10.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.849e-06/0.4567, allocations: 7.984 kB / 0.5895 GB, free: 10.69 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001042/0.4577, allocations: 383.4 kB / 0.5899 GB, free: 10.31 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005143/0.4628, allocations: 2.438 MB / 0.5923 GB, free: 7.863 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000196/0.463, allocations: 51.91 kB / 0.5923 GB, free: 7.816 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008357/0.4714, allocations: 5.793 MB / 0.598 GB, free: 1.902 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.4714, allocations: 0 / 0.598 GB, free: 1.902 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1904/0.6618, allocations: 5.55 MB / 0.6034 GB, free: 126.7 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001211/0.663, allocations: 375.5 kB / 0.6037 GB, free: 126.7 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005756/0.6635, allocations: 37.53 kB / 0.6038 GB, free: 126.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001803/0.6653, allocations: 255.5 kB / 0.604 GB, free: 126.7 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006286/0.666, allocations: 161.1 kB / 0.6042 GB, free: 126.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001918/0.6662, allocations: 68.69 kB / 0.6042 GB, free: 126.7 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002459/0.6686, allocations: 1.606 MB / 0.6058 GB, free: 126.5 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6686, allocations: 0 / 0.6058 GB, free: 126.5 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005415/0.674, allocations: 1.48 MB / 0.6073 GB, free: 126.5 MB / 458.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.0005715/0.6746, allocations: 193.8 kB / 0.6074 GB, free: 126.4 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008321/0.6829, allocations: 4.411 MB / 0.6117 GB, free: 125.8 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/0.6829, allocations: 6 kB / 0.6118 GB, free: 125.8 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002931/0.6859, allocations: 1.748 MB / 0.6135 GB, free: 125.5 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002676/0.6885, allocations: 448.6 kB / 0.6139 GB, free: 125.5 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01377/0.7023, allocations: 9.355 MB / 0.623 GB, free: 122.1 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001379/0.7037, allocations: 1.451 MB / 0.6244 GB, free: 122 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003279/0.707, allocations: 1.782 MB / 0.6262 GB, free: 121.9 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008495/0.7078, allocations: 271.1 kB / 0.6264 GB, free: 121.9 MB / 458.7 MB Notification: Performance of SimCode: time 2.405e-06/0.7078, allocations: 0 / 0.6264 GB, free: 121.9 MB / 458.7 MB Notification: Performance of Templates: time 0.06687/0.7747, allocations: 56.86 MB / 0.682 GB, free: 83.46 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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: 5.099821735871956]