Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001048/0.001048, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.001114/0.001114, allocations: 169 kB / 24.24 MB, free: 312 kB / 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 1.006/1.006, allocations: 158.6 MB / 186 MB, free: 2.918 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.1422/0.1422, allocations: 32.37 MB / 270.7 MB, free: 14.77 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.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2") translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.324e-06/2.324e-06, allocations: 0 / 347.7 MB, free: 9.773 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.969e-05/3.201e-05, allocations: 10.25 kB / 347.7 MB, free: 9.762 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01495/0.01498, allocations: 12.83 MB / 360.5 MB, free: 12.87 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01366/0.02864, allocations: 4.752 MB / 365.3 MB, free: 8.105 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004175/0.03281, allocations: 95.56 kB / 365.4 MB, free: 8.012 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005367/0.03818, allocations: 4.272 MB / 369.6 MB, free: 3.727 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005938/0.04412, allocations: 2.356 MB / 372 MB, free: 1.355 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003013/0.04713, allocations: 1.321 MB / 373.3 MB, free: 32 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.008227/0.05536, allocations: 6.244 MB / 379.6 MB, free: 9.777 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006585/0.06194, allocations: 4.685 MB / 384.2 MB, free: 5.02 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00663/0.06857, allocations: 3.364 MB / 387.6 MB, free: 1.648 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004484/0.07306, allocations: 3.317 MB / 390.9 MB, free: 14.32 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001176/0.07423, allocations: 0.5078 MB / 391.4 MB, free: 13.81 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002628/0.07686, allocations: 1.615 MB / 393 MB, free: 12.2 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002769/0.07963, allocations: 2.887 MB / 395.9 MB, free: 9.305 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003786/0.08342, allocations: 1.823 MB / 397.8 MB, free: 7.477 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008886/0.0923, allocations: 6.4 MB / 404.2 MB, free: 1.055 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.09231, allocations: 3.938 kB / 404.2 MB, free: 1.051 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.09231, allocations: 0 / 404.2 MB, free: 1.051 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002787/0.09259, allocations: 0 / 404.2 MB, free: 1.051 MB / 330.7 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.01197/0.1046, allocations: 7.095 MB / 411.3 MB, free: 9.871 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.922e-05/0.1046, allocations: 8.031 kB / 411.3 MB, free: 9.863 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009802/0.1144, allocations: 3.348 MB / 414.6 MB, free: 6.508 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006021/0.1204, allocations: 3.352 MB / 418 MB, free: 3.102 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002742/0.1207, allocations: 372.1 kB / 418.3 MB, free: 2.723 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009505/0.1217, allocations: 424.3 kB / 418.7 MB, free: 2.309 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01548/0.1371, allocations: 8.496 MB / 427.2 MB, free: 8.637 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001424/0.1373, allocations: 55.52 kB / 427.3 MB, free: 8.582 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004199/0.1377, allocations: 203.8 kB / 427.5 MB, free: 8.383 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002366/0.1401, allocations: 2.406 MB / 429.9 MB, free: 5.969 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01275/0.1528, allocations: 4.775 MB / 434.7 MB, free: 1.184 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2072/0.36, allocations: 54.45 MB / 489.1 MB, free: 59.82 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00672/0.3667, allocations: 2.666 MB / 491.8 MB, free: 59.63 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001467/0.3682, allocations: 0.9781 MB / 492.8 MB, free: 59.57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009179/0.3774, allocations: 7.318 MB / 0.4884 GB, free: 56.01 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.54e-05/0.3774, allocations: 61.64 kB / 0.4884 GB, free: 55.95 MB / 378.7 MB Notification: Performance of pre-optimization done (n=197): time 6.983e-06/0.3774, allocations: 6.016 kB / 0.4884 GB, free: 55.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=248): time 0.08211/0.4595, allocations: 31.4 MB / 0.5191 GB, free: 26.2 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.116e-05/0.4596, allocations: 235.6 kB / 0.5193 GB, free: 25.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00384/0.4634, allocations: 4.113 MB / 0.5233 GB, free: 21.98 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004368/0.4639, allocations: 61.7 kB / 0.5234 GB, free: 21.91 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001453/0.4653, allocations: 4.17 MB / 0.5275 GB, free: 17.91 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008757/0.4662, allocations: 1.001 MB / 0.5284 GB, free: 16.93 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00128/0.4675, allocations: 1.582 MB / 0.53 GB, free: 15.34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.802e-05/0.4675, allocations: 480.8 kB / 0.5304 GB, free: 14.86 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001637/0.4691, allocations: 1.174 MB / 0.5316 GB, free: 13.69 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003072/0.4722, allocations: 7.506 MB / 0.5389 GB, free: 3.297 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007813/0.48, allocations: 9.497 MB / 0.5482 GB, free: 6.941 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001681/0.4802, allocations: 44 kB / 0.5482 GB, free: 6.898 MB / 394.7 MB Notification: Performance of matching and sorting (n=963) (initialization): time 0.018/0.4982, allocations: 9.156 MB / 0.5572 GB, free: 13.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.684e-05/0.4983, allocations: 71.94 kB / 0.5572 GB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001799/0.4985, allocations: 152.1 kB / 0.5574 GB, free: 13.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007318/0.5058, allocations: 2.864 MB / 0.5602 GB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003753/0.5095, allocations: 1.626 MB / 0.5618 GB, free: 9.008 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01119/0.5207, allocations: 6.975 MB / 0.5686 GB, free: 1.926 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004829/0.5256, allocations: 0.4994 MB / 0.5691 GB, free: 1.426 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009989/0.5266, allocations: 439.9 kB / 0.5695 GB, free: 1 MB / 410.7 MB 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.00205/0.5286, allocations: 0.7338 MB / 0.5702 GB, free: 260 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009544/0.5296, allocations: 481.5 kB / 0.5707 GB, free: 15.78 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009002/0.5386, allocations: 4.786 MB / 0.5753 GB, free: 10.96 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.173e-05/0.5386, allocations: 24 kB / 0.5754 GB, free: 10.94 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.657e-05/0.5386, allocations: 12 kB / 0.5754 GB, free: 10.93 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.513e-05/0.5387, allocations: 19.66 kB / 0.5754 GB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01974/0.5584, allocations: 11.4 MB / 0.5865 GB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.126e-05/0.5584, allocations: 0 / 0.5865 GB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001262/0.5597, allocations: 399.4 kB / 0.5869 GB, free: 15.13 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007171/0.5669, allocations: 2.92 MB / 0.5898 GB, free: 12.21 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003991/0.5673, allocations: 40 kB / 0.5898 GB, free: 12.17 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01034/0.5776, allocations: 5.853 MB / 0.5955 GB, free: 6.184 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.5776, allocations: 0 / 0.5955 GB, free: 6.184 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1859/0.7635, allocations: 6.545 MB / 0.6019 GB, free: 144.3 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002255/0.7657, allocations: 0.8434 MB / 0.6027 GB, free: 144.3 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004881/0.7662, allocations: 36.03 kB / 0.6028 GB, free: 144.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001497/0.7677, allocations: 261.7 kB / 0.603 GB, free: 144.3 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005417/0.7682, allocations: 166.5 kB / 0.6032 GB, free: 144.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001477/0.7684, allocations: 66.48 kB / 0.6032 GB, free: 144.3 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002562/0.7709, allocations: 1.79 MB / 0.605 GB, free: 144.1 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.771, allocations: 1.094 kB / 0.605 GB, free: 144.1 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00489/0.7758, allocations: 1.601 MB / 0.6066 GB, free: 144.1 MB / 442.7 MB 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.0005528/0.7764, allocations: 247.6 kB / 0.6068 GB, free: 144 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006094/0.7825, allocations: 4.648 MB / 0.6113 GB, free: 143.4 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.7825, allocations: 0 / 0.6113 GB, free: 143.4 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001746/0.7842, allocations: 1.602 MB / 0.6129 GB, free: 143.1 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001691/0.7859, allocations: 487.1 kB / 0.6134 GB, free: 143.1 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01273/0.7987, allocations: 10.26 MB / 0.6234 GB, free: 139.1 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001277/0.7999, allocations: 1.651 MB / 0.625 GB, free: 138.2 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002569/0.8025, allocations: 1.814 MB / 0.6268 GB, free: 137.3 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000593/0.8031, allocations: 274.5 kB / 0.627 GB, free: 137 MB / 442.7 MB Notification: Performance of SimCode: time 4.308e-06/0.8031, allocations: 0 / 0.627 GB, free: 137 MB / 442.7 MB Notification: Performance of Templates: time 0.06406/0.8672, allocations: 60.66 MB / 0.6863 GB, free: 78.65 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointUSP2/JointUSP2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.0212476120796055]