Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001259/0.001259, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002121/0.00338, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001322/0.001322, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001803/0.003125, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.129/1.129, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1062/1.235, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2897/0.2897, allocations: 34.26 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02957/0.3192, allocations: 13.1 MB / 291.5 MB, free: 7.332 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.MultiBody.Joints.JointUPS2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 3.938 kB / 292.8 MB, free: 6.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.996e-05/3.21e-05, allocations: 4.734 kB / 292.8 MB, free: 6.191 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.009556/0.009588, allocations: 11.42 MB / 304.3 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009363/0.01895, allocations: 4.477 MB / 308.7 MB, free: 6.234 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002137/0.02109, allocations: 87.56 kB / 308.8 MB, free: 6.148 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003753/0.02484, allocations: 2.814 MB / 311.6 MB, free: 3.324 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005981/0.03082, allocations: 2.111 MB / 313.8 MB, free: 1.203 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002236/0.03306, allocations: 1.041 MB / 314.8 MB, free: 160 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.007297/0.04036, allocations: 5.751 MB / 320.5 MB, free: 10.39 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004831/0.04519, allocations: 3.089 MB / 323.6 MB, free: 7.242 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005367/0.05055, allocations: 3.227 MB / 326.9 MB, free: 4.012 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004004/0.05456, allocations: 2.595 MB / 329.5 MB, free: 1.41 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001205/0.05576, allocations: 372 kB / 329.8 MB, free: 1.047 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003209/0.05897, allocations: 1.381 MB / 331.2 MB, free: 15.66 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001951/0.06092, allocations: 2.088 MB / 333.3 MB, free: 13.57 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002191/0.06311, allocations: 1.161 MB / 334.4 MB, free: 12.41 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007399/0.07051, allocations: 4.908 MB / 339.4 MB, free: 7.48 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.412e-05/0.07053, allocations: 0 / 339.4 MB, free: 7.48 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.07053, allocations: 4 kB / 339.4 MB, free: 7.477 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002711/0.0708, allocations: 0 / 339.4 MB, free: 7.477 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.01117/0.08197, allocations: 6.24 MB / 345.6 MB, free: 1.164 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.08201, allocations: 8.031 kB / 345.6 MB, free: 1.156 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00426/0.08627, allocations: 1.242 MB / 346.8 MB, free: 15.91 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004078/0.09035, allocations: 2.213 MB / 349.1 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001599/0.09051, allocations: 254.8 kB / 349.3 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008065/0.09132, allocations: 344.3 kB / 349.6 MB, free: 13.06 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01069/0.102, allocations: 5.931 MB / 355.6 MB, free: 6.293 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001669/0.1022, allocations: 59.5 kB / 355.6 MB, free: 6.234 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006275/0.1028, allocations: 163.8 kB / 355.8 MB, free: 6.074 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002025/0.1048, allocations: 1.971 MB / 357.8 MB, free: 4.094 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007892/0.1127, allocations: 3.082 MB / 360.8 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0382/0.1509, allocations: 36.96 MB / 397.8 MB, free: 10.62 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00571/0.1566, allocations: 2.382 MB / 400.2 MB, free: 8.199 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007413/0.1574, allocations: 0.5408 MB / 400.7 MB, free: 7.652 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008062/0.1654, allocations: 5.491 MB / 406.2 MB, free: 2.129 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.925e-05/0.1655, allocations: 55.5 kB / 406.3 MB, free: 2.066 MB / 394.7 MB Notification: Performance of pre-optimization done (n=165): time 5.421e-06/0.1655, allocations: 0 / 406.3 MB, free: 2.066 MB / 394.7 MB Notification: Performance of matching and sorting (n=203): time 0.04255/0.208, allocations: 15.82 MB / 422.1 MB, free: 2.207 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.698e-05/0.2081, allocations: 145.8 kB / 422.2 MB, free: 2.035 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004325/0.2124, allocations: 3.463 MB / 425.7 MB, free: 14.59 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003413/0.2128, allocations: 53.7 kB / 425.8 MB, free: 14.53 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00204/0.2148, allocations: 3.419 MB / 429.2 MB, free: 11.07 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009465/0.2158, allocations: 0.8062 MB / 430 MB, free: 10.26 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001394/0.2172, allocations: 1.283 MB / 431.3 MB, free: 8.969 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.251e-05/0.2172, allocations: 301.1 kB / 431.6 MB, free: 8.672 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001701/0.2189, allocations: 0.968 MB / 432.5 MB, free: 7.699 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003745/0.2227, allocations: 4.977 MB / 437.5 MB, free: 0.668 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2134/0.4361, allocations: 6.96 MB / 444.5 MB, free: 110.5 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000162/0.4362, allocations: 43.31 kB / 444.5 MB, free: 110.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=891) (initialization): time 0.01231/0.4485, allocations: 5.733 MB / 450.2 MB, free: 109.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.006e-05/0.4486, allocations: 66.06 kB / 450.3 MB, free: 109.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002085/0.4488, allocations: 152.1 kB / 450.5 MB, free: 109.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004754/0.4536, allocations: 1.765 MB / 452.2 MB, free: 109.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00343/0.457, allocations: 1.641 MB / 453.9 MB, free: 109.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007479/0.4645, allocations: 4.727 MB / 458.6 MB, free: 107.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00454/0.469, allocations: 300.8 kB / 458.9 MB, free: 107.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001212/0.4703, allocations: 354.6 kB / 459.2 MB, free: 107.2 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 659 * 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 (825): * Single equations (assignments): 821 * 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,41,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002411/0.4727, allocations: 0.6701 MB / 459.9 MB, free: 106.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007574/0.4734, allocations: 248.8 kB / 460.1 MB, free: 106.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004578/0.478, allocations: 2.339 MB / 462.5 MB, free: 105.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.384e-05/0.478, allocations: 25.31 kB / 462.5 MB, free: 105.4 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-05/0.478, allocations: 8 kB / 462.5 MB, free: 105.4 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.052e-05/0.4781, allocations: 8.391 kB / 462.5 MB, free: 105.4 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01218/0.4902, allocations: 6.555 MB / 469.1 MB, free: 100.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.76e-05/0.4903, allocations: 12.19 kB / 469.1 MB, free: 100.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001079/0.4914, allocations: 279.7 kB / 469.4 MB, free: 99.79 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00109/0.4925, allocations: 343 kB / 469.7 MB, free: 99.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005404/0.4979, allocations: 1.71 MB / 471.4 MB, free: 97.96 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002751/0.4981, allocations: 36 kB / 471.4 MB, free: 97.92 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005751/0.5039, allocations: 3.727 MB / 475.2 MB, free: 94.18 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/0.5039, allocations: 3.5 kB / 475.2 MB, free: 94.18 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005768/0.5097, allocations: 3.226 MB / 478.4 MB, free: 90.96 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009182/0.5106, allocations: 35.75 kB / 478.4 MB, free: 90.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009914/0.5116, allocations: 43.98 kB / 478.5 MB, free: 90.88 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003273/0.5119, allocations: 128.9 kB / 478.6 MB, free: 90.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.514e-05/0.512, allocations: 36 kB / 478.6 MB, free: 90.72 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0014/0.5134, allocations: 1.271 MB / 479.9 MB, free: 89.62 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5134, allocations: 0 / 479.9 MB, free: 89.62 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004511/0.5179, allocations: 1.404 MB / 481.3 MB, free: 88.23 MB / 426.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 (147): * Single equations (assignments): 143 * 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,35,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000453/0.5184, allocations: 164.6 kB / 481.5 MB, free: 88.07 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004771/0.5231, allocations: 3.318 MB / 484.8 MB, free: 85.04 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000221/0.5233, allocations: 113 kB / 484.9 MB, free: 84.92 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001266/0.5246, allocations: 0.988 MB / 485.9 MB, free: 83.95 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003525/0.5281, allocations: 3.215 MB / 489.1 MB, free: 80.35 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01446/0.5426, allocations: 8.71 MB / 497.8 MB, free: 71.61 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00153/0.5441, allocations: 1.402 MB / 499.2 MB, free: 70.18 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001652/0.5458, allocations: 0.5267 MB / 499.7 MB, free: 69.65 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000872/0.5466, allocations: 0.5753 MB / 0.4886 GB, free: 69.07 MB / 426.7 MB Notification: Performance of SimCode: time 3.406e-06/0.5466, allocations: 0 / 0.4886 GB, free: 69.07 MB / 426.7 MB Notification: Performance of Templates: time 0.06767/0.6143, allocations: 52.83 MB / 0.5402 GB, free: 16.45 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.442809984087944]