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.001095/0.001095, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009758/0.002071, allocations: 449.7 kB / 10.37 MB, free: 328 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.001027/0.001027, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001354/0.002381, allocations: 455.6 kB / 11.71 MB, free: 2.461 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 0.9669/0.9669, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09469/1.062, allocations: 53.66 MB / 243.3 MB, free: 15.58 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.2416/0.2416, allocations: 34.25 MB / 278.2 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02171/0.2633, allocations: 13.1 MB / 291.3 MB, free: 7.383 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 1.313e-06/1.313e-06, allocations: 3.938 kB / 292.6 MB, free: 6.305 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.428e-05/1.559e-05, allocations: 2.312 kB / 292.6 MB, free: 6.301 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01105/0.01107, allocations: 12.64 MB / 305.3 MB, free: 9.613 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006982/0.01805, allocations: 4.949 MB / 310.2 MB, free: 4.645 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009923/0.01904, allocations: 95.56 kB / 310.3 MB, free: 4.551 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003688/0.02273, allocations: 4.037 MB / 314.3 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003356/0.02609, allocations: 2.305 MB / 316.7 MB, free: 14.18 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001718/0.02781, allocations: 1.201 MB / 317.9 MB, free: 12.98 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004959/0.03277, allocations: 6.215 MB / 324.1 MB, free: 6.754 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003096/0.03586, allocations: 4.266 MB / 328.3 MB, free: 2.398 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003117/0.03898, allocations: 3.9 MB / 332.2 MB, free: 14.47 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002422/0.0414, allocations: 3.102 MB / 335.3 MB, free: 11.36 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004793/0.04188, allocations: 0.5 MB / 335.8 MB, free: 10.86 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001656/0.04354, allocations: 1.638 MB / 337.5 MB, free: 9.219 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001405/0.04494, allocations: 2.521 MB / 340 MB, free: 6.691 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001228/0.04617, allocations: 1.445 MB / 341.4 MB, free: 5.242 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004507/0.05068, allocations: 5.824 MB / 347.3 MB, free: 15.4 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.169e-05/0.05069, allocations: 0 / 347.3 MB, free: 15.4 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.05069, allocations: 0 / 347.3 MB, free: 15.4 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.07e-05/0.05076, allocations: 4 kB / 347.3 MB, free: 15.39 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.007119/0.05788, allocations: 7.195 MB / 354.5 MB, free: 8.121 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.05791, allocations: 15.97 kB / 354.5 MB, free: 8.105 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003405/0.06132, allocations: 1.366 MB / 355.8 MB, free: 6.738 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002784/0.0641, allocations: 2.564 MB / 358.4 MB, free: 4.113 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001889/0.06429, allocations: 376.1 kB / 358.8 MB, free: 3.73 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004745/0.06476, allocations: 428.3 kB / 359.2 MB, free: 3.312 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006639/0.0714, allocations: 6.635 MB / 365.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.529e-05/0.07149, allocations: 55.5 kB / 365.9 MB, free: 11.74 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003098/0.0718, allocations: 199.8 kB / 366.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001879/0.07368, allocations: 2.18 MB / 368.3 MB, free: 9.359 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004804/0.07848, allocations: 3.394 MB / 371.7 MB, free: 5.941 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02635/0.1048, allocations: 39.29 MB / 410.9 MB, free: 13.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004557/0.1094, allocations: 2.218 MB / 413.2 MB, free: 11.04 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006168/0.11, allocations: 0.5507 MB / 413.7 MB, free: 10.47 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006322/0.1163, allocations: 5.421 MB / 419.1 MB, free: 5.027 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.1164, allocations: 55.56 kB / 419.2 MB, free: 4.965 MB / 410.7 MB Notification: Performance of pre-optimization done (n=178): time 3.557e-06/0.1164, allocations: 0 / 419.2 MB, free: 4.965 MB / 410.7 MB Notification: Performance of matching and sorting (n=226): time 0.02531/0.1417, allocations: 11.34 MB / 430.5 MB, free: 9.559 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.575e-05/0.1417, allocations: 184.1 kB / 430.7 MB, free: 9.344 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002895/0.1446, allocations: 3.759 MB / 434.5 MB, free: 5.543 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.807e-05/0.1447, allocations: 57.7 kB / 434.5 MB, free: 5.48 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001399/0.1461, allocations: 3.81 MB / 438.3 MB, free: 1.625 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004365/0.1466, allocations: 0.8914 MB / 439.2 MB, free: 0.7266 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.1565/0.3031, allocations: 1.383 MB / 440.6 MB, free: 121.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 3.125e-05/0.3031, allocations: 305.2 kB / 440.9 MB, free: 121 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00146/0.3046, allocations: 0.9232 MB / 441.8 MB, free: 121 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002222/0.3068, allocations: 5.225 MB / 447.1 MB, free: 115.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00398/0.3108, allocations: 6.762 MB / 453.8 MB, free: 109.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.561e-05/0.3108, allocations: 44.39 kB / 453.9 MB, free: 109.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=960) (initialization): time 0.005713/0.3166, allocations: 5.192 MB / 459.1 MB, free: 108.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.676e-05/0.3166, allocations: 80.91 kB / 459.1 MB, free: 108.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001033/0.3167, allocations: 159.1 kB / 459.3 MB, free: 108.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0013/0.318, allocations: 0.6785 MB / 460 MB, free: 108.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002687/0.3207, allocations: 1.817 MB / 461.8 MB, free: 108 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00305/0.3238, allocations: 3.218 MB / 465 MB, free: 106.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002464/0.3262, allocations: 314.9 kB / 465.3 MB, free: 106.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003027/0.3265, allocations: 378.4 kB / 465.7 MB, free: 105.8 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.001313/0.3278, allocations: 0.7104 MB / 466.4 MB, free: 105.4 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003714/0.3282, allocations: 273.7 kB / 466.7 MB, free: 105.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001857/0.3301, allocations: 1.469 MB / 468.1 MB, free: 104.4 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.762e-05/0.3301, allocations: 24 kB / 468.1 MB, free: 104.4 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.3301, allocations: 8 kB / 468.2 MB, free: 104.4 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.325e-05/0.3301, allocations: 16.41 kB / 468.2 MB, free: 104.4 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0072/0.3373, allocations: 5.817 MB / 474 MB, free: 100.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/0.3373, allocations: 8 kB / 474 MB, free: 100.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008253/0.3381, allocations: 365.2 kB / 474.4 MB, free: 100.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003983/0.3385, allocations: 371.6 kB / 474.7 MB, free: 100.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0013/0.3398, allocations: 0.6621 MB / 475.4 MB, free: 99.62 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001054/0.3399, allocations: 40 kB / 475.4 MB, free: 99.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0022/0.3421, allocations: 2.305 MB / 477.7 MB, free: 97.47 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.112e-06/0.3421, allocations: 15.97 kB / 477.7 MB, free: 97.45 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002488/0.3446, allocations: 2.59 MB / 480.3 MB, free: 94.82 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002728/0.3449, allocations: 51.69 kB / 480.4 MB, free: 94.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006883/0.3456, allocations: 43.98 kB / 480.4 MB, free: 94.73 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001989/0.3458, allocations: 148.9 kB / 480.6 MB, free: 94.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.177e-05/0.3459, allocations: 48 kB / 480.6 MB, free: 94.54 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009819/0.3469, allocations: 1.392 MB / 482 MB, free: 93.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3469, allocations: 0 / 482 MB, free: 93.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003652/0.3505, allocations: 1.33 MB / 483.3 MB, free: 91.98 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.0003973/0.3509, allocations: 229.2 kB / 483.6 MB, free: 91.77 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002999/0.3539, allocations: 3.133 MB / 486.7 MB, free: 88.73 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001783/0.3541, allocations: 128 kB / 486.8 MB, free: 88.59 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006355/0.3547, allocations: 0.7714 MB / 487.6 MB, free: 87.82 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001931/0.3567, allocations: 1.051 MB / 488.6 MB, free: 86.79 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01171/0.3684, allocations: 9.848 MB / 498.5 MB, free: 76.83 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001083/0.3694, allocations: 1.632 MB / 0.4884 GB, free: 75.18 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001292/0.3707, allocations: 0.5886 MB / 0.489 GB, free: 74.58 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008253/0.3716, allocations: 0.6417 MB / 0.4896 GB, free: 73.94 MB / 426.7 MB Notification: Performance of SimCode: time 1.172e-06/0.3716, allocations: 0 / 0.4896 GB, free: 73.94 MB / 426.7 MB Notification: Performance of Templates: time 0.05315/0.4247, allocations: 42.24 MB / 0.5308 GB, free: 32.11 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.118104155175388]