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.001292/0.001292, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.001121/0.001121, allocations: 172 kB / 24.91 MB, free: 8.613 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.943/0.943, allocations: 177.1 MB / 205.3 MB, free: 5.48 MB / 186.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.2423/0.2423, allocations: 34.27 MB / 296.1 MB, free: 0.7109 MB / 266.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.453e-06/1.453e-06, allocations: 0 / 325.3 MB, free: 7.637 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.98e-05/2.125e-05, allocations: 5.719 kB / 325.3 MB, free: 7.633 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01398/0.014, allocations: 12.55 MB / 337.8 MB, free: 11.02 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01168/0.02568, allocations: 4.917 MB / 342.8 MB, free: 6.09 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001957/0.02764, allocations: 95.56 kB / 342.9 MB, free: 5.996 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00742/0.03506, allocations: 4.197 MB / 347 MB, free: 1.785 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006073/0.04113, allocations: 2.313 MB / 349.4 MB, free: 15.46 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003143/0.04427, allocations: 1.302 MB / 350.7 MB, free: 14.16 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007705/0.05198, allocations: 6.555 MB / 357.2 MB, free: 7.594 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003635/0.05561, allocations: 4.554 MB / 361.8 MB, free: 2.949 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003207/0.05882, allocations: 3.848 MB / 365.6 MB, free: 15.09 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00243/0.06125, allocations: 3.125 MB / 368.7 MB, free: 11.96 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004269/0.06168, allocations: 0.5 MB / 369.2 MB, free: 11.46 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001732/0.06341, allocations: 1.634 MB / 370.9 MB, free: 9.824 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001475/0.06488, allocations: 2.84 MB / 373.7 MB, free: 6.977 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001179/0.06606, allocations: 1.784 MB / 375.5 MB, free: 5.188 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004388/0.07045, allocations: 6.303 MB / 381.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.07046, allocations: 0 / 381.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.106e-06/0.07046, allocations: 4 kB / 381.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.198e-05/0.0705, allocations: 0 / 381.8 MB, free: 14.86 MB / 362.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.005586/0.07609, allocations: 5.995 MB / 387.8 MB, free: 8.801 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.07613, allocations: 12.02 kB / 387.8 MB, free: 8.789 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003296/0.07942, allocations: 1.363 MB / 389.2 MB, free: 7.426 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002538/0.08196, allocations: 2.568 MB / 391.7 MB, free: 4.797 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001866/0.08215, allocations: 372.1 kB / 392.1 MB, free: 4.418 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000466/0.08261, allocations: 428.3 kB / 392.5 MB, free: 4 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006664/0.08928, allocations: 6.647 MB / 399.2 MB, free: 12.47 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.463e-05/0.08936, allocations: 47.58 kB / 399.2 MB, free: 12.42 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003262/0.08969, allocations: 203.8 kB / 399.4 MB, free: 12.22 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00165/0.09134, allocations: 2.176 MB / 401.6 MB, free: 10.05 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005186/0.09652, allocations: 3.383 MB / 405 MB, free: 6.633 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02612/0.1226, allocations: 39.27 MB / 444.2 MB, free: 14 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00481/0.1275, allocations: 2.284 MB / 446.5 MB, free: 11.68 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000655/0.1281, allocations: 0.5514 MB / 447.1 MB, free: 11.11 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006382/0.1345, allocations: 5.449 MB / 452.5 MB, free: 5.629 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.695e-05/0.1345, allocations: 51.56 kB / 452.6 MB, free: 5.57 MB / 426.7 MB Notification: Performance of pre-optimization done (n=178): time 3.206e-06/0.1345, allocations: 0 / 452.6 MB, free: 5.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=226): time 0.2024/0.337, allocations: 11.55 MB / 464.1 MB, free: 124.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.337, allocations: 234.3 kB / 464.4 MB, free: 124.4 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002721/0.3397, allocations: 3.758 MB / 468.1 MB, free: 124 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.488e-05/0.3398, allocations: 58.33 kB / 468.2 MB, free: 123.9 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001101/0.3409, allocations: 3.81 MB / 472 MB, free: 121.8 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003782/0.3413, allocations: 0.8909 MB / 472.9 MB, free: 121.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009362/0.3422, allocations: 1.393 MB / 474.3 MB, free: 121.1 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 3.248e-05/0.3423, allocations: 308.8 kB / 474.6 MB, free: 120.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00126/0.3435, allocations: 0.9169 MB / 475.5 MB, free: 120.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0028/0.3463, allocations: 5.227 MB / 480.7 MB, free: 115.1 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004508/0.3508, allocations: 6.761 MB / 487.5 MB, free: 107.7 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.385e-05/0.3509, allocations: 44 kB / 487.5 MB, free: 107.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=960) (initialization): time 0.006445/0.3573, allocations: 5.201 MB / 492.7 MB, free: 103.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.679e-05/0.3574, allocations: 75.98 kB / 492.8 MB, free: 103.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.681e-05/0.3575, allocations: 152 kB / 492.9 MB, free: 103.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001601/0.3591, allocations: 0.6819 MB / 493.6 MB, free: 102.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0033/0.3624, allocations: 1.707 MB / 495.3 MB, free: 100.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003561/0.366, allocations: 3.206 MB / 498.5 MB, free: 97.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003017/0.369, allocations: 311.7 kB / 498.8 MB, free: 97.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003631/0.3693, allocations: 381 kB / 499.2 MB, free: 96.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.001464/0.3708, allocations: 0.7128 MB / 499.9 MB, free: 96.08 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004035/0.3712, allocations: 279.2 kB / 0.4885 GB, free: 95.81 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002317/0.3735, allocations: 1.463 MB / 0.4899 GB, free: 94.32 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.941e-05/0.3735, allocations: 24 kB / 0.4899 GB, free: 94.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.325e-06/0.3736, allocations: 4 kB / 0.4899 GB, free: 94.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.486e-05/0.3736, allocations: 11.97 kB / 0.4899 GB, free: 94.29 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007604/0.3812, allocations: 5.821 MB / 0.4956 GB, free: 88.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.819e-06/0.3812, allocations: 8 kB / 0.4956 GB, free: 88.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/0.3822, allocations: 347.9 kB / 0.496 GB, free: 87.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001576/0.3838, allocations: 0.6544 MB / 0.4966 GB, free: 87.29 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001101/0.3839, allocations: 43.98 kB / 0.4966 GB, free: 87.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002671/0.3866, allocations: 2.305 MB / 0.4989 GB, free: 84.85 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/0.3866, allocations: 11.94 kB / 0.4989 GB, free: 84.84 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002923/0.3895, allocations: 2.595 MB / 0.5014 GB, free: 82.12 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003497/0.3898, allocations: 380.5 kB / 0.5018 GB, free: 81.75 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003018/0.3901, allocations: 40 kB / 0.5018 GB, free: 81.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006472/0.3908, allocations: 47.98 kB / 0.5019 GB, free: 81.66 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001906/0.391, allocations: 148.9 kB / 0.502 GB, free: 81.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.501e-05/0.3911, allocations: 49.86 kB / 0.5021 GB, free: 81.47 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008824/0.3919, allocations: 1.398 MB / 0.5034 GB, free: 80.06 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3919, allocations: 0 / 0.5034 GB, free: 80.06 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003239/0.3952, allocations: 1.324 MB / 0.5047 GB, free: 78.73 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.000375/0.3956, allocations: 227.8 kB / 0.505 GB, free: 78.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002577/0.3981, allocations: 3.141 MB / 0.508 GB, free: 75.39 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001337/0.3983, allocations: 108.5 kB / 0.5081 GB, free: 75.27 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005951/0.3989, allocations: 0.7648 MB / 0.5089 GB, free: 74.49 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001566/0.4004, allocations: 0.7548 MB / 0.5096 GB, free: 73.76 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00756/0.408, allocations: 9.582 MB / 0.519 GB, free: 64.03 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001011/0.409, allocations: 1.621 MB / 0.5205 GB, free: 62.39 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001125/0.4101, allocations: 0.5872 MB / 0.5211 GB, free: 61.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007824/0.4109, allocations: 0.6456 MB / 0.5218 GB, free: 61.15 MB / 426.7 MB Notification: Performance of SimCode: time 1.162e-06/0.4109, allocations: 3.938 kB / 0.5218 GB, free: 61.15 MB / 426.7 MB Notification: Performance of Templates: time 0.05086/0.4618, allocations: 41.43 MB / 0.5622 GB, free: 20.12 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 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 4.1365343532525]