Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001453/0.001453, allocations: 84.95 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001345/0.001345, allocations: 158.2 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.596/1.596, allocations: 177 MB / 204.1 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2112/0.2112, allocations: 34.25 MB / 294.8 MB, free: 14.54 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2") translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.013e-06/2.013e-06, allocations: 0 / 442.7 MB, free: 5.301 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.975e-05/4.177e-05, allocations: 6.219 kB / 442.7 MB, free: 5.293 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.2437/0.2437, allocations: 11.6 MB / 454.3 MB, free: 13.09 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0132/0.2569, allocations: 4.624 MB / 458.9 MB, free: 10.24 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002863/0.2598, allocations: 96.38 kB / 459 MB, free: 10.21 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007778/0.2676, allocations: 4.075 MB / 463.1 MB, free: 8.48 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006545/0.2741, allocations: 2.313 MB / 465.4 MB, free: 7.367 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003013/0.2771, allocations: 1.291 MB / 466.7 MB, free: 6.812 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009388/0.2865, allocations: 6.55 MB / 473.2 MB, free: 3.691 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006644/0.2932, allocations: 4.535 MB / 477.7 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006453/0.2996, allocations: 3.317 MB / 481.1 MB, free: 14.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005834/0.3055, allocations: 3.209 MB / 484.3 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001425/0.3069, allocations: 0.5117 MB / 484.8 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00355/0.3104, allocations: 1.603 MB / 486.4 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003098/0.3135, allocations: 2.829 MB / 489.2 MB, free: 7.301 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003269/0.3168, allocations: 1.784 MB / 491 MB, free: 5.512 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01819/0.335, allocations: 10.09 MB / 0.4893 GB, free: 11.39 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.637e-06/0.335, allocations: 0 / 0.4893 GB, free: 11.39 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.335, allocations: 0 / 0.4893 GB, free: 11.39 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003301/0.3353, allocations: 0 / 0.4893 GB, free: 11.39 MB / 398.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.01662/0.3519, allocations: 6.629 MB / 0.4958 GB, free: 4.688 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.352, allocations: 16.03 kB / 0.4958 GB, free: 4.672 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0197/0.3717, allocations: 2.864 MB / 0.4986 GB, free: 1.801 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009784/0.3815, allocations: 3.567 MB / 0.5021 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003972/0.3819, allocations: 372.1 kB / 0.5025 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001493/0.3834, allocations: 432.5 kB / 0.5029 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0288/0.4122, allocations: 13.98 MB / 0.5165 GB, free: 14.52 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000164/0.4123, allocations: 59.53 kB / 0.5166 GB, free: 14.46 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006136/0.4129, allocations: 195.8 kB / 0.5168 GB, free: 14.27 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004212/0.4172, allocations: 2.413 MB / 0.5191 GB, free: 11.86 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02808/0.4452, allocations: 11.77 MB / 0.5306 GB, free: 76 kB / 430.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.07911/0.5243, allocations: 48.22 MB / 0.5777 GB, free: 14.59 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01429/0.5386, allocations: 4.311 MB / 0.5819 GB, free: 10.24 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004573/0.5432, allocations: 2.755 MB / 0.5846 GB, free: 7.473 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02063/0.5638, allocations: 10.31 MB / 0.5947 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.733e-05/0.5639, allocations: 59.81 kB / 0.5947 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=197): time 6.002e-06/0.5639, allocations: 0 / 0.5947 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of matching and sorting (n=248): time 0.1745/0.7384, allocations: 44.75 MB / 0.6384 GB, free: 212 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1944/0.9327, allocations: 239.5 kB / 0.6387 GB, free: 170.5 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007738/0.9405, allocations: 4.66 MB / 0.6432 GB, free: 169.5 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0009055/0.9414, allocations: 61.2 kB / 0.6433 GB, free: 169.5 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002562/0.944, allocations: 3.988 MB / 0.6472 GB, free: 167.4 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001274/0.9452, allocations: 0.9667 MB / 0.6481 GB, free: 166.8 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002329/0.9476, allocations: 1.487 MB / 0.6496 GB, free: 166 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.233e-05/0.9476, allocations: 306.4 kB / 0.6499 GB, free: 165.7 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005561/0.9532, allocations: 3.446 MB / 0.6532 GB, free: 164.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007073/0.9602, allocations: 7.755 MB / 0.6608 GB, free: 157.6 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01261/0.9728, allocations: 11.88 MB / 0.6724 GB, free: 148.6 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001847/0.973, allocations: 43.16 kB / 0.6724 GB, free: 148.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=963) (initialization): time 0.02589/0.9989, allocations: 14.41 MB / 0.6865 GB, free: 143.7 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.773e-05/0.999, allocations: 72 kB / 0.6866 GB, free: 143.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001385/0.9992, allocations: 148 kB / 0.6867 GB, free: 143.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01182/1.011, allocations: 4.018 MB / 0.6906 GB, free: 140.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005698/1.017, allocations: 1.634 MB / 0.6922 GB, free: 139 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02394/1.041, allocations: 19.52 MB / 0.7113 GB, free: 119.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007023/1.048, allocations: 0.5093 MB / 0.7118 GB, free: 118.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009731/1.049, allocations: 433.6 kB / 0.7122 GB, free: 118.5 MB / 0.5294 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.003713/1.052, allocations: 2.649 MB / 0.7148 GB, free: 115.8 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008959/1.053, allocations: 409.3 kB / 0.7152 GB, free: 115.4 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01736/1.071, allocations: 8.57 MB / 0.7236 GB, free: 106.8 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.89e-05/1.071, allocations: 27.83 kB / 0.7236 GB, free: 106.8 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.647e-05/1.071, allocations: 15.94 kB / 0.7236 GB, free: 106.8 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-05/1.071, allocations: 11.97 kB / 0.7236 GB, free: 106.8 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02957/1.1, allocations: 16.23 MB / 0.7395 GB, free: 90.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.811e-05/1.1, allocations: 4 kB / 0.7395 GB, free: 90.56 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002148/1.102, allocations: 403.4 kB / 0.7399 GB, free: 90.17 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.012/1.114, allocations: 4.074 MB / 0.7438 GB, free: 86.09 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004056/1.115, allocations: 40 kB / 0.7439 GB, free: 86.05 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02193/1.137, allocations: 17.92 MB / 0.7614 GB, free: 68.04 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/1.137, allocations: 0 / 0.7614 GB, free: 68.04 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02292/1.16, allocations: 13.17 MB / 0.7742 GB, free: 54.84 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001711/1.161, allocations: 393.1 kB / 0.7746 GB, free: 54.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007669/1.162, allocations: 36 kB / 0.7746 GB, free: 54.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00258/1.165, allocations: 259.6 kB / 0.7749 GB, free: 54.16 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006406/1.165, allocations: 166.1 kB / 0.775 GB, free: 54 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000214/1.166, allocations: 66.17 kB / 0.7751 GB, free: 53.93 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003273/1.169, allocations: 2.734 MB / 0.7778 GB, free: 51.19 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/1.169, allocations: 0 / 0.7778 GB, free: 51.19 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00618/1.175, allocations: 1.578 MB / 0.7793 GB, free: 49.62 MB / 0.5294 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.0006697/1.176, allocations: 238.4 kB / 0.7795 GB, free: 49.38 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01049/1.186, allocations: 7.9 MB / 0.7873 GB, free: 41.5 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.728e-06/1.186, allocations: 0.875 kB / 0.7873 GB, free: 41.5 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003511/1.19, allocations: 2.869 MB / 0.7901 GB, free: 38.61 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003047/1.193, allocations: 466.7 kB / 0.7905 GB, free: 38.16 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01758/1.21, allocations: 13.06 MB / 0.8033 GB, free: 25.07 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003481/1.214, allocations: 3.584 MB / 0.8068 GB, free: 21.46 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004126/1.218, allocations: 2.125 MB / 0.8088 GB, free: 19.32 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008028/1.219, allocations: 268.4 kB / 0.8091 GB, free: 19.06 MB / 0.5294 GB Notification: Performance of SimCode: time 1.323e-06/1.219, allocations: 4 kB / 0.8091 GB, free: 19.06 MB / 0.5294 GB Notification: Performance of Templates: time 0.3124/1.531, allocations: 59.13 MB / 0.8668 GB, free: 165.5 MB / 0.545 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/JointUSP2/JointUSP2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.271664809435606]