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.0006525/0.0006525, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.000927/0.000927, allocations: 173.9 kB / 23.96 MB, free: 0.5977 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 0.9098/0.9098, allocations: 158.6 MB / 185.7 MB, free: 3.039 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.1299/0.1299, allocations: 32.37 MB / 270.4 MB, free: 14.97 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 1.452e-06/1.452e-06, allocations: 0 / 408.1 MB, free: 13.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.06e-05/2.205e-05, allocations: 2.281 kB / 408.1 MB, free: 13.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.008575/0.008597, allocations: 10.54 MB / 418.7 MB, free: 2.426 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.006939/0.01554, allocations: 4.177 MB / 422.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009632/0.0165, allocations: 83.56 kB / 422.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002922/0.01942, allocations: 2.834 MB / 425.7 MB, free: 11.3 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002823/0.02224, allocations: 2.169 MB / 427.9 MB, free: 9.125 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001468/0.02371, allocations: 1.119 MB / 429 MB, free: 8.004 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004163/0.02787, allocations: 5.793 MB / 434.8 MB, free: 2.199 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1799/0.2077, allocations: 3.393 MB / 438.2 MB, free: 17.66 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003763/0.2115, allocations: 2.718 MB / 440.9 MB, free: 17.66 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00293/0.2144, allocations: 2.756 MB / 443.7 MB, free: 17.66 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004469/0.2149, allocations: 376.5 kB / 444.1 MB, free: 17.66 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002038/0.2169, allocations: 1.378 MB / 445.4 MB, free: 17.66 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001696/0.2186, allocations: 2.378 MB / 447.8 MB, free: 17.54 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001252/0.2199, allocations: 1.459 MB / 449.3 MB, free: 17.3 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006167/0.226, allocations: 8.235 MB / 457.5 MB, free: 14.86 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.226, allocations: 0 / 457.5 MB, free: 14.86 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.023e-06/0.226, allocations: 1.125 kB / 457.5 MB, free: 14.86 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.91e-05/0.2261, allocations: 0 / 457.5 MB, free: 14.86 MB / 362.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.007113/0.2332, allocations: 5.887 MB / 463.4 MB, free: 10.94 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.2333, allocations: 8.781 kB / 463.4 MB, free: 10.94 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00749/0.2408, allocations: 2.694 MB / 466.1 MB, free: 9.664 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003868/0.2446, allocations: 3.197 MB / 469.3 MB, free: 7.906 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.983e-05/0.2447, allocations: 256 kB / 469.6 MB, free: 7.832 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004272/0.2452, allocations: 344.6 kB / 469.9 MB, free: 7.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01142/0.2566, allocations: 12.47 MB / 482.4 MB, free: 11.95 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.521e-05/0.2567, allocations: 62.95 kB / 482.4 MB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003248/0.257, allocations: 165.9 kB / 482.6 MB, free: 11.79 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002278/0.2593, allocations: 2.374 MB / 485 MB, free: 9.445 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01338/0.2727, allocations: 10.82 MB / 495.8 MB, free: 14.83 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0447/0.3174, allocations: 45.68 MB / 0.5288 GB, free: 0.5664 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01033/0.3277, allocations: 5.526 MB / 0.5342 GB, free: 11.01 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003999/0.3317, allocations: 3.014 MB / 0.5371 GB, free: 7.984 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01823/0.3499, allocations: 11.96 MB / 0.5488 GB, free: 12.05 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.128e-05/0.35, allocations: 67.52 kB / 0.5488 GB, free: 11.98 MB / 458.7 MB Notification: Performance of pre-optimization done (n=204): time 6.593e-06/0.35, allocations: 4 kB / 0.5489 GB, free: 11.98 MB / 458.7 MB Notification: Performance of matching and sorting (n=265): time 0.06906/0.419, allocations: 37.31 MB / 0.5853 GB, free: 6.723 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003953/0.4194, allocations: 213.7 kB / 0.5855 GB, free: 6.477 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005253/0.4247, allocations: 4.315 MB / 0.5897 GB, free: 2.172 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007829/0.4255, allocations: 61.7 kB / 0.5898 GB, free: 2.105 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002022/0.4275, allocations: 3.512 MB / 0.5932 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001446/0.4289, allocations: 1.014 MB / 0.5942 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00198/0.4309, allocations: 1.402 MB / 0.5956 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.707e-05/0.431, allocations: 308.9 kB / 0.5958 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003823/0.4348, allocations: 3.281 MB / 0.5991 GB, free: 8.617 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007196/0.442, allocations: 7.251 MB / 0.6061 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0123/0.4543, allocations: 11.22 MB / 0.6171 GB, free: 2.422 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001473/0.4545, allocations: 40 kB / 0.6171 GB, free: 2.383 MB / 0.5105 GB Notification: Performance of matching and sorting (n=917) (initialization): time 0.219/0.6735, allocations: 13.19 MB / 0.63 GB, free: 171.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001036/0.6736, allocations: 65.66 kB / 0.6301 GB, free: 171.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002138/0.6738, allocations: 140.3 kB / 0.6302 GB, free: 171.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006654/0.6804, allocations: 3.393 MB / 0.6335 GB, free: 170.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003536/0.684, allocations: 1.57 MB / 0.6351 GB, free: 170.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01432/0.6983, allocations: 16.91 MB / 0.6516 GB, free: 162.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004192/0.7025, allocations: 499.7 kB / 0.652 GB, free: 162.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005159/0.703, allocations: 413.4 kB / 0.6524 GB, free: 161.7 MB / 0.5105 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 (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.003303/0.7063, allocations: 2.351 MB / 0.6547 GB, free: 159.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005675/0.7069, allocations: 381 kB / 0.6551 GB, free: 159.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01035/0.7172, allocations: 7.925 MB / 0.6628 GB, free: 153 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.069e-05/0.7172, allocations: 30.97 kB / 0.6629 GB, free: 153 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.779e-05/0.7173, allocations: 18.19 kB / 0.6629 GB, free: 153 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.548e-05/0.7173, allocations: 15.89 kB / 0.6629 GB, free: 153 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02396/0.7412, allocations: 13.99 MB / 0.6766 GB, free: 139.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.782e-05/0.7413, allocations: 4 kB / 0.6766 GB, free: 139.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001597/0.7428, allocations: 379.4 kB / 0.6769 GB, free: 138.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004592/0.7474, allocations: 3.167 MB / 0.68 GB, free: 135.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002072/0.7476, allocations: 44 kB / 0.6801 GB, free: 135.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01222/0.7599, allocations: 15.54 MB / 0.6952 GB, free: 119.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.7599, allocations: 0 / 0.6952 GB, free: 119.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01169/0.7716, allocations: 12.09 MB / 0.707 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001822/0.7734, allocations: 0.8891 MB / 0.7079 GB, free: 107 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000348/0.7737, allocations: 41.59 kB / 0.708 GB, free: 107 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001261/0.775, allocations: 255.6 kB / 0.7082 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000386/0.7754, allocations: 166.1 kB / 0.7084 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001299/0.7755, allocations: 67.98 kB / 0.7084 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002523/0.778, allocations: 2.541 MB / 0.7109 GB, free: 104 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.3e-07/0.778, allocations: 0 / 0.7109 GB, free: 104 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004114/0.7821, allocations: 1.509 MB / 0.7124 GB, free: 102.5 MB / 0.5105 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.0004561/0.7826, allocations: 199.7 kB / 0.7126 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007522/0.7901, allocations: 7.686 MB / 0.7201 GB, free: 94.64 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.7901, allocations: 0 / 0.7201 GB, free: 94.64 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002748/0.7929, allocations: 3.061 MB / 0.7231 GB, free: 91.57 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001772/0.7947, allocations: 449.4 kB / 0.7235 GB, free: 91.15 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01464/0.8093, allocations: 12.5 MB / 0.7357 GB, free: 78.63 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002394/0.8117, allocations: 3.132 MB / 0.7388 GB, free: 75.46 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001065/0.8128, allocations: 324.4 kB / 0.7391 GB, free: 75.14 MB / 0.5105 GB Notification: Performance of SimCode: time 1.734e-06/0.8128, allocations: 0 / 0.7391 GB, free: 75.14 MB / 0.5105 GB Notification: Performance of Templates: time 0.2636/1.076, allocations: 94.4 MB / 0.8313 GB, free: 167.9 MB / 0.5105 GB " [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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 9.45969664491713]