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.001626/0.001626, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 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.00164/0.00164, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 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.554/1.554, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] 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.2428/0.2428, allocations: 46.92 MB / 357.1 MB, free: 10.34 MB / 286.1 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 0.002185/0.002185, allocations: 67.89 kB / 0.4914 GB, free: 7.492 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1418, allocations: 66 MB / 0.5559 GB, free: 5.363 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01571/0.1576, allocations: 11.98 MB / 0.5676 GB, free: 9.324 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01042/0.168, allocations: 4.414 MB / 0.5719 GB, free: 4.891 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002578/0.1706, allocations: 87.56 kB / 0.572 GB, free: 4.805 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00704/0.1776, allocations: 2.784 MB / 0.5747 GB, free: 2.012 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007816/0.1854, allocations: 2.062 MB / 0.5767 GB, free: 15.94 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00297/0.1884, allocations: 1.002 MB / 0.5777 GB, free: 14.94 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.008762/0.1971, allocations: 5.376 MB / 0.5829 GB, free: 9.555 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004703/0.2018, allocations: 2.948 MB / 0.5858 GB, free: 6.559 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00349/0.2053, allocations: 1.775 MB / 0.5875 GB, free: 4.777 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004618/0.21, allocations: 2.64 MB / 0.5901 GB, free: 2.129 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00128/0.2112, allocations: 368 kB / 0.5905 GB, free: 1.77 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003408/0.2146, allocations: 1.455 MB / 0.5919 GB, free: 320 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.3111/0.5258, allocations: 2.224 MB / 0.5941 GB, free: 11.7 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00492/0.5307, allocations: 2.474 MB / 0.5965 GB, free: 10.9 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01495/0.5456, allocations: 8.046 MB / 0.6043 GB, free: 9.672 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.247e-06/0.5456, allocations: 0.9688 kB / 0.6043 GB, free: 9.672 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.5456, allocations: 0.9062 kB / 0.6043 GB, free: 9.672 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003735/0.546, allocations: 3.562 kB / 0.6043 GB, free: 9.672 MB / 446.1 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.02556/0.5716, allocations: 5.865 MB / 0.6101 GB, free: 7.391 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/0.5716, allocations: 9.719 kB / 0.6101 GB, free: 7.391 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01969/0.5913, allocations: 2.629 MB / 0.6126 GB, free: 7.043 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01016/0.6015, allocations: 3.167 MB / 0.6157 GB, free: 6.332 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003314/0.6018, allocations: 254.7 kB / 0.616 GB, free: 6.254 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002413/0.6042, allocations: 346.7 kB / 0.6163 GB, free: 6.176 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02717/0.6314, allocations: 12.37 MB / 0.6284 GB, free: 15.97 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000161/0.6316, allocations: 58.05 kB / 0.6284 GB, free: 15.96 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006097/0.6322, allocations: 168.5 kB / 0.6286 GB, free: 15.89 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004116/0.6363, allocations: 2.377 MB / 0.6309 GB, free: 14.99 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02602/0.6623, allocations: 10.84 MB / 0.6415 GB, free: 7.316 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0872/0.7495, allocations: 48.67 MB / 0.689 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01829/0.7678, allocations: 5.813 MB / 0.6947 GB, free: 4 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00519/0.773, allocations: 3.001 MB / 0.6976 GB, free: 13 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02636/0.7994, allocations: 13.52 MB / 0.7108 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.441e-05/0.7994, allocations: 59.86 kB / 0.7109 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=204): time 5.891e-06/0.7994, allocations: 0 / 0.7109 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of matching and sorting (n=265): time 0.1263/0.9257, allocations: 36.52 MB / 0.7466 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001667/0.9259, allocations: 209.9 kB / 0.7468 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008397/0.9343, allocations: 4.367 MB / 0.751 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001096/0.9354, allocations: 61.7 kB / 0.7511 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003324/0.9387, allocations: 3.519 MB / 0.7545 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001895/0.9406, allocations: 1.026 MB / 0.7555 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002649/0.9433, allocations: 1.428 MB / 0.7569 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.9434, allocations: 309.1 kB / 0.7572 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005694/0.9491, allocations: 3.281 MB / 0.7604 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009225/0.9583, allocations: 7.209 MB / 0.7675 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01705/0.9754, allocations: 11.24 MB / 0.7784 GB, free: 6.719 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00014/0.9755, allocations: 40 kB / 0.7785 GB, free: 6.68 MB / 0.5919 GB Notification: Performance of matching and sorting (n=919) (initialization): time 0.03077/1.006, allocations: 13.26 MB / 0.7914 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001042/1.006, allocations: 75.98 kB / 0.7915 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001611/1.007, allocations: 140 kB / 0.7916 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0112/1.018, allocations: 3.398 MB / 0.7949 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006656/1.024, allocations: 1.579 MB / 0.7965 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03062/1.055, allocations: 17.55 MB / 0.8136 GB, free: 2.605 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0078/1.063, allocations: 427.5 kB / 0.814 GB, free: 2.188 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00158/1.064, allocations: 414.6 kB / 0.8144 GB, free: 1.785 MB / 0.6231 GB 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 (841): * Single equations (assignments): 837 * 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,50,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005672/1.07, allocations: 2.343 MB / 0.8167 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009993/1.071, allocations: 429.1 kB / 0.8171 GB, free: 15.01 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01852/1.09, allocations: 7.967 MB / 0.8249 GB, free: 7.012 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.779e-05/1.09, allocations: 28 kB / 0.8249 GB, free: 6.984 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.875e-05/1.09, allocations: 8 kB / 0.8249 GB, free: 6.977 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.484e-05/1.09, allocations: 15.95 kB / 0.825 GB, free: 6.961 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3481/1.438, allocations: 15.35 MB / 0.8399 GB, free: 217.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-05/1.438, allocations: 1.156 kB / 0.8399 GB, free: 217.9 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00247/1.44, allocations: 389.9 kB / 0.8403 GB, free: 217.9 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01024/1.451, allocations: 3.163 MB / 0.8434 GB, free: 217.9 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000672/1.451, allocations: 44.52 kB / 0.8435 GB, free: 217.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02209/1.473, allocations: 15.81 MB / 0.8589 GB, free: 211.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/1.473, allocations: 0.6562 kB / 0.8589 GB, free: 211.4 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02027/1.494, allocations: 12.13 MB / 0.8707 GB, free: 206.3 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00162/1.495, allocations: 470.7 kB / 0.8712 GB, free: 206.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007453/1.496, allocations: 50.78 kB / 0.8712 GB, free: 206.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002263/1.498, allocations: 183.2 kB / 0.8714 GB, free: 206.1 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006546/1.499, allocations: 153.6 kB / 0.8716 GB, free: 206 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002345/1.499, allocations: 67.16 kB / 0.8716 GB, free: 206 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.004559/1.504, allocations: 2.731 MB / 0.8743 GB, free: 203.8 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.11e-07/1.504, allocations: 0 / 0.8743 GB, free: 203.8 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.007585/1.511, allocations: 1.362 MB / 0.8756 GB, free: 202.5 MB / 0.6387 GB 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.0006458/1.512, allocations: 176.4 kB / 0.8758 GB, free: 202.3 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01206/1.524, allocations: 7.846 MB / 0.8834 GB, free: 194.5 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.724e-06/1.524, allocations: 3.875 kB / 0.8834 GB, free: 194.5 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00485/1.529, allocations: 3.055 MB / 0.8864 GB, free: 191.5 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003627/1.532, allocations: 0.4977 MB / 0.8869 GB, free: 191 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01981/1.552, allocations: 12.02 MB / 0.8987 GB, free: 179.1 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003963/1.556, allocations: 3.667 MB / 0.9022 GB, free: 175.4 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.004623/1.561, allocations: 2.173 MB / 0.9044 GB, free: 173.2 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001156/1.562, allocations: 293.2 kB / 0.9046 GB, free: 173 MB / 0.6387 GB Notification: Performance of SimCode: time 1.433e-06/1.562, allocations: 0 / 0.9046 GB, free: 173 MB / 0.6387 GB Notification: Performance of Templates: time 0.09361/1.656, allocations: 57.72 MB / 0.961 GB, free: 115.5 MB / 0.6387 GB " [Timeout remaining time 658] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.743394006043673]