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.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.001411/0.001411, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 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.001601/0.001601, allocations: 170.6 kB / 24.91 MB, free: 8.723 MB / 18.57 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.9953/0.9953, allocations: 177.1 MB / 205.3 MB, free: 5.121 MB / 186.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.2885/0.2885, allocations: 32.8 MB / 294.6 MB, free: 1.18 MB / 266.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.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.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.212e-06/1.212e-06, allocations: 0 / 323.3 MB, free: 9.668 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.716e-05/1.837e-05, allocations: 5.359 kB / 323.3 MB, free: 9.664 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.009762/0.009781, allocations: 12.54 MB / 335.8 MB, free: 13.07 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00848/0.01826, allocations: 4.917 MB / 340.7 MB, free: 8.133 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001225/0.01949, allocations: 99.56 kB / 340.8 MB, free: 8.035 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003776/0.02326, allocations: 4.193 MB / 345 MB, free: 3.828 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003717/0.02698, allocations: 2.317 MB / 347.3 MB, free: 1.5 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001745/0.02872, allocations: 1.306 MB / 348.7 MB, free: 196 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005793/0.03452, allocations: 6.55 MB / 355.2 MB, free: 9.633 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004158/0.03867, allocations: 4.557 MB / 359.8 MB, free: 4.984 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004192/0.04287, allocations: 3.848 MB / 363.6 MB, free: 1.129 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002848/0.04571, allocations: 3.118 MB / 366.7 MB, free: 14 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000557/0.04627, allocations: 0.5039 MB / 367.2 MB, free: 13.5 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00206/0.04833, allocations: 1.642 MB / 368.9 MB, free: 11.86 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001837/0.05017, allocations: 2.833 MB / 371.7 MB, free: 9.016 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001393/0.05156, allocations: 1.78 MB / 373.5 MB, free: 7.23 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005736/0.0573, allocations: 6.314 MB / 379.8 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.0573, allocations: 4 kB / 379.8 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.0573, allocations: 0 / 379.8 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001362/0.05744, allocations: 0 / 379.8 MB, free: 0.8906 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.007261/0.0647, allocations: 5.995 MB / 385.8 MB, free: 10.83 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.06474, allocations: 12.03 kB / 385.8 MB, free: 10.82 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003481/0.06822, allocations: 1.355 MB / 387.2 MB, free: 9.461 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003182/0.0714, allocations: 2.568 MB / 389.7 MB, free: 6.832 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001816/0.07158, allocations: 376.1 kB / 390.1 MB, free: 6.449 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005083/0.07209, allocations: 436.3 kB / 390.5 MB, free: 6.023 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007138/0.07923, allocations: 6.639 MB / 397.2 MB, free: 14.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.732e-05/0.07932, allocations: 55.56 kB / 397.2 MB, free: 14.45 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003326/0.07966, allocations: 199.8 kB / 397.4 MB, free: 14.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001631/0.08129, allocations: 2.172 MB / 399.6 MB, free: 12.08 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005824/0.08711, allocations: 3.375 MB / 403 MB, free: 8.672 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0308/0.1179, allocations: 39.27 MB / 442.2 MB, free: 48 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1612/0.2791, allocations: 2.266 MB / 444.5 MB, free: 112 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006641/0.2798, allocations: 0.5535 MB / 445 MB, free: 111.9 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006962/0.2868, allocations: 5.432 MB / 450.5 MB, free: 111.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.2868, allocations: 58.06 kB / 450.5 MB, free: 111.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=178): time 3.306e-06/0.2868, allocations: 3.844 kB / 450.5 MB, free: 111.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=226): time 0.02554/0.3123, allocations: 11.58 MB / 462.1 MB, free: 106.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.023e-05/0.3124, allocations: 235 kB / 462.3 MB, free: 106.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002577/0.315, allocations: 3.753 MB / 466.1 MB, free: 103.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001004/0.3151, allocations: 61.7 kB / 466.2 MB, free: 103.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001021/0.3161, allocations: 3.814 MB / 470 MB, free: 100 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003764/0.3165, allocations: 0.8828 MB / 470.9 MB, free: 99.17 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009365/0.3174, allocations: 1.4 MB / 472.3 MB, free: 97.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.853e-05/0.3174, allocations: 305.1 kB / 472.6 MB, free: 97.63 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001255/0.3187, allocations: 0.9151 MB / 473.5 MB, free: 96.71 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002097/0.3208, allocations: 5.231 MB / 478.7 MB, free: 89.41 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003918/0.3247, allocations: 6.754 MB / 485.5 MB, free: 80.83 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.644e-05/0.3248, allocations: 44 kB / 485.5 MB, free: 80.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=960) (initialization): time 0.00571/0.3305, allocations: 5.206 MB / 490.7 MB, free: 75.56 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.345e-05/0.3305, allocations: 73.56 kB / 490.8 MB, free: 75.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.549e-05/0.3306, allocations: 153.9 kB / 490.9 MB, free: 75.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001325/0.3319, allocations: 0.6788 MB / 491.6 MB, free: 74.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002464/0.3344, allocations: 1.708 MB / 493.3 MB, free: 72.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002911/0.3373, allocations: 3.216 MB / 496.5 MB, free: 69.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002521/0.3398, allocations: 319.7 kB / 496.8 MB, free: 69.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002898/0.3401, allocations: 376 kB / 497.2 MB, free: 68.96 MB / 410.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.001369/0.3415, allocations: 0.7104 MB / 497.9 MB, free: 68.23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003756/0.3419, allocations: 279.7 kB / 498.2 MB, free: 67.96 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001794/0.3436, allocations: 1.454 MB / 499.6 MB, free: 66.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.466e-05/0.3437, allocations: 24 kB / 499.7 MB, free: 66.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.3437, allocations: 7.938 kB / 499.7 MB, free: 66.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/0.3437, allocations: 15.97 kB / 499.7 MB, free: 66.44 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006377/0.3501, allocations: 5.81 MB / 0.4937 GB, free: 60.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/0.3501, allocations: 12.16 kB / 0.4937 GB, free: 60.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007749/0.3508, allocations: 347.4 kB / 0.494 GB, free: 60.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001242/0.3521, allocations: 0.6555 MB / 0.4946 GB, free: 59.45 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.584e-05/0.3522, allocations: 43.98 kB / 0.4947 GB, free: 59.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002161/0.3543, allocations: 2.305 MB / 0.4969 GB, free: 57 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.3543, allocations: 15.98 kB / 0.4969 GB, free: 56.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002499/0.3568, allocations: 2.593 MB / 0.4995 GB, free: 54.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003838/0.3572, allocations: 369.1 kB / 0.4998 GB, free: 53.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002676/0.3575, allocations: 46.28 kB / 0.4999 GB, free: 53.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000706/0.3582, allocations: 51.97 kB / 0.4999 GB, free: 53.81 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002312/0.3584, allocations: 148.9 kB / 0.5001 GB, free: 53.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-05/0.3585, allocations: 52 kB / 0.5001 GB, free: 53.61 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009776/0.3595, allocations: 1.39 MB / 0.5015 GB, free: 52.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3595, allocations: 0 / 0.5015 GB, free: 52.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003551/0.363, allocations: 1.324 MB / 0.5028 GB, free: 50.89 MB / 410.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.0003994/0.3634, allocations: 225.2 kB / 0.503 GB, free: 50.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003166/0.3666, allocations: 3.143 MB / 0.5061 GB, free: 47.53 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001586/0.3668, allocations: 104.2 kB / 0.5062 GB, free: 47.42 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000664/0.3674, allocations: 0.7644 MB / 0.5069 GB, free: 46.65 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001944/0.3694, allocations: 0.7742 MB / 0.5077 GB, free: 45.89 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009337/0.3787, allocations: 9.566 MB / 0.517 GB, free: 36.15 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001236/0.3799, allocations: 1.617 MB / 0.5186 GB, free: 34.51 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001477/0.3814, allocations: 0.5931 MB / 0.5192 GB, free: 33.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008548/0.3823, allocations: 0.6417 MB / 0.5198 GB, free: 33.27 MB / 410.7 MB Notification: Performance of SimCode: time 1.773e-06/0.3823, allocations: 4 kB / 0.5198 GB, free: 33.27 MB / 410.7 MB Notification: Performance of Templates: time 0.05807/0.4403, allocations: 41.43 MB / 0.5602 GB, free: 8.234 MB / 426.7 MB " [Timeout remaining time 660] 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 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 4.292236587963998]