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.001081/0.001081, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001134/0.002215, allocations: 452 kB / 10.43 MB, free: 264 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.0007242/0.0007242, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009691/0.001693, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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 0.8967/0.8967, allocations: 158.6 MB / 171.2 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1486/1.045, allocations: 49.5 MB / 220.7 MB, free: 1.363 MB / 218.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.1261/0.1261, allocations: 32.36 MB / 253.8 MB, free: 228 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02548/0.1515, allocations: 12.31 MB / 266.1 MB, free: 3.875 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 1.553e-06/1.553e-06, allocations: 0 / 267.4 MB, free: 2.555 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.224e-05/2.38e-05, allocations: 6.25 kB / 267.4 MB, free: 2.547 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01041/0.01044, allocations: 12.69 MB / 280.1 MB, free: 5.781 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007721/0.01816, allocations: 4.945 MB / 285 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002241/0.0204, allocations: 95.56 kB / 285.1 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1506/0.171, allocations: 4.04 MB / 289.2 MB, free: 1.832 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00408/0.175, allocations: 2.328 MB / 291.5 MB, free: 1.582 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001568/0.1766, allocations: 1.205 MB / 292.7 MB, free: 1.547 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00486/0.1815, allocations: 5.914 MB / 298.6 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002828/0.1843, allocations: 4.273 MB / 302.9 MB, free: 15.19 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002879/0.1872, allocations: 3.824 MB / 306.7 MB, free: 13.16 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002459/0.1896, allocations: 3.115 MB / 309.8 MB, free: 10.68 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006202/0.1903, allocations: 0.5039 MB / 310.3 MB, free: 10.18 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001698/0.192, allocations: 1.645 MB / 312 MB, free: 8.613 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001447/0.1934, allocations: 2.558 MB / 314.5 MB, free: 6.078 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001254/0.1947, allocations: 1.465 MB / 316 MB, free: 4.609 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003966/0.1986, allocations: 5.877 MB / 321.9 MB, free: 15.05 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.016e-05/0.1986, allocations: 0 / 321.9 MB, free: 15.05 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1986, allocations: 0 / 321.9 MB, free: 15.05 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.463e-05/0.1987, allocations: 0 / 321.9 MB, free: 15.05 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.005988/0.2047, allocations: 7.224 MB / 329.1 MB, free: 8.227 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.932e-05/0.2047, allocations: 8.031 kB / 329.1 MB, free: 8.219 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003295/0.208, allocations: 1.373 MB / 330.5 MB, free: 6.906 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002622/0.2106, allocations: 2.623 MB / 333.1 MB, free: 4.441 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000199/0.2108, allocations: 372 kB / 333.5 MB, free: 4.105 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004796/0.2113, allocations: 432.1 kB / 333.9 MB, free: 3.73 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006615/0.2179, allocations: 6.632 MB / 340.5 MB, free: 12.78 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.665e-05/0.218, allocations: 52.83 kB / 340.6 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003235/0.2183, allocations: 200.9 kB / 340.8 MB, free: 12.6 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001628/0.22, allocations: 2.05 MB / 342.8 MB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004889/0.2248, allocations: 3.377 MB / 346.2 MB, free: 7.422 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02618/0.251, allocations: 39.31 MB / 385.5 MB, free: 15.58 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004861/0.2559, allocations: 2.206 MB / 387.7 MB, free: 13.33 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006668/0.2565, allocations: 0.5529 MB / 388.3 MB, free: 12.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007115/0.2637, allocations: 5.433 MB / 393.7 MB, free: 7.305 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/0.2637, allocations: 55.5 kB / 393.8 MB, free: 7.242 MB / 378.7 MB Notification: Performance of pre-optimization done (n=178): time 3.337e-06/0.2637, allocations: 3.938 kB / 393.8 MB, free: 7.238 MB / 378.7 MB Notification: Performance of matching and sorting (n=226): time 0.0272/0.2909, allocations: 11.59 MB / 405.4 MB, free: 11.59 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.239e-05/0.291, allocations: 180.2 kB / 405.5 MB, free: 11.38 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002823/0.2938, allocations: 3.783 MB / 409.3 MB, free: 7.555 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001024/0.2939, allocations: 61.7 kB / 409.4 MB, free: 7.488 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001711/0.2956, allocations: 3.81 MB / 413.2 MB, free: 3.637 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004681/0.2961, allocations: 0.8914 MB / 414.1 MB, free: 2.738 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0011/0.2972, allocations: 1.386 MB / 415.5 MB, free: 1.344 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.693e-05/0.2972, allocations: 305.1 kB / 415.8 MB, free: 1.043 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001299/0.2985, allocations: 0.9229 MB / 416.7 MB, free: 120 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003274/0.3018, allocations: 5.227 MB / 421.9 MB, free: 8.699 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006265/0.3081, allocations: 7.264 MB / 429.2 MB, free: 15.24 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.794e-05/0.3081, allocations: 44 kB / 429.2 MB, free: 15.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=960) (initialization): time 0.006086/0.3142, allocations: 5.197 MB / 434.4 MB, free: 9.98 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.784e-05/0.3143, allocations: 72 kB / 434.5 MB, free: 9.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001014/0.3144, allocations: 164 kB / 434.6 MB, free: 9.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001354/0.3157, allocations: 0.695 MB / 435.3 MB, free: 9.051 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003124/0.3189, allocations: 1.809 MB / 437.1 MB, free: 7.238 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003197/0.3221, allocations: 3.22 MB / 440.4 MB, free: 3.922 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002354/0.3244, allocations: 327.7 kB / 440.7 MB, free: 3.602 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003181/0.3247, allocations: 376 kB / 441.1 MB, free: 3.234 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.326, allocations: 0.7154 MB / 441.8 MB, free: 2.504 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003711/0.3264, allocations: 279.7 kB / 442 MB, free: 2.23 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002281/0.3287, allocations: 1.458 MB / 443.5 MB, free: 0.75 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.484e-05/0.3287, allocations: 20 kB / 443.5 MB, free: 0.7305 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/0.3287, allocations: 8 kB / 443.5 MB, free: 0.7227 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/0.3287, allocations: 11.95 kB / 443.5 MB, free: 0.7109 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1449/0.4736, allocations: 5.83 MB / 449.4 MB, free: 126.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.142e-05/0.4737, allocations: 12.06 kB / 449.4 MB, free: 126.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009408/0.4746, allocations: 369.8 kB / 449.7 MB, free: 126.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001276/0.4759, allocations: 0.5393 MB / 450.3 MB, free: 126.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0015/0.4774, allocations: 0.6603 MB / 450.9 MB, free: 126.6 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9e-05/0.4775, allocations: 40.89 kB / 451 MB, free: 126.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002353/0.4798, allocations: 2.31 MB / 453.3 MB, free: 125.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.927e-06/0.4798, allocations: 11.59 kB / 453.3 MB, free: 125.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003498/0.4833, allocations: 2.601 MB / 455.9 MB, free: 124.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005087/0.4838, allocations: 43.16 kB / 455.9 MB, free: 124.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008187/0.4847, allocations: 52.19 kB / 456 MB, free: 124.4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002225/0.4849, allocations: 152.4 kB / 456.1 MB, free: 124.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-05/0.485, allocations: 49.25 kB / 456.2 MB, free: 124.4 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001398/0.4864, allocations: 1.41 MB / 457.6 MB, free: 124.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4864, allocations: 0 / 457.6 MB, free: 124.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003854/0.4902, allocations: 1.357 MB / 459 MB, free: 124.3 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.0004073/0.4906, allocations: 241.5 kB / 459.2 MB, free: 124.2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003261/0.4939, allocations: 3.28 MB / 462.5 MB, free: 123.9 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001951/0.4941, allocations: 131.6 kB / 462.6 MB, free: 123.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001362/0.4954, allocations: 1.41 MB / 464 MB, free: 123.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002107/0.4975, allocations: 3.341 MB / 467.4 MB, free: 121.1 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01193/0.5095, allocations: 9.87 MB / 477.2 MB, free: 116.6 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00108/0.5106, allocations: 1.635 MB / 478.9 MB, free: 116.1 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001249/0.5118, allocations: 0.5931 MB / 479.5 MB, free: 115.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007916/0.5126, allocations: 0.6252 MB / 480.1 MB, free: 115.6 MB / 426.7 MB Notification: Performance of SimCode: time 1.042e-06/0.5126, allocations: 0 / 480.1 MB, free: 115.6 MB / 426.7 MB Notification: Performance of Templates: time 0.04825/0.5608, allocations: 41.37 MB / 0.5092 GB, free: 75.63 MB / 426.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 -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.7185016572475433]