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.001219/0.001219, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007205/0.008423, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001278/0.001278, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004022/0.0053, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.09/1.09, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1217/1.212, allocations: 53.65 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] 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.3018/0.3018, allocations: 34.26 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03522/0.3371, allocations: 13.1 MB / 291.5 MB, free: 7.34 MB / 282.7 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 2.234e-06/2.234e-06, allocations: 0 / 292.8 MB, free: 6.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.041e-05/4.264e-05, allocations: 8.469 kB / 292.8 MB, free: 6.199 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01185/0.01189, allocations: 12.65 MB / 305.5 MB, free: 9.492 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008273/0.02017, allocations: 4.954 MB / 310.5 MB, free: 4.527 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00132/0.02149, allocations: 95.56 kB / 310.5 MB, free: 4.434 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003755/0.02524, allocations: 4.022 MB / 314.6 MB, free: 404 kB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003496/0.02874, allocations: 2.305 MB / 316.9 MB, free: 14.08 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001965/0.0307, allocations: 1.205 MB / 318.1 MB, free: 12.87 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005106/0.03581, allocations: 6.203 MB / 324.3 MB, free: 6.66 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003297/0.03911, allocations: 4.262 MB / 328.5 MB, free: 2.309 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00373/0.04284, allocations: 3.907 MB / 332.4 MB, free: 14.38 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002979/0.04582, allocations: 3.102 MB / 335.5 MB, free: 11.27 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006199/0.04644, allocations: 0.5 MB / 336 MB, free: 10.77 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002073/0.04851, allocations: 1.631 MB / 337.7 MB, free: 9.133 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001568/0.05008, allocations: 2.525 MB / 340.2 MB, free: 6.602 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001347/0.05142, allocations: 1.441 MB / 341.6 MB, free: 5.156 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004497/0.05592, allocations: 5.819 MB / 347.5 MB, free: 15.32 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.037e-05/0.05593, allocations: 0 / 347.5 MB, free: 15.32 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.05593, allocations: 0 / 347.5 MB, free: 15.32 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.48e-05/0.05601, allocations: 4 kB / 347.5 MB, free: 15.31 MB / 346.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.006998/0.06301, allocations: 7.191 MB / 354.7 MB, free: 8.039 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.06305, allocations: 12.03 kB / 354.7 MB, free: 8.027 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003522/0.06657, allocations: 1.366 MB / 356 MB, free: 6.66 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002617/0.06919, allocations: 2.568 MB / 358.6 MB, free: 4.031 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004978/0.06968, allocations: 368.1 kB / 359 MB, free: 3.656 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004866/0.07017, allocations: 436.3 kB / 359.4 MB, free: 3.23 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007098/0.07727, allocations: 6.643 MB / 366 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-05/0.07736, allocations: 47.58 kB / 366.1 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003256/0.07768, allocations: 207.8 kB / 366.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001733/0.07941, allocations: 2.055 MB / 368.3 MB, free: 9.391 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005319/0.08473, allocations: 3.383 MB / 371.7 MB, free: 5.98 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02991/0.1146, allocations: 39.28 MB / 411 MB, free: 13.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004771/0.1194, allocations: 2.223 MB / 413.2 MB, free: 11.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006461/0.1201, allocations: 0.5475 MB / 413.8 MB, free: 10.51 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007094/0.1272, allocations: 5.429 MB / 419.2 MB, free: 5.059 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.1272, allocations: 47.56 kB / 419.2 MB, free: 5.004 MB / 410.7 MB Notification: Performance of pre-optimization done (n=178): time 3.667e-06/0.1272, allocations: 0 / 419.2 MB, free: 5.004 MB / 410.7 MB Notification: Performance of matching and sorting (n=226): time 0.02713/0.1543, allocations: 11.53 MB / 430.8 MB, free: 9.41 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.764e-05/0.1544, allocations: 184.1 kB / 431 MB, free: 9.195 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003007/0.1574, allocations: 3.755 MB / 434.7 MB, free: 5.398 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001045/0.1575, allocations: 65.62 kB / 434.8 MB, free: 5.328 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001716/0.1592, allocations: 3.806 MB / 438.6 MB, free: 1.477 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000488/0.1597, allocations: 0.8914 MB / 439.5 MB, free: 0.5781 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.195/0.3547, allocations: 1.381 MB / 440.9 MB, free: 106.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 4.58e-05/0.3548, allocations: 310.4 kB / 441.2 MB, free: 106.4 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001467/0.3562, allocations: 0.9222 MB / 442.1 MB, free: 106.3 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002454/0.3587, allocations: 5.23 MB / 447.3 MB, free: 100.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004799/0.3635, allocations: 7.257 MB / 454.6 MB, free: 94.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.682e-05/0.3635, allocations: 47.94 kB / 454.6 MB, free: 94.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=960) (initialization): time 0.006248/0.3698, allocations: 5.192 MB / 459.8 MB, free: 94.43 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.199e-05/0.3699, allocations: 77.97 kB / 459.9 MB, free: 94.42 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001202/0.37, allocations: 164.2 kB / 460 MB, free: 94.42 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001421/0.3714, allocations: 0.6913 MB / 460.7 MB, free: 94.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002656/0.3741, allocations: 1.824 MB / 462.6 MB, free: 94.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003235/0.3773, allocations: 3.202 MB / 465.8 MB, free: 92.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002379/0.3797, allocations: 327 kB / 466.1 MB, free: 92.74 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003079/0.38, allocations: 381.4 kB / 466.5 MB, free: 92.74 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 707 * 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 (905): * Single equations (assignments): 901 * 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 {(1,31,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001414/0.3814, allocations: 0.7077 MB / 467.2 MB, free: 92.47 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003756/0.3818, allocations: 267.8 kB / 467.4 MB, free: 92.47 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001971/0.3837, allocations: 1.466 MB / 468.9 MB, free: 92.29 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.952e-05/0.3838, allocations: 21.75 kB / 468.9 MB, free: 92.29 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/0.3838, allocations: 7.516 kB / 468.9 MB, free: 92.29 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/0.3838, allocations: 11.69 kB / 468.9 MB, free: 92.29 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006605/0.3904, allocations: 5.815 MB / 474.7 MB, free: 89.92 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.649e-05/0.3904, allocations: 19.98 kB / 474.8 MB, free: 89.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007878/0.3912, allocations: 362.1 kB / 475.1 MB, free: 89.61 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003083/0.3915, allocations: 372 kB / 475.5 MB, free: 89.51 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001284/0.3928, allocations: 0.6671 MB / 476.1 MB, free: 89.12 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.21e-05/0.3929, allocations: 41.56 kB / 476.2 MB, free: 89.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002188/0.3951, allocations: 2.306 MB / 478.5 MB, free: 87.34 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.062e-06/0.3951, allocations: 11.94 kB / 478.5 MB, free: 87.33 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002409/0.3975, allocations: 2.601 MB / 481.1 MB, free: 85.14 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002358/0.3977, allocations: 46.03 kB / 481.2 MB, free: 85.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006803/0.3984, allocations: 46.39 kB / 481.2 MB, free: 85.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002181/0.3986, allocations: 153.2 kB / 481.3 MB, free: 85.03 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.621e-05/0.3987, allocations: 51.05 kB / 481.4 MB, free: 84.98 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009294/0.3996, allocations: 1.391 MB / 482.8 MB, free: 84.02 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3996, allocations: 0 / 482.8 MB, free: 84.02 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00308/0.4027, allocations: 1.324 MB / 484.1 MB, free: 82.7 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (179): * Single equations (assignments): 175 * 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 {(1,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003963/0.4031, allocations: 228.1 kB / 484.3 MB, free: 82.51 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00275/0.4058, allocations: 3.281 MB / 487.6 MB, free: 79.93 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001713/0.406, allocations: 130.3 kB / 487.7 MB, free: 79.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001184/0.4072, allocations: 1.401 MB / 489.1 MB, free: 78.44 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00196/0.4092, allocations: 3.332 MB / 492.5 MB, free: 74.66 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01034/0.4195, allocations: 9.837 MB / 0.4905 GB, free: 64.76 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001087/0.4206, allocations: 1.633 MB / 0.4921 GB, free: 63.11 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001315/0.4219, allocations: 0.5884 MB / 0.4927 GB, free: 62.52 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008036/0.4227, allocations: 0.6339 MB / 0.4933 GB, free: 61.88 MB / 426.7 MB Notification: Performance of SimCode: time 1.202e-06/0.4227, allocations: 2.297 kB / 0.4933 GB, free: 61.88 MB / 426.7 MB Notification: Performance of Templates: time 0.05475/0.4774, allocations: 40.61 MB / 0.533 GB, free: 21.52 MB / 426.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 4.285849135369062]