Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001546/0.002557, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009668/0.0009668, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001315/0.002282, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9101/0.9101, allocations: 173.4 MB / 186 MB, free: 7.539 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1787/1.089, allocations: 52.49 MB / 238.5 MB, free: 7.637 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1555/0.1555, allocations: 32.8 MB / 272 MB, free: 6.309 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02029/0.1758, allocations: 12.54 MB / 284.5 MB, free: 9.723 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_ModelicaTest.MultiBody.Joints.JointUSP2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 285.9 MB, free: 8.418 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.044e-05/1.156e-05, allocations: 5.406 kB / 285.9 MB, free: 8.414 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.008882/0.008893, allocations: 12.67 MB / 298.5 MB, free: 11.69 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006838/0.01573, allocations: 4.952 MB / 303.5 MB, free: 6.719 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001684/0.01741, allocations: 95.56 kB / 303.6 MB, free: 6.625 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004046/0.02146, allocations: 4.033 MB / 307.6 MB, free: 2.578 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004117/0.02558, allocations: 2.348 MB / 310 MB, free: 224 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001672/0.02725, allocations: 1.201 MB / 311.2 MB, free: 15.02 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005326/0.03258, allocations: 5.992 MB / 317.1 MB, free: 9.012 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004279/0.03686, allocations: 4.262 MB / 321.4 MB, free: 4.664 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004939/0.0418, allocations: 3.911 MB / 325.3 MB, free: 0.7305 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1424/0.1842, allocations: 3.098 MB / 328.4 MB, free: 9.871 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00238/0.1866, allocations: 0.5009 MB / 328.9 MB, free: 9.871 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003945/0.1906, allocations: 1.65 MB / 330.6 MB, free: 9.871 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002928/0.1935, allocations: 2.554 MB / 333.1 MB, free: 9.871 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002861/0.1964, allocations: 1.463 MB / 334.6 MB, free: 9.871 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007028/0.2034, allocations: 5.87 MB / 340.5 MB, free: 9.125 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.781e-05/0.2034, allocations: 0 / 340.5 MB, free: 9.125 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2034, allocations: 2.688 kB / 340.5 MB, free: 9.125 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003431/0.2037, allocations: 0 / 340.5 MB, free: 9.125 MB / 314.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.01291/0.2166, allocations: 7.222 MB / 347.7 MB, free: 6.555 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.2167, allocations: 11.59 kB / 347.7 MB, free: 6.555 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005087/0.2218, allocations: 1.361 MB / 349.1 MB, free: 6.543 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004037/0.2258, allocations: 2.58 MB / 351.6 MB, free: 5.488 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002019/0.226, allocations: 374.8 kB / 352 MB, free: 5.25 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006395/0.2267, allocations: 438 kB / 352.4 MB, free: 4.973 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009713/0.2364, allocations: 6.627 MB / 359.1 MB, free: 14.92 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001344/0.2365, allocations: 51.08 kB / 359.1 MB, free: 14.9 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004838/0.237, allocations: 198.7 kB / 359.3 MB, free: 14.75 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001991/0.239, allocations: 2.051 MB / 361.3 MB, free: 12.72 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006825/0.2458, allocations: 3.374 MB / 364.7 MB, free: 9.605 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03889/0.2847, allocations: 39.3 MB / 404 MB, free: 2.465 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005513/0.2902, allocations: 2.205 MB / 406.2 MB, free: 300 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008326/0.291, allocations: 0.5578 MB / 406.8 MB, free: 15.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009339/0.3004, allocations: 5.394 MB / 412.2 MB, free: 10.43 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.007e-05/0.3004, allocations: 63.14 kB / 412.2 MB, free: 10.36 MB / 378.7 MB Notification: Performance of pre-optimization done (n=178): time 4.569e-06/0.3004, allocations: 0 / 412.2 MB, free: 10.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=226): time 0.02826/0.3287, allocations: 11.56 MB / 423.8 MB, free: 14.98 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.936e-05/0.3288, allocations: 184.2 kB / 424 MB, free: 14.77 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004354/0.3331, allocations: 3.755 MB / 427.7 MB, free: 11.66 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002395/0.3334, allocations: 57.7 kB / 427.8 MB, free: 11.6 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001707/0.3351, allocations: 3.811 MB / 431.6 MB, free: 7.977 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006605/0.3357, allocations: 0.8945 MB / 432.5 MB, free: 7.129 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001184/0.3369, allocations: 1.39 MB / 433.9 MB, free: 5.895 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.327e-05/0.337, allocations: 305.1 kB / 434.2 MB, free: 5.594 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001457/0.3384, allocations: 0.9226 MB / 435.1 MB, free: 4.672 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003275/0.3417, allocations: 5.229 MB / 440.3 MB, free: 13.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005503/0.3472, allocations: 7.264 MB / 447.6 MB, free: 4.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.671e-05/0.3473, allocations: 44 kB / 447.6 MB, free: 4.438 MB / 410.7 MB Notification: Performance of matching and sorting (n=960) (initialization): time 0.006762/0.3541, allocations: 5.194 MB / 452.8 MB, free: 15.22 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.866e-05/0.3541, allocations: 72 kB / 452.9 MB, free: 15.15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001688/0.3543, allocations: 160 kB / 453.1 MB, free: 15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001529/0.3558, allocations: 0.7023 MB / 453.8 MB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003259/0.3591, allocations: 1.809 MB / 455.6 MB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003522/0.3626, allocations: 3.202 MB / 458.8 MB, free: 9.227 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003539/0.3661, allocations: 311.7 kB / 459.1 MB, free: 8.922 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005334/0.3667, allocations: 387.1 kB / 459.5 MB, free: 8.547 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.001966/0.3686, allocations: 0.7077 MB / 460.2 MB, free: 7.824 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005451/0.3692, allocations: 279.6 kB / 460.4 MB, free: 7.551 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002158/0.3713, allocations: 1.479 MB / 461.9 MB, free: 6.055 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.148e-05/0.3714, allocations: 20 kB / 461.9 MB, free: 6.035 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/0.3714, allocations: 4 kB / 461.9 MB, free: 6.031 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.538e-05/0.3714, allocations: 15.95 kB / 462 MB, free: 6.016 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008231/0.3796, allocations: 5.817 MB / 467.8 MB, free: 480 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.187e-05/0.3796, allocations: 16 kB / 467.8 MB, free: 464 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008732/0.3805, allocations: 368.2 kB / 468.2 MB, free: 96 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008475/0.3814, allocations: 373.1 kB / 468.5 MB, free: 15.73 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001514/0.3829, allocations: 0.657 MB / 469.2 MB, free: 15.06 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001367/0.383, allocations: 47.92 kB / 469.2 MB, free: 15.02 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00255/0.3856, allocations: 2.305 MB / 471.5 MB, free: 12.61 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/0.3856, allocations: 7.938 kB / 471.5 MB, free: 12.6 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003008/0.3886, allocations: 2.611 MB / 474.1 MB, free: 9.871 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005556/0.3891, allocations: 40 kB / 474.2 MB, free: 9.832 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008137/0.39, allocations: 47.98 kB / 474.2 MB, free: 9.785 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002388/0.3902, allocations: 156.9 kB / 474.4 MB, free: 9.633 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.005e-05/0.3903, allocations: 44 kB / 474.4 MB, free: 9.59 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001671/0.392, allocations: 1.398 MB / 475.8 MB, free: 8.18 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.392, allocations: 0 / 475.8 MB, free: 8.18 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004254/0.3962, allocations: 1.351 MB / 477.2 MB, free: 6.828 MB / 442.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.0005387/0.3967, allocations: 255.7 kB / 477.4 MB, free: 6.566 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004338/0.4011, allocations: 3.281 MB / 480.7 MB, free: 3.324 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002561/0.4013, allocations: 132 kB / 480.8 MB, free: 3.184 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002326/0.4037, allocations: 1.401 MB / 482.2 MB, free: 1.766 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004336/0.408, allocations: 3.336 MB / 485.6 MB, free: 13.95 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01633/0.4243, allocations: 9.84 MB / 495.4 MB, free: 3.941 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001686/0.426, allocations: 1.626 MB / 497 MB, free: 2.297 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001762/0.4278, allocations: 0.5884 MB / 497.6 MB, free: 1.703 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009086/0.4287, allocations: 0.63 MB / 498.3 MB, free: 1.07 MB / 458.7 MB Notification: Performance of SimCode: time 1.733e-06/0.4287, allocations: 0 / 498.3 MB, free: 1.07 MB / 458.7 MB Notification: Performance of Templates: time 0.2058/0.6345, allocations: 40.92 MB / 0.5265 GB, free: 119.3 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.821772034280002]