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.00186/0.00186, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.002164/0.002164, allocations: 169.3 kB / 24.26 MB, free: 144 kB / 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.597/1.597, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.3546/0.3546, allocations: 32.8 MB / 293.9 MB, free: 1.191 MB / 266.7 MB " [Timeout remaining time 179] 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.054e-06/2.054e-06, allocations: 0 / 375.3 MB, free: 4.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.133e-05/3.338e-05, allocations: 2.312 kB / 375.3 MB, free: 4.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01427/0.0143, allocations: 10.47 MB / 385.7 MB, free: 10.46 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00948/0.02378, allocations: 4.188 MB / 389.9 MB, free: 6.258 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001531/0.02532, allocations: 79.62 kB / 390 MB, free: 6.18 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005922/0.03124, allocations: 2.865 MB / 392.9 MB, free: 3.305 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005796/0.03703, allocations: 2.131 MB / 395 MB, free: 1.164 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002472/0.03951, allocations: 1.127 MB / 396.1 MB, free: 36 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.008618/0.04812, allocations: 6.097 MB / 402.2 MB, free: 9.926 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005441/0.05356, allocations: 3.501 MB / 405.7 MB, free: 6.375 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005088/0.05865, allocations: 2.689 MB / 408.4 MB, free: 3.684 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0057/0.06435, allocations: 2.747 MB / 411.1 MB, free: 0.9297 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007786/0.06513, allocations: 376 kB / 411.5 MB, free: 0.5625 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002963/0.06809, allocations: 1.377 MB / 412.9 MB, free: 15.18 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00279/0.07088, allocations: 2.337 MB / 415.2 MB, free: 12.84 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002169/0.07305, allocations: 1.441 MB / 416.7 MB, free: 11.39 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01121/0.08426, allocations: 8.185 MB / 424.9 MB, free: 3.184 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.08426, allocations: 0 / 424.9 MB, free: 3.184 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.08426, allocations: 0 / 424.9 MB, free: 3.184 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002221/0.08449, allocations: 0 / 424.9 MB, free: 3.184 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.01487/0.09936, allocations: 5.88 MB / 430.7 MB, free: 13.24 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.616e-05/0.09941, allocations: 12.03 kB / 430.7 MB, free: 13.23 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01927/0.1187, allocations: 3.231 MB / 434 MB, free: 9.992 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008594/0.1273, allocations: 3.091 MB / 437.1 MB, free: 6.848 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000342/0.1276, allocations: 254.8 kB / 437.3 MB, free: 6.598 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001453/0.1291, allocations: 352.3 kB / 437.7 MB, free: 6.254 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2134/0.3424, allocations: 12.53 MB / 450.2 MB, free: 94.82 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001191/0.3425, allocations: 54.47 kB / 450.2 MB, free: 94.8 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004389/0.343, allocations: 165.8 kB / 450.4 MB, free: 94.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003244/0.3462, allocations: 2.375 MB / 452.8 MB, free: 94.31 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01906/0.3653, allocations: 10.89 MB / 463.7 MB, free: 91 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05937/0.4247, allocations: 45.84 MB / 0.4976 GB, free: 60 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01587/0.4405, allocations: 5.529 MB / 0.503 GB, free: 56.6 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003605/0.4441, allocations: 3.049 MB / 0.5059 GB, free: 53.9 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01668/0.4608, allocations: 12.12 MB / 0.5178 GB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.88e-05/0.4608, allocations: 51.88 kB / 0.5178 GB, free: 42.36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=206): time 5.2e-06/0.4608, allocations: 0 / 0.5178 GB, free: 42.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=267): time 0.1311/0.5919, allocations: 47.24 MB / 0.564 GB, free: 11.35 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001823/0.5921, allocations: 209.9 kB / 0.5642 GB, free: 11.1 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007296/0.5994, allocations: 4.194 MB / 0.5683 GB, free: 6.973 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007993/0.6002, allocations: 72.2 kB / 0.5683 GB, free: 6.898 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003655/0.6039, allocations: 3.498 MB / 0.5717 GB, free: 3.414 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002034/0.6059, allocations: 1.018 MB / 0.5727 GB, free: 2.391 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002725/0.6086, allocations: 1.406 MB / 0.5741 GB, free: 0.9766 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.6088, allocations: 309.1 kB / 0.5744 GB, free: 0.6719 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006419/0.6152, allocations: 3.504 MB / 0.5778 GB, free: 13.16 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01153/0.6267, allocations: 7.458 MB / 0.5851 GB, free: 3.781 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01869/0.6454, allocations: 11.66 MB / 0.5965 GB, free: 6.219 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001521/0.6456, allocations: 44 kB / 0.5965 GB, free: 6.176 MB / 458.7 MB Notification: Performance of matching and sorting (n=916) (initialization): time 0.2406/0.8862, allocations: 14.86 MB / 0.6111 GB, free: 129 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001369/0.8863, allocations: 66.12 kB / 0.6111 GB, free: 129 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002522/0.8866, allocations: 133.5 kB / 0.6112 GB, free: 129 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01559/0.9022, allocations: 5.303 MB / 0.6164 GB, free: 128.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006033/0.9082, allocations: 1.583 MB / 0.618 GB, free: 128.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0285/0.9367, allocations: 20.65 MB / 0.6381 GB, free: 119.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00604/0.9427, allocations: 0.5389 MB / 0.6387 GB, free: 119.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001141/0.9439, allocations: 408.8 kB / 0.639 GB, free: 119.6 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 618 * 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 (835): * Single equations (assignments): 831 * 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,53,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004158/0.948, allocations: 2.346 MB / 0.6413 GB, free: 118.6 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001171/0.9492, allocations: 456.2 kB / 0.6418 GB, free: 118.6 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01831/0.9675, allocations: 9.29 MB / 0.6508 GB, free: 115.7 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.316e-05/0.9676, allocations: 27.62 kB / 0.6509 GB, free: 115.7 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.958e-05/0.9676, allocations: 15.81 kB / 0.6509 GB, free: 115.7 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-05/0.9677, allocations: 15.55 kB / 0.6509 GB, free: 115.7 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02956/0.9972, allocations: 15.88 MB / 0.6664 GB, free: 103.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.034e-05/0.9973, allocations: 0 / 0.6664 GB, free: 103.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002124/0.9994, allocations: 387.5 kB / 0.6668 GB, free: 103.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01323/1.013, allocations: 5.056 MB / 0.6717 GB, free: 98.23 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005979/1.013, allocations: 43.98 kB / 0.6718 GB, free: 98.18 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02295/1.036, allocations: 18.76 MB / 0.6901 GB, free: 79.43 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.718e-06/1.036, allocations: 0 / 0.6901 GB, free: 79.43 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02267/1.059, allocations: 13.85 MB / 0.7036 GB, free: 65.72 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001326/1.06, allocations: 389.8 kB / 0.704 GB, free: 65.37 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001047/1.061, allocations: 44 kB / 0.704 GB, free: 65.33 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002826/1.064, allocations: 287.5 kB / 0.7043 GB, free: 65.05 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000808/1.065, allocations: 170.2 kB / 0.7045 GB, free: 64.88 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002418/1.065, allocations: 64 kB / 0.7045 GB, free: 64.82 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003566/1.069, allocations: 2.465 MB / 0.7069 GB, free: 62.37 MB / 458.7 MB Notification: Performance of sort global known variables: time 1e-07/1.069, allocations: 0 / 0.7069 GB, free: 62.37 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007332/1.076, allocations: 1.534 MB / 0.7084 GB, free: 60.84 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 (196): * Single equations (assignments): 192 * 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,47,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009562/1.077, allocations: 186.3 kB / 0.7086 GB, free: 60.66 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01268/1.09, allocations: 8.34 MB / 0.7168 GB, free: 52.33 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/1.09, allocations: 0 / 0.7168 GB, free: 52.33 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0051/1.095, allocations: 3.34 MB / 0.72 GB, free: 48.98 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004425/1.099, allocations: 467.7 kB / 0.7205 GB, free: 48.55 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01951/1.119, allocations: 12.28 MB / 0.7325 GB, free: 36.23 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003512/1.122, allocations: 3.139 MB / 0.7355 GB, free: 33.07 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004449/1.127, allocations: 2.13 MB / 0.7376 GB, free: 30.93 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001083/1.128, allocations: 271.5 kB / 0.7379 GB, free: 30.67 MB / 458.7 MB Notification: Performance of SimCode: time 2.284e-06/1.128, allocations: 4 kB / 0.7379 GB, free: 30.67 MB / 458.7 MB Notification: Performance of Templates: time 0.2667/1.394, allocations: 61.31 MB / 0.7977 GB, free: 135.7 MB / 474.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.397754746023566]