Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001021/0.001021, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00142/0.002441, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001053/0.001053, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001077/0.002129, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9732/0.9732, allocations: 177.4 MB / 189.9 MB, free: 4.828 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09855/1.072, allocations: 53.87 MB / 243.7 MB, free: 14.9 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2892/0.2892, allocations: 34.85 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.042/0.3312, allocations: 13.23 MB / 292.6 MB, free: 6.465 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2") translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 293.9 MB, free: 5.184 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.196e-05/2.35e-05, allocations: 2.312 kB / 293.9 MB, free: 5.18 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01297/0.013, allocations: 12.64 MB / 306.5 MB, free: 8.492 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01017/0.02317, allocations: 4.957 MB / 311.5 MB, free: 3.516 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001781/0.02495, allocations: 95.56 kB / 311.6 MB, free: 3.422 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004207/0.02916, allocations: 4.034 MB / 315.6 MB, free: 15.37 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004052/0.03321, allocations: 2.301 MB / 317.9 MB, free: 13.06 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001767/0.03497, allocations: 1.197 MB / 319.1 MB, free: 11.86 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005056/0.04003, allocations: 6.22 MB / 325.3 MB, free: 5.641 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003459/0.04349, allocations: 4.266 MB / 329.6 MB, free: 1.285 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003688/0.04718, allocations: 3.9 MB / 333.5 MB, free: 13.36 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00287/0.05005, allocations: 3.11 MB / 336.6 MB, free: 10.24 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006029/0.05065, allocations: 0.5 MB / 337.1 MB, free: 9.742 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001847/0.0525, allocations: 1.631 MB / 338.7 MB, free: 8.109 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001518/0.05402, allocations: 2.521 MB / 341.2 MB, free: 5.582 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001313/0.05533, allocations: 1.445 MB / 342.7 MB, free: 4.133 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004567/0.0599, allocations: 5.835 MB / 348.5 MB, free: 14.27 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.204e-05/0.05991, allocations: 0 / 348.5 MB, free: 14.27 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.05991, allocations: 0 / 348.5 MB, free: 14.27 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001431/0.06005, allocations: 0 / 348.5 MB, free: 14.27 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.00752/0.06757, allocations: 7.195 MB / 355.7 MB, free: 6.996 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.0676, allocations: 11.44 kB / 355.7 MB, free: 6.988 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00338/0.07098, allocations: 1.37 MB / 357.1 MB, free: 5.617 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002701/0.07368, allocations: 2.568 MB / 359.7 MB, free: 2.988 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001732/0.07386, allocations: 368.1 kB / 360 MB, free: 2.613 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004541/0.07431, allocations: 428.3 kB / 360.4 MB, free: 2.195 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008586/0.0829, allocations: 6.643 MB / 367.1 MB, free: 10.67 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001109/0.08301, allocations: 47.58 kB / 367.1 MB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004178/0.08343, allocations: 199.8 kB / 367.3 MB, free: 10.43 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002322/0.08575, allocations: 2.187 MB / 369.5 MB, free: 8.234 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007054/0.0928, allocations: 3.393 MB / 372.9 MB, free: 4.816 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03327/0.1261, allocations: 39.28 MB / 412.2 MB, free: 12.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005984/0.1321, allocations: 2.22 MB / 414.4 MB, free: 9.914 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001059/0.1331, allocations: 0.5436 MB / 414.9 MB, free: 9.352 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007991/0.1411, allocations: 5.425 MB / 420.4 MB, free: 3.906 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.1411, allocations: 51.56 kB / 420.4 MB, free: 3.848 MB / 410.7 MB Notification: Performance of pre-optimization done (n=178): time 3.376e-06/0.1411, allocations: 0 / 420.4 MB, free: 3.848 MB / 410.7 MB Notification: Performance of matching and sorting (n=226): time 0.02557/0.1667, allocations: 11.34 MB / 431.8 MB, free: 8.441 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.591e-05/0.1668, allocations: 180.2 kB / 431.9 MB, free: 8.23 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002956/0.1697, allocations: 3.759 MB / 435.7 MB, free: 4.426 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.808e-05/0.1698, allocations: 61.64 kB / 435.8 MB, free: 4.359 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0017/0.1715, allocations: 3.806 MB / 439.6 MB, free: 0.5117 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.1662/0.3378, allocations: 0.8902 MB / 440.5 MB, free: 121.1 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002132/0.3399, allocations: 1.39 MB / 441.8 MB, free: 121 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 3.858e-05/0.3399, allocations: 312 kB / 442.1 MB, free: 120.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001399/0.3413, allocations: 0.9197 MB / 443.1 MB, free: 120.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002382/0.3437, allocations: 5.221 MB / 448.3 MB, free: 115 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004008/0.3477, allocations: 6.758 MB / 455 MB, free: 109.1 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.13e-05/0.3478, allocations: 41.84 kB / 455.1 MB, free: 109.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=960) (initialization): time 0.005765/0.3535, allocations: 5.205 MB / 460.3 MB, free: 107.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.869e-05/0.3536, allocations: 76.56 kB / 460.4 MB, free: 107.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.62e-05/0.3537, allocations: 156.4 kB / 460.5 MB, free: 107.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001283/0.355, allocations: 0.676 MB / 461.2 MB, free: 107.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002588/0.3576, allocations: 1.823 MB / 463 MB, free: 107.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002842/0.3604, allocations: 3.209 MB / 466.2 MB, free: 105.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002058/0.3625, allocations: 321.7 kB / 466.5 MB, free: 105.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002643/0.3627, allocations: 377.7 kB / 466.9 MB, free: 105.1 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.001221/0.3639, allocations: 0.7088 MB / 467.6 MB, free: 104.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003375/0.3643, allocations: 278.8 kB / 467.9 MB, free: 104.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001762/0.366, allocations: 1.461 MB / 469.4 MB, free: 103.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.761e-05/0.3661, allocations: 24 kB / 469.4 MB, free: 103.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.3661, allocations: 8 kB / 469.4 MB, free: 103.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/0.3661, allocations: 14.38 kB / 469.4 MB, free: 103.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006471/0.3725, allocations: 5.818 MB / 475.2 MB, free: 99.33 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/0.3726, allocations: 8 kB / 475.2 MB, free: 99.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007808/0.3733, allocations: 374 kB / 475.6 MB, free: 99.01 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003762/0.3737, allocations: 368.8 kB / 475.9 MB, free: 98.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00123/0.3749, allocations: 0.6551 MB / 476.6 MB, free: 98.38 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-05/0.375, allocations: 39.89 kB / 476.6 MB, free: 98.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002101/0.3771, allocations: 2.31 MB / 479 MB, free: 96.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.3771, allocations: 11.94 kB / 479 MB, free: 96.19 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002269/0.3794, allocations: 2.594 MB / 481.6 MB, free: 93.52 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002648/0.3797, allocations: 43.94 kB / 481.6 MB, free: 93.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006614/0.3803, allocations: 47.98 kB / 481.6 MB, free: 93.43 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001702/0.3805, allocations: 152.9 kB / 481.8 MB, free: 93.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-05/0.3806, allocations: 47.98 kB / 481.8 MB, free: 93.24 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008945/0.3815, allocations: 1.397 MB / 483.2 MB, free: 92 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3815, allocations: 0 / 483.2 MB, free: 92 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003315/0.3848, allocations: 1.323 MB / 484.6 MB, free: 90.69 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.0003858/0.3852, allocations: 227.9 kB / 484.8 MB, free: 90.48 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002852/0.388, allocations: 3.144 MB / 487.9 MB, free: 87.41 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001718/0.3882, allocations: 136.1 kB / 488.1 MB, free: 87.27 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005886/0.3888, allocations: 0.7658 MB / 488.8 MB, free: 86.48 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001857/0.3906, allocations: 1.045 MB / 489.9 MB, free: 85.46 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0111/0.4017, allocations: 9.847 MB / 499.7 MB, free: 75.48 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0011/0.4028, allocations: 1.636 MB / 0.4896 GB, free: 73.82 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001226/0.4041, allocations: 0.5924 MB / 0.4902 GB, free: 73.22 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007951/0.4049, allocations: 0.6435 MB / 0.4908 GB, free: 72.58 MB / 426.7 MB Notification: Performance of SimCode: time 1.182e-06/0.4049, allocations: 0 / 0.4908 GB, free: 72.58 MB / 426.7 MB Notification: Performance of Templates: time 0.05199/0.4569, allocations: 42.23 MB / 0.5321 GB, free: 30.76 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 4.2985478937625885]