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.001073/0.001073, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001486/0.002559, allocations: 447.8 kB / 10.35 MB, free: 348 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.000962/0.000962, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000921/0.001883, allocations: 463.6 kB / 11.69 MB, free: 2.48 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.9896/0.9896, allocations: 158.6 MB / 171 MB, free: 2.184 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1852/1.175, allocations: 49.5 MB / 220.5 MB, free: 5.277 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.148/0.148, allocations: 32.34 MB / 253.6 MB, free: 4.16 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02217/0.1701, allocations: 12.3 MB / 265.9 MB, free: 7.824 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.363e-06/1.363e-06, allocations: 0 / 267.2 MB, free: 6.523 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.487e-05/1.623e-05, allocations: 2.312 kB / 267.2 MB, free: 6.52 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.0282/0.02822, allocations: 12.68 MB / 279.9 MB, free: 9.766 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01722/0.04543, allocations: 4.949 MB / 284.9 MB, free: 4.801 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002328/0.04776, allocations: 95.56 kB / 285 MB, free: 4.707 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006167/0.05393, allocations: 4.049 MB / 289 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006357/0.06028, allocations: 2.329 MB / 291.3 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002048/0.06233, allocations: 1.208 MB / 292.5 MB, free: 13.09 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.006842/0.06918, allocations: 5.919 MB / 298.5 MB, free: 7.156 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004984/0.07416, allocations: 4.281 MB / 302.7 MB, free: 2.793 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004938/0.0791, allocations: 3.814 MB / 306.6 MB, free: 14.96 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002909/0.08201, allocations: 3.118 MB / 309.7 MB, free: 11.83 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006509/0.08266, allocations: 0.5 MB / 310.2 MB, free: 11.33 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002152/0.08481, allocations: 1.65 MB / 311.8 MB, free: 9.68 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001745/0.08655, allocations: 2.549 MB / 314.4 MB, free: 7.125 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00167/0.08822, allocations: 1.469 MB / 315.8 MB, free: 5.652 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005349/0.09357, allocations: 5.893 MB / 321.7 MB, free: 15.74 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.365e-05/0.09359, allocations: 0 / 321.7 MB, free: 15.74 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.09359, allocations: 3.938 kB / 321.7 MB, free: 15.73 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001288/0.09372, allocations: 0 / 321.7 MB, free: 15.73 MB / 330.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.007931/0.1016, allocations: 7.217 MB / 329 MB, free: 8.43 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.1017, allocations: 16.03 kB / 329 MB, free: 8.414 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003698/0.1054, allocations: 1.37 MB / 330.3 MB, free: 7.043 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003039/0.1084, allocations: 2.615 MB / 333 MB, free: 4.367 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001901/0.1086, allocations: 372.1 kB / 333.3 MB, free: 3.988 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004843/0.1091, allocations: 432.3 kB / 333.7 MB, free: 3.566 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.167/0.2761, allocations: 6.625 MB / 340.4 MB, free: 34.46 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001799/0.2762, allocations: 49.23 kB / 340.4 MB, free: 34.46 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003611/0.2766, allocations: 203.9 kB / 340.6 MB, free: 34.46 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002082/0.2787, allocations: 2.184 MB / 342.8 MB, free: 34.45 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006698/0.2854, allocations: 3.378 MB / 346.2 MB, free: 34.3 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02799/0.3134, allocations: 39.31 MB / 385.5 MB, free: 7.207 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004589/0.318, allocations: 2.209 MB / 387.7 MB, free: 5.043 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006378/0.3186, allocations: 0.5576 MB / 388.3 MB, free: 4.492 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00665/0.3253, allocations: 5.412 MB / 393.7 MB, free: 15.19 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.19e-05/0.3253, allocations: 62.06 kB / 393.7 MB, free: 15.12 MB / 346.7 MB Notification: Performance of pre-optimization done (n=178): time 4.138e-06/0.3253, allocations: 0 / 393.7 MB, free: 15.12 MB / 346.7 MB Notification: Performance of matching and sorting (n=226): time 0.02631/0.3516, allocations: 11.39 MB / 405.1 MB, free: 3.934 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.025e-05/0.3517, allocations: 188.2 kB / 405.3 MB, free: 3.715 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003179/0.3549, allocations: 3.784 MB / 409.1 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001113/0.355, allocations: 55.34 kB / 409.1 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001958/0.3569, allocations: 3.814 MB / 412.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005206/0.3574, allocations: 0.8895 MB / 413.8 MB, free: 12.08 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001106/0.3586, allocations: 1.39 MB / 415.2 MB, free: 10.85 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.592e-05/0.3586, allocations: 309 kB / 415.5 MB, free: 10.55 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001361/0.36, allocations: 0.9189 MB / 416.4 MB, free: 9.625 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003317/0.3633, allocations: 5.221 MB / 421.7 MB, free: 2.484 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004884/0.3682, allocations: 6.767 MB / 428.4 MB, free: 10.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.243e-05/0.3683, allocations: 48 kB / 428.5 MB, free: 10.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=960) (initialization): time 0.00634/0.3746, allocations: 5.197 MB / 433.7 MB, free: 4.934 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.066e-05/0.3747, allocations: 72 kB / 433.8 MB, free: 4.863 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00011/0.3748, allocations: 152 kB / 433.9 MB, free: 4.715 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001413/0.3762, allocations: 0.6823 MB / 434.6 MB, free: 4.035 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002812/0.379, allocations: 1.821 MB / 436.4 MB, free: 2.211 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003448/0.3824, allocations: 3.22 MB / 439.6 MB, free: 14.94 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002372/0.3848, allocations: 319.7 kB / 439.9 MB, free: 14.62 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003305/0.3852, allocations: 380 kB / 440.3 MB, free: 14.25 MB / 394.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.001413/0.3866, allocations: 0.7272 MB / 441 MB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003375/0.3869, allocations: 271.7 kB / 441.3 MB, free: 13.25 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002054/0.389, allocations: 1.462 MB / 442.8 MB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.075e-05/0.389, allocations: 27.94 kB / 442.8 MB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/0.389, allocations: 4 kB / 442.8 MB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.335e-05/0.389, allocations: 11.97 kB / 442.8 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007254/0.3963, allocations: 5.842 MB / 448.6 MB, free: 6.488 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.756e-06/0.3963, allocations: 7.938 kB / 448.7 MB, free: 6.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008198/0.3971, allocations: 368.1 kB / 449 MB, free: 6.121 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005802/0.3977, allocations: 0.5322 MB / 449.5 MB, free: 5.586 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001314/0.399, allocations: 0.6528 MB / 450.2 MB, free: 4.93 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.371e-05/0.3991, allocations: 43.98 kB / 450.2 MB, free: 4.887 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002412/0.4015, allocations: 2.31 MB / 452.5 MB, free: 2.508 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.4015, allocations: 7.938 kB / 452.6 MB, free: 2.5 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002758/0.4042, allocations: 2.6 MB / 455.2 MB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002861/0.4045, allocations: 44.7 kB / 455.2 MB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007122/0.4052, allocations: 47.98 kB / 455.2 MB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001957/0.4054, allocations: 156.8 kB / 455.4 MB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.587e-05/0.4055, allocations: 47.98 kB / 455.4 MB, free: 15.53 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001136/0.4066, allocations: 1.419 MB / 456.9 MB, free: 14.27 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.4066, allocations: 0 / 456.9 MB, free: 14.27 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003631/0.4103, allocations: 1.351 MB / 458.2 MB, free: 12.92 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.0004152/0.4107, allocations: 244 kB / 458.5 MB, free: 12.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00316/0.4139, allocations: 3.133 MB / 461.6 MB, free: 9.641 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001785/0.414, allocations: 140 kB / 461.7 MB, free: 9.492 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006834/0.4147, allocations: 0.7643 MB / 462.5 MB, free: 8.738 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002067/0.4168, allocations: 1.057 MB / 463.5 MB, free: 7.688 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01169/0.4285, allocations: 9.882 MB / 473.4 MB, free: 13.69 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00147/0.4299, allocations: 1.635 MB / 475.1 MB, free: 12.04 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001332/0.4313, allocations: 0.5884 MB / 475.7 MB, free: 11.45 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008961/0.4322, allocations: 0.6417 MB / 476.3 MB, free: 10.8 MB / 426.7 MB Notification: Performance of SimCode: time 2.264e-06/0.4322, allocations: 0 / 476.3 MB, free: 10.8 MB / 426.7 MB Notification: Performance of Templates: time 0.2135/0.6456, allocations: 42.97 MB / 0.5071 GB, free: 129.6 MB / 442.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: 4.365413889288902]