Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.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.001261/0.001261, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001378/0.001378, allocations: 215.4 kB / 24.48 MB, free: 3.941 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.416/1.416, allocations: 230.6 MB / 258.2 MB, free: 7.785 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.2298/0.2298, allocations: 46.96 MB / 361.6 MB, free: 3.992 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.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2") translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 72.14 kB / 0.4973 GB, free: 7.164 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3954/0.3974, allocations: 66.03 MB / 0.5618 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01594/0.4133, allocations: 11.59 MB / 0.5731 GB, free: 8.48 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01229/0.4256, allocations: 4.618 MB / 0.5776 GB, free: 3.855 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002965/0.4285, allocations: 95.56 kB / 0.5777 GB, free: 3.762 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008452/0.437, allocations: 3.875 MB / 0.5815 GB, free: 15.88 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007587/0.4446, allocations: 2.245 MB / 0.5837 GB, free: 13.62 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00314/0.4477, allocations: 1.193 MB / 0.5849 GB, free: 12.43 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008991/0.4567, allocations: 5.818 MB / 0.5906 GB, free: 6.598 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006137/0.4629, allocations: 4.037 MB / 0.5945 GB, free: 2.496 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004123/0.467, allocations: 2.2 MB / 0.5967 GB, free: 296 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005306/0.4723, allocations: 3.182 MB / 0.5998 GB, free: 13.1 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001746/0.474, allocations: 0.5 MB / 0.6002 GB, free: 12.6 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004092/0.4781, allocations: 1.557 MB / 0.6018 GB, free: 11.04 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003729/0.4819, allocations: 2.719 MB / 0.6044 GB, free: 8.312 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004382/0.4862, allocations: 2.245 MB / 0.6066 GB, free: 6.055 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01448/0.5007, allocations: 9.959 MB / 0.6163 GB, free: 12.05 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.5007, allocations: 0 / 0.6163 GB, free: 12.05 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.5007, allocations: 0 / 0.6163 GB, free: 12.05 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003491/0.5011, allocations: 0 / 0.6163 GB, free: 12.05 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.01937/0.5204, allocations: 6.598 MB / 0.6228 GB, free: 5.387 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.5205, allocations: 8.031 kB / 0.6228 GB, free: 5.379 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01786/0.5384, allocations: 2.739 MB / 0.6255 GB, free: 2.633 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01038/0.5487, allocations: 3.591 MB / 0.629 GB, free: 14.98 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004765/0.5492, allocations: 379.9 kB / 0.6293 GB, free: 14.6 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001887/0.5511, allocations: 435.8 kB / 0.6297 GB, free: 14.17 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03067/0.5818, allocations: 13.95 MB / 0.6434 GB, free: 15.34 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002536/0.582, allocations: 55.52 kB / 0.6434 GB, free: 15.29 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001056/0.5831, allocations: 199.8 kB / 0.6436 GB, free: 15.09 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004144/0.5872, allocations: 2.406 MB / 0.646 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02644/0.6137, allocations: 11.75 MB / 0.6574 GB, free: 0.918 MB / 494.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07348/0.6871, allocations: 47.6 MB / 0.7039 GB, free: 40 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01281/0.7, allocations: 4.124 MB / 0.708 GB, free: 11.87 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003959/0.7039, allocations: 2.752 MB / 0.7106 GB, free: 9.102 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01963/0.7235, allocations: 10.16 MB / 0.7206 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.138e-05/0.7236, allocations: 63.81 kB / 0.7206 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=197): time 4.959e-06/0.7236, allocations: 0 / 0.7206 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of matching and sorting (n=248): time 0.3962/1.12, allocations: 43.3 MB / 0.7629 GB, free: 141.1 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.775e-05/1.12, allocations: 239.6 kB / 0.7631 GB, free: 140.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004481/1.124, allocations: 4.498 MB / 0.7675 GB, free: 136.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004348/1.125, allocations: 61.7 kB / 0.7676 GB, free: 136.4 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001353/1.126, allocations: 4.025 MB / 0.7715 GB, free: 132.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006963/1.127, allocations: 0.9735 MB / 0.7725 GB, free: 131.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001599/1.128, allocations: 1.512 MB / 0.774 GB, free: 130.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.518e-05/1.128, allocations: 301.1 kB / 0.7742 GB, free: 129.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003577/1.132, allocations: 3.442 MB / 0.7776 GB, free: 126.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004846/1.137, allocations: 7.745 MB / 0.7852 GB, free: 116.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009661/1.147, allocations: 11.86 MB / 0.7967 GB, free: 102.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001041/1.147, allocations: 40 kB / 0.7968 GB, free: 102.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=963) (initialization): time 0.02381/1.17, allocations: 14.39 MB / 0.8108 GB, free: 88.21 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.734e-05/1.171, allocations: 70.19 kB / 0.8109 GB, free: 88.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001126/1.171, allocations: 148 kB / 0.8111 GB, free: 88 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01117/1.182, allocations: 4.023 MB / 0.815 GB, free: 83.97 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005345/1.187, allocations: 1.63 MB / 0.8166 GB, free: 82.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02264/1.21, allocations: 19.51 MB / 0.8356 GB, free: 62.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008226/1.218, allocations: 457.8 kB / 0.8361 GB, free: 62.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001708/1.22, allocations: 439.6 kB / 0.8365 GB, free: 61.87 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 679 * Number of states: 0 () * Number of discrete variables: 37 (jointUSP.prismatic.positiveBranch,bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (880): * Single equations (assignments): 876 * 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,58,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004707/1.224, allocations: 2.65 MB / 0.8391 GB, free: 59.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009292/1.225, allocations: 413.3 kB / 0.8395 GB, free: 58.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01582/1.241, allocations: 8.554 MB / 0.8478 GB, free: 50.21 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.967e-05/1.241, allocations: 35.92 kB / 0.8478 GB, free: 50.18 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.84e-05/1.241, allocations: 12 kB / 0.8479 GB, free: 50.17 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.337e-05/1.241, allocations: 7.969 kB / 0.8479 GB, free: 50.16 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03024/1.272, allocations: 16.15 MB / 0.8636 GB, free: 34.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.592e-05/1.272, allocations: 4.562 kB / 0.8636 GB, free: 34.01 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001994/1.274, allocations: 399.4 kB / 0.864 GB, free: 33.62 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01107/1.285, allocations: 4.065 MB / 0.868 GB, free: 29.54 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005877/1.285, allocations: 40 kB / 0.868 GB, free: 29.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02062/1.306, allocations: 17.91 MB / 0.8855 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/1.306, allocations: 4 kB / 0.8855 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02264/1.329, allocations: 13.19 MB / 0.8984 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001596/1.33, allocations: 357.1 kB / 0.8987 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001273/1.331, allocations: 44.95 kB / 0.8988 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002487/1.334, allocations: 219.6 kB / 0.899 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006831/1.335, allocations: 158.1 kB / 0.8991 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002274/1.335, allocations: 60.06 kB / 0.8992 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004287/1.339, allocations: 2.613 MB / 0.9018 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/1.339, allocations: 0 / 0.9018 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.006805/1.346, allocations: 1.457 MB / 0.9032 GB, free: 9.375 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (revolute.phi,revolute.w) * 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 (173): * Single equations (assignments): 169 * 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,52,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007543/1.347, allocations: 221.6 kB / 0.9034 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01378/1.36, allocations: 7.911 MB / 0.9111 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.204e-06/1.36, allocations: 0 / 0.9111 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005126/1.366, allocations: 2.861 MB / 0.9139 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003742/1.369, allocations: 460.5 kB / 0.9143 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02669/1.396, allocations: 13.11 MB / 0.9271 GB, free: 0.793 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007291/1.403, allocations: 3.579 MB / 0.9306 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.005658/1.409, allocations: 2.125 MB / 0.9327 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001047/1.41, allocations: 263.4 kB / 0.933 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of SimCode: time 1.353e-06/1.41, allocations: 0 / 0.933 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of Templates: time 0.3997/1.81, allocations: 66.29 MB / 0.9977 GB, free: 210 MB / 0.6387 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/JointUSP2/JointUSP2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.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.13620449299924]