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.001105/0.001105, allocations: 95.31 kB / 20.43 MB, free: 4.145 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.000955/0.000955, allocations: 165.3 kB / 23.8 MB, free: 0.7773 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 1.034/1.034, allocations: 158.6 MB / 185.7 MB, free: 2.93 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.1406/0.1406, allocations: 32.37 MB / 270.4 MB, free: 14.71 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.344e-06/2.344e-06, allocations: 3.938 kB / 347.7 MB, free: 9.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.302e-05/4.537e-05, allocations: 4.281 kB / 347.7 MB, free: 9.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01316/0.0132, allocations: 11.63 MB / 359.3 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01109/0.02429, allocations: 4.314 MB / 363.6 MB, free: 9.422 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003182/0.02748, allocations: 91.56 kB / 363.7 MB, free: 9.332 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005359/0.03283, allocations: 2.959 MB / 366.7 MB, free: 6.363 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005837/0.03867, allocations: 2.189 MB / 368.9 MB, free: 4.164 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002312/0.04098, allocations: 1.123 MB / 370 MB, free: 3.035 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.007843/0.04883, allocations: 5.805 MB / 375.8 MB, free: 13.21 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005727/0.05455, allocations: 3.509 MB / 379.3 MB, free: 9.656 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005767/0.06032, allocations: 3.146 MB / 382.5 MB, free: 6.504 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003905/0.06422, allocations: 2.743 MB / 385.2 MB, free: 3.754 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001139/0.06536, allocations: 368 kB / 385.6 MB, free: 3.395 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002564/0.06793, allocations: 1.353 MB / 386.9 MB, free: 2.039 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002396/0.07032, allocations: 2.38 MB / 389.3 MB, free: 15.65 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00268/0.073, allocations: 1.46 MB / 390.8 MB, free: 14.19 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007063/0.08006, allocations: 5.406 MB / 396.2 MB, free: 8.762 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/0.08007, allocations: 0 / 396.2 MB, free: 8.762 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.08007, allocations: 0 / 396.2 MB, free: 8.762 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002867/0.08036, allocations: 0 / 396.2 MB, free: 8.762 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.01131/0.09167, allocations: 6.281 MB / 402.4 MB, free: 2.414 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.498e-05/0.09173, allocations: 12.03 kB / 402.5 MB, free: 2.402 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009385/0.1011, allocations: 3.118 MB / 405.6 MB, free: 15.28 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005203/0.1063, allocations: 2.727 MB / 408.3 MB, free: 12.49 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002187/0.1065, allocations: 254.8 kB / 408.5 MB, free: 12.24 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001058/0.1076, allocations: 352.3 kB / 408.9 MB, free: 11.9 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01932/0.1269, allocations: 7.615 MB / 416.5 MB, free: 3.164 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001097/0.127, allocations: 51.58 kB / 416.6 MB, free: 3.113 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004371/0.1275, allocations: 163.8 kB / 416.7 MB, free: 2.953 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002522/0.13, allocations: 2.268 MB / 419 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008545/0.1385, allocations: 4.227 MB / 423.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2257/0.3642, allocations: 51.7 MB / 474.9 MB, free: 56.29 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009732/0.374, allocations: 3.127 MB / 478 MB, free: 56.14 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001741/0.3757, allocations: 0.7996 MB / 478.8 MB, free: 56.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01209/0.3878, allocations: 6.809 MB / 485.7 MB, free: 54.62 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.356e-05/0.3879, allocations: 54.39 kB / 485.7 MB, free: 54.58 MB / 378.7 MB Notification: Performance of pre-optimization done (n=165): time 5.17e-06/0.3879, allocations: 0 / 485.7 MB, free: 54.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=203): time 0.06595/0.4538, allocations: 28.73 MB / 0.5024 GB, free: 32.2 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.843e-05/0.4539, allocations: 205.2 kB / 0.5026 GB, free: 31.95 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004498/0.4584, allocations: 3.907 MB / 0.5064 GB, free: 28.25 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003879/0.4588, allocations: 49.7 kB / 0.5064 GB, free: 28.19 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001635/0.4604, allocations: 3.819 MB / 0.5102 GB, free: 24.6 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007119/0.4611, allocations: 0.8415 MB / 0.511 GB, free: 23.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001255/0.4624, allocations: 1.448 MB / 0.5124 GB, free: 22.3 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.373e-05/0.4624, allocations: 484.7 kB / 0.5129 GB, free: 21.83 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001337/0.4638, allocations: 0.8957 MB / 0.5137 GB, free: 20.93 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00357/0.4673, allocations: 7.026 MB / 0.5206 GB, free: 11.17 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006428/0.4738, allocations: 8.715 MB / 0.5291 GB, free: 108 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001164/0.4739, allocations: 40 kB / 0.5291 GB, free: 68 kB / 378.7 MB Notification: Performance of matching and sorting (n=891) (initialization): time 0.01532/0.4892, allocations: 8.202 MB / 0.5372 GB, free: 7.859 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001201/0.4893, allocations: 68 kB / 0.5372 GB, free: 7.793 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001823/0.4895, allocations: 147.9 kB / 0.5374 GB, free: 7.648 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006554/0.4961, allocations: 2.894 MB / 0.5402 GB, free: 4.746 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003674/0.4997, allocations: 1.544 MB / 0.5417 GB, free: 3.203 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009269/0.509, allocations: 6.31 MB / 0.5479 GB, free: 12.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004257/0.5133, allocations: 0.5044 MB / 0.5483 GB, free: 12.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000934/0.5142, allocations: 409.3 kB / 0.5487 GB, free: 11.88 MB / 410.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.002287/0.5165, allocations: 0.7106 MB / 0.5494 GB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009545/0.5174, allocations: 426.6 kB / 0.5498 GB, free: 10.74 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006849/0.5243, allocations: 3.855 MB / 0.5536 GB, free: 6.859 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.631e-05/0.5243, allocations: 20 kB / 0.5536 GB, free: 6.84 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.582e-05/0.5243, allocations: 8 kB / 0.5536 GB, free: 6.832 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.263e-05/0.5244, allocations: 11.97 kB / 0.5536 GB, free: 6.82 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01744/0.5418, allocations: 8.973 MB / 0.5624 GB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.459e-05/0.5418, allocations: 0 / 0.5624 GB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009758/0.5428, allocations: 284.3 kB / 0.5627 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005695/0.5485, allocations: 2.412 MB / 0.565 GB, free: 11.12 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001985/0.5487, allocations: 32 kB / 0.5651 GB, free: 11.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007332/0.556, allocations: 5.139 MB / 0.5701 GB, free: 5.832 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.556, allocations: 8.031 kB / 0.5701 GB, free: 5.824 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008041/0.5641, allocations: 4.888 MB / 0.5749 GB, free: 0.8906 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001509/0.5656, allocations: 0.6886 MB / 0.5755 GB, free: 204 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003655/0.5659, allocations: 32 kB / 0.5756 GB, free: 172 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001118/0.5671, allocations: 222.3 kB / 0.5758 GB, free: 15.95 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003411/0.5674, allocations: 128.9 kB / 0.5759 GB, free: 15.82 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001014/0.5675, allocations: 52 kB / 0.576 GB, free: 15.77 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002258/0.5698, allocations: 1.697 MB / 0.5776 GB, free: 14.1 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.5698, allocations: 0 / 0.5776 GB, free: 14.1 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00478/0.5745, allocations: 1.422 MB / 0.579 GB, free: 12.68 MB / 442.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.0004858/0.575, allocations: 192.2 kB / 0.5792 GB, free: 12.48 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00572/0.5807, allocations: 3.856 MB / 0.5829 GB, free: 8.637 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/0.5808, allocations: 0 / 0.5829 GB, free: 8.637 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001732/0.5825, allocations: 1.23 MB / 0.5841 GB, free: 7.391 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002222/0.5847, allocations: 446.5 kB / 0.5846 GB, free: 6.973 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01303/0.5977, allocations: 8.72 MB / 0.5931 GB, free: 14.14 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001536/0.5993, allocations: 1.409 MB / 0.5945 GB, free: 12.71 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002989/0.6023, allocations: 1.743 MB / 0.5962 GB, free: 10.96 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007875/0.6031, allocations: 256.5 kB / 0.5964 GB, free: 10.7 MB / 458.7 MB Notification: Performance of SimCode: time 3.867e-06/0.6031, allocations: 0 / 0.5964 GB, free: 10.7 MB / 458.7 MB Notification: Performance of Templates: time 0.2293/0.8323, allocations: 52.09 MB / 0.6473 GB, free: 136.2 MB / 458.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: 5.017553034238517]