Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008277/0.0008278, allocations: 98.11 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005565/0.005565, allocations: 172.4 kB / 16.27 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.374/1.374, allocations: 205.4 MB / 222.4 MB, free: 5.805 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2863/0.2863, allocations: 38.04 MB / 308.8 MB, free: 10.16 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005677/0.0005677, allocations: 20 kB / 377.1 MB, free: 14.81 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1146, allocations: 57.52 MB / 434.6 MB, free: 5.195 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.2687/0.3834, allocations: 33.75 MB / 468.3 MB, free: 33.03 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01525/0.3987, allocations: 7.83 MB / 476.1 MB, free: 31.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005695/0.4044, allocations: 150.8 kB / 476.3 MB, free: 31.67 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001001/0.4055, allocations: 368.9 kB / 476.7 MB, free: 31.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003265/0.4087, allocations: 1.551 MB / 478.2 MB, free: 31.03 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001127/0.4099, allocations: 0.5647 MB / 478.8 MB, free: 30.83 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004703/0.4146, allocations: 4.755 MB / 483.5 MB, free: 29.58 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004233/0.4189, allocations: 3.273 MB / 486.8 MB, free: 28.24 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002248/0.4211, allocations: 0.9571 MB / 487.8 MB, free: 27.88 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001991/0.4231, allocations: 1.616 MB / 489.4 MB, free: 27.37 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003917/0.4235, allocations: 116.5 kB / 489.5 MB, free: 27.37 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001839/0.4254, allocations: 0.9478 MB / 490.4 MB, free: 27.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001116/0.4265, allocations: 1.426 MB / 491.9 MB, free: 26.69 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00116/0.4277, allocations: 1.683 MB / 493.5 MB, free: 25.51 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006709/0.4344, allocations: 5.43 MB / 499 MB, free: 23.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.4345, allocations: 0.6094 kB / 499 MB, free: 23.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.327e-06/0.4345, allocations: 1.125 kB / 499 MB, free: 23.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002709/0.4347, allocations: 4 kB / 499 MB, free: 23.96 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.009077/0.4438, allocations: 3.297 MB / 0.4905 GB, free: 22.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.646e-05/0.4439, allocations: 12.47 kB / 0.4905 GB, free: 22.03 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007751/0.4517, allocations: 1.824 MB / 0.4923 GB, free: 21.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004477/0.4562, allocations: 1.968 MB / 0.4942 GB, free: 20.64 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001447/0.4563, allocations: 189.7 kB / 0.4944 GB, free: 20.55 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005494/0.4569, allocations: 269 kB / 0.4947 GB, free: 20.45 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01371/0.4706, allocations: 8.45 MB / 0.5029 GB, free: 15.74 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001005/0.4708, allocations: 36.16 kB / 0.5029 GB, free: 15.72 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003547/0.4711, allocations: 123.5 kB / 0.5031 GB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002818/0.4739, allocations: 1.699 MB / 0.5047 GB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01372/0.4877, allocations: 7.111 MB / 0.5117 GB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03997/0.5277, allocations: 34.16 MB / 0.545 GB, free: 9.293 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006928/0.5347, allocations: 3.279 MB / 0.5482 GB, free: 5.859 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001842/0.5365, allocations: 1.462 MB / 0.5496 GB, free: 4.383 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006172/0.5427, allocations: 4.365 MB / 0.5539 GB, free: 15.81 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.067e-05/0.5428, allocations: 51.06 kB / 0.554 GB, free: 15.75 MB / 430.1 MB Notification: Performance of pre-optimization done (n=121): time 3.757e-06/0.5428, allocations: 0 / 0.554 GB, free: 15.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=129): time 0.02754/0.5704, allocations: 11.52 MB / 0.5652 GB, free: 4.082 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.5705, allocations: 170.8 kB / 0.5654 GB, free: 3.879 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00534/0.5759, allocations: 3.733 MB / 0.569 GB, free: 156 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002866/0.5762, allocations: 41.7 kB / 0.5691 GB, free: 108 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001804/0.578, allocations: 2.752 MB / 0.5717 GB, free: 13.31 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005661/0.5786, allocations: 0.5171 MB / 0.5722 GB, free: 12.79 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005081/0.5791, allocations: 465.7 kB / 0.5727 GB, free: 12.33 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.131e-05/0.5792, allocations: 305.3 kB / 0.573 GB, free: 12.03 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002361/0.5815, allocations: 1.701 MB / 0.5746 GB, free: 10.32 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004789/0.5863, allocations: 5.128 MB / 0.5797 GB, free: 3.465 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009172/0.5955, allocations: 7.422 MB / 0.5869 GB, free: 10.34 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001031/0.5957, allocations: 40 kB / 0.5869 GB, free: 10.3 MB / 462.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01225/0.608, allocations: 6.714 MB / 0.5935 GB, free: 3.574 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.733e-05/0.6081, allocations: 60 kB / 0.5936 GB, free: 3.516 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001494/0.6082, allocations: 123.9 kB / 0.5937 GB, free: 3.395 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006269/0.6089, allocations: 328.6 kB / 0.594 GB, free: 3.07 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003522/0.6124, allocations: 1.244 MB / 0.5952 GB, free: 1.824 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002326/0.6147, allocations: 2.29 MB / 0.5974 GB, free: 15.39 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0034/0.6181, allocations: 291.5 kB / 0.5977 GB, free: 15.11 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004873/0.6186, allocations: 339.9 kB / 0.598 GB, free: 14.78 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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 (668): * Single equations (assignments): 664 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00305/0.6217, allocations: 1.787 MB / 0.5998 GB, free: 12.98 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007714/0.6225, allocations: 312 kB / 0.6001 GB, free: 12.67 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00475/0.6272, allocations: 2.36 MB / 0.6024 GB, free: 10.29 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.662e-05/0.6273, allocations: 16.05 kB / 0.6024 GB, free: 10.28 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/0.6273, allocations: 11.86 kB / 0.6024 GB, free: 10.27 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.328e-05/0.6273, allocations: 11.97 kB / 0.6024 GB, free: 10.25 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01079/0.6381, allocations: 5.923 MB / 0.6082 GB, free: 4.262 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-05/0.6382, allocations: 4 kB / 0.6082 GB, free: 4.258 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008016/0.639, allocations: 171.7 kB / 0.6084 GB, free: 4.09 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002119/0.6411, allocations: 0.716 MB / 0.6091 GB, free: 3.371 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001216/0.6412, allocations: 24 kB / 0.6091 GB, free: 3.348 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005708/0.647, allocations: 4.464 MB / 0.6135 GB, free: 14.75 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.647, allocations: 4 kB / 0.6135 GB, free: 14.75 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006827/0.6538, allocations: 4.325 MB / 0.6177 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00148/0.6553, allocations: 0.5359 MB / 0.6182 GB, free: 9.828 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002969/0.6556, allocations: 16 kB / 0.6182 GB, free: 9.812 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001063/0.6567, allocations: 75.91 kB / 0.6183 GB, free: 9.738 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002046/0.6569, allocations: 68.62 kB / 0.6184 GB, free: 9.672 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.683e-05/0.657, allocations: 36 kB / 0.6184 GB, free: 9.637 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004141/0.6612, allocations: 2.335 MB / 0.6207 GB, free: 7.316 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6612, allocations: 0 / 0.6207 GB, free: 7.316 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005414/0.6666, allocations: 0.828 MB / 0.6215 GB, free: 6.488 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.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 (96): * Single equations (assignments): 92 * 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,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004375/0.6671, allocations: 151 kB / 0.6216 GB, free: 6.328 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006475/0.6736, allocations: 4.043 MB / 0.6256 GB, free: 2.305 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.6736, allocations: 0 / 0.6256 GB, free: 2.305 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001442/0.675, allocations: 1.103 MB / 0.6267 GB, free: 1.188 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003017/0.6781, allocations: 372.6 kB / 0.627 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2639/0.942, allocations: 9.027 MB / 0.6358 GB, free: 121.6 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003275/0.9453, allocations: 2.799 MB / 0.6386 GB, free: 120.9 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00406/0.9494, allocations: 1.665 MB / 0.6402 GB, free: 120.7 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006757/0.9501, allocations: 209.4 kB / 0.6404 GB, free: 120.7 MB / 494.1 MB Notification: Performance of SimCode: time 1.512e-06/0.9501, allocations: 0 / 0.6404 GB, free: 120.7 MB / 494.1 MB Notification: Performance of Templates: time 0.06464/1.015, allocations: 29.52 MB / 0.6692 GB, free: 113 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) Environment - environmentSimulation: