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.001427/0.001427, allocations: 88.84 kB / 20.68 MB, free: 1.031 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.001509/0.001509, allocations: 163.9 kB / 23.96 MB, free: 4.152 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.49/1.49, allocations: 177.2 MB / 204.3 MB, free: 9.184 MB / 190.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.2305/0.2305, allocations: 34.28 MB / 295 MB, free: 14.58 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 1.533e-06/1.533e-06, allocations: 0 / 442.7 MB, free: 5.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.422e-05/2.575e-05, allocations: 9.516 kB / 442.7 MB, free: 5.395 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.1951/0.1952, allocations: 11.59 MB / 454.3 MB, free: 13.15 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008254/0.2034, allocations: 4.63 MB / 458.9 MB, free: 10.33 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001595/0.205, allocations: 96.38 kB / 459 MB, free: 10.3 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006973/0.212, allocations: 4.071 MB / 463.1 MB, free: 8.574 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005269/0.2172, allocations: 2.304 MB / 465.4 MB, free: 7.469 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002616/0.2199, allocations: 1.304 MB / 466.7 MB, free: 6.902 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007313/0.2272, allocations: 6.551 MB / 473.2 MB, free: 3.797 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005607/0.2328, allocations: 4.532 MB / 477.8 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005341/0.2381, allocations: 3.314 MB / 481.1 MB, free: 14.64 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005117/0.2432, allocations: 3.211 MB / 484.3 MB, free: 12.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001082/0.2443, allocations: 0.5078 MB / 484.8 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003179/0.2475, allocations: 1.599 MB / 486.4 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002976/0.2505, allocations: 2.836 MB / 489.2 MB, free: 7.441 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002605/0.2531, allocations: 1.788 MB / 491 MB, free: 5.648 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01309/0.2662, allocations: 10.08 MB / 0.4894 GB, free: 11.53 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.2662, allocations: 0 / 0.4894 GB, free: 11.53 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2662, allocations: 0 / 0.4894 GB, free: 11.53 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001958/0.2664, allocations: 0 / 0.4894 GB, free: 11.53 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.01408/0.2805, allocations: 6.636 MB / 0.4958 GB, free: 4.828 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.2805, allocations: 8.031 kB / 0.4958 GB, free: 4.82 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01917/0.2997, allocations: 2.86 MB / 0.4986 GB, free: 1.953 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008423/0.3081, allocations: 3.575 MB / 0.5021 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003718/0.3085, allocations: 372.1 kB / 0.5025 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001089/0.3095, allocations: 428.5 kB / 0.5029 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02844/0.338, allocations: 13.98 MB / 0.5165 GB, free: 14.66 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001644/0.3381, allocations: 59.52 kB / 0.5166 GB, free: 14.61 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006451/0.3388, allocations: 211.8 kB / 0.5168 GB, free: 14.4 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004258/0.3431, allocations: 2.402 MB / 0.5191 GB, free: 12 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02761/0.3707, allocations: 11.77 MB / 0.5306 GB, free: 220 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.07483/0.4455, allocations: 48.22 MB / 0.5777 GB, free: 14.74 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01439/0.4599, allocations: 4.318 MB / 0.582 GB, free: 10.38 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004879/0.4648, allocations: 2.757 MB / 0.5846 GB, free: 7.602 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02025/0.485, allocations: 10.3 MB / 0.5947 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.685e-05/0.4851, allocations: 55.88 kB / 0.5948 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=197): time 5.73e-06/0.4851, allocations: 4 kB / 0.5948 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=248): time 0.1698/0.6549, allocations: 44.76 MB / 0.6385 GB, free: 348 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001737/0.6551, allocations: 235.6 kB / 0.6387 GB, free: 60 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2169/0.8719, allocations: 4.657 MB / 0.6432 GB, free: 169.8 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001169/0.8731, allocations: 61.98 kB / 0.6433 GB, free: 169.7 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003907/0.877, allocations: 3.989 MB / 0.6472 GB, free: 167.7 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001855/0.8789, allocations: 0.9641 MB / 0.6481 GB, free: 167 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003082/0.882, allocations: 1.486 MB / 0.6496 GB, free: 166.3 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.428e-05/0.882, allocations: 301.8 kB / 0.6499 GB, free: 166 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006029/0.888, allocations: 3.449 MB / 0.6532 GB, free: 164.8 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008812/0.8968, allocations: 7.754 MB / 0.6608 GB, free: 157.9 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01627/0.9131, allocations: 11.88 MB / 0.6724 GB, free: 148.9 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003597/0.9135, allocations: 41.97 kB / 0.6725 GB, free: 148.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=963) (initialization): time 0.03256/0.946, allocations: 14.42 MB / 0.6865 GB, free: 144 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001363/0.9462, allocations: 68.22 kB / 0.6866 GB, free: 143.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00021/0.9464, allocations: 158 kB / 0.6868 GB, free: 143.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0121/0.9585, allocations: 4.011 MB / 0.6907 GB, free: 140.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006916/0.9654, allocations: 1.641 MB / 0.6923 GB, free: 139.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02629/0.9917, allocations: 19.51 MB / 0.7113 GB, free: 119.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008121/0.9998, allocations: 0.5071 MB / 0.7118 GB, free: 119.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001729/1.002, allocations: 432 kB / 0.7122 GB, free: 118.7 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.006221/1.008, allocations: 2.656 MB / 0.7148 GB, free: 116.1 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001526/1.009, allocations: 409.3 kB / 0.7152 GB, free: 115.7 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01859/1.028, allocations: 8.562 MB / 0.7236 GB, free: 107.1 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-05/1.028, allocations: 31.22 kB / 0.7236 GB, free: 107 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.776e-05/1.028, allocations: 15.94 kB / 0.7236 GB, free: 107 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.716e-05/1.028, allocations: 15.97 kB / 0.7236 GB, free: 107 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03242/1.06, allocations: 16.23 MB / 0.7395 GB, free: 90.81 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.491e-05/1.06, allocations: 0 / 0.7395 GB, free: 90.81 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002176/1.063, allocations: 403.4 kB / 0.7399 GB, free: 90.41 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01234/1.075, allocations: 4.076 MB / 0.7439 GB, free: 86.33 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008/1.076, allocations: 44 kB / 0.7439 GB, free: 86.29 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.023/1.099, allocations: 17.91 MB / 0.7614 GB, free: 68.28 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/1.099, allocations: 0 / 0.7614 GB, free: 68.28 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02294/1.122, allocations: 13.17 MB / 0.7743 GB, free: 55.08 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001982/1.124, allocations: 389.1 kB / 0.7746 GB, free: 54.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001381/1.125, allocations: 44 kB / 0.7747 GB, free: 54.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003398/1.128, allocations: 260.4 kB / 0.7749 GB, free: 54.4 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007887/1.129, allocations: 165.1 kB / 0.7751 GB, free: 54.23 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003115/1.13, allocations: 63.98 kB / 0.7751 GB, free: 54.17 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004773/1.134, allocations: 2.73 MB / 0.7778 GB, free: 51.43 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/1.134, allocations: 0 / 0.7778 GB, free: 51.43 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007196/1.142, allocations: 1.577 MB / 0.7793 GB, free: 49.86 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.0007584/1.142, allocations: 235.5 kB / 0.7796 GB, free: 49.62 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01129/1.154, allocations: 7.902 MB / 0.7873 GB, free: 41.74 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.707e-06/1.154, allocations: 0 / 0.7873 GB, free: 41.74 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003787/1.157, allocations: 2.87 MB / 0.7901 GB, free: 38.85 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004208/1.162, allocations: 472.3 kB / 0.7905 GB, free: 38.41 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02109/1.183, allocations: 13.07 MB / 0.8033 GB, free: 25.31 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003922/1.187, allocations: 3.576 MB / 0.8068 GB, free: 21.71 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004482/1.191, allocations: 2.133 MB / 0.8089 GB, free: 19.57 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009129/1.192, allocations: 276.4 kB / 0.8091 GB, free: 19.3 MB / 0.5294 GB Notification: Performance of SimCode: time 1.873e-06/1.192, allocations: 3.938 kB / 0.8091 GB, free: 19.3 MB / 0.5294 GB Notification: Performance of Templates: time 0.3233/1.515, allocations: 59.12 MB / 0.8669 GB, free: 165.7 MB / 0.545 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 -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/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_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.082563150674105]