Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute.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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.Revolute,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002121/0.002121, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002633/0.002633, allocations: 191.8 kB / 16.53 MB, free: 6.664 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.673/1.673, allocations: 205.1 MB / 222.4 MB, free: 4.602 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.361/0.361, allocations: 39.93 MB / 309.7 MB, free: 9.305 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.2. 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.001549/0.00155, allocations: 71.91 kB / 377.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1466, allocations: 56.88 MB / 434.5 MB, free: 3.691 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01515/0.1618, allocations: 12.66 MB / 447.2 MB, free: 6.965 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009853/0.1717, allocations: 3.972 MB / 451.1 MB, free: 2.984 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002418/0.1742, allocations: 63.88 kB / 451.2 MB, free: 2.922 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003132/0.1773, allocations: 1.335 MB / 452.5 MB, free: 1.582 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2551/0.4324, allocations: 1.775 MB / 454.3 MB, free: 36.54 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001746/0.4342, allocations: 493 kB / 454.8 MB, free: 36.54 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005248/0.4395, allocations: 3.653 MB / 458.4 MB, free: 36.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003298/0.4428, allocations: 2.043 MB / 460.5 MB, free: 36.37 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002313/0.4452, allocations: 1.236 MB / 461.7 MB, free: 36.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002585/0.4478, allocations: 1.744 MB / 463.5 MB, free: 36.01 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001113/0.4489, allocations: 240.2 kB / 463.7 MB, free: 36.01 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00259/0.4515, allocations: 0.9434 MB / 464.6 MB, free: 36.01 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002274/0.4538, allocations: 1.632 MB / 466.3 MB, free: 35.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002823/0.4567, allocations: 1.941 MB / 468.2 MB, free: 34.74 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005733/0.4624, allocations: 6.065 MB / 474.3 MB, free: 32.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.4625, allocations: 3.25 kB / 474.3 MB, free: 32.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.037e-06/0.4625, allocations: 0 / 474.3 MB, free: 32.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001842/0.4627, allocations: 0 / 474.3 MB, free: 32.77 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: 1571 * Number of variables: 1571 Notification: Performance of Generate backend data structure: time 0.008545/0.4712, allocations: 4.241 MB / 478.5 MB, free: 30.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.4713, allocations: 14.05 kB / 478.5 MB, free: 30.4 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01079/0.4821, allocations: 3.074 MB / 481.6 MB, free: 30.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004299/0.4864, allocations: 1.951 MB / 483.6 MB, free: 29.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001352/0.4866, allocations: 190.3 kB / 483.7 MB, free: 29.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008081/0.4874, allocations: 263.4 kB / 484 MB, free: 29.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01913/0.5066, allocations: 10.69 MB / 494.7 MB, free: 24.8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001031/0.5067, allocations: 23.12 kB / 494.7 MB, free: 24.8 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004207/0.5071, allocations: 122 kB / 494.8 MB, free: 24.76 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00504/0.5122, allocations: 2.642 MB / 497.5 MB, free: 24.33 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02173/0.5339, allocations: 10.03 MB / 0.4956 GB, free: 21.37 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05069/0.5847, allocations: 35.3 MB / 0.5301 GB, free: 2.648 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01013/0.5948, allocations: 5.18 MB / 0.5351 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003511/0.5984, allocations: 2.297 MB / 0.5374 GB, free: 10.96 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001886/0.6003, allocations: 1.874 MB / 0.5392 GB, free: 8.758 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.282e-05/0.6004, allocations: 60.5 kB / 0.5393 GB, free: 8.691 MB / 414.1 MB Notification: Performance of pre-optimization done (n=229): time 5.641e-06/0.6004, allocations: 3.75 kB / 0.5393 GB, free: 8.691 MB / 414.1 MB Notification: Performance of matching and sorting (n=235): time 0.03408/0.6345, allocations: 14.04 MB / 0.553 GB, free: 10.61 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.138e-05/0.6346, allocations: 77.34 kB / 0.5531 GB, free: 10.52 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004331/0.6389, allocations: 2.676 MB / 0.5557 GB, free: 7.828 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000371/0.6393, allocations: 57.7 kB / 0.5557 GB, free: 7.766 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002429/0.6417, allocations: 2.707 MB / 0.5584 GB, free: 5.055 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001021/0.6428, allocations: 0.8507 MB / 0.5592 GB, free: 4.211 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001479/0.6443, allocations: 1.051 MB / 0.5602 GB, free: 3.152 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.6444, allocations: 301.1 kB / 0.5605 GB, free: 2.855 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003222/0.6476, allocations: 2.216 MB / 0.5627 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005231/0.6529, allocations: 5.137 MB / 0.5677 GB, free: 10.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01004/0.6629, allocations: 8.059 MB / 0.5756 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.714e-05/0.663, allocations: 36 kB / 0.5756 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of matching and sorting (n=704) (initialization): time 0.01402/0.6771, allocations: 7.953 MB / 0.5834 GB, free: 8.586 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.049e-05/0.6772, allocations: 48 kB / 0.5834 GB, free: 8.539 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001293/0.6773, allocations: 100 kB / 0.5835 GB, free: 8.441 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002293/0.6796, allocations: 0.7999 MB / 0.5843 GB, free: 7.641 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004022/0.6837, allocations: 1.205 MB / 0.5855 GB, free: 6.434 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005871/0.6896, allocations: 4.517 MB / 0.5899 GB, free: 1.781 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003875/0.6935, allocations: 295.7 kB / 0.5902 GB, free: 1.492 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007278/0.6942, allocations: 314.6 kB / 0.5905 GB, free: 1.188 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 463 * Number of states: 0 () * Number of discrete variables: 27 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (644): * Single equations (assignments): 637 * Array equations: 6 * 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,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003625/0.6978, allocations: 2.055 MB / 0.5925 GB, free: 15.12 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004651/0.6983, allocations: 264.5 kB / 0.5927 GB, free: 14.86 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008006/0.7063, allocations: 4.726 MB / 0.5973 GB, free: 10.11 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.01e-05/0.7064, allocations: 40 kB / 0.5974 GB, free: 10.07 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.838e-06/0.7064, allocations: 8 kB / 0.5974 GB, free: 10.06 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.587e-05/0.7065, allocations: 15.89 kB / 0.5974 GB, free: 10.05 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01908/0.7255, allocations: 10.62 MB / 0.6078 GB, free: 15.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.845e-05/0.7256, allocations: 8 kB / 0.6078 GB, free: 15.32 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001649/0.7272, allocations: 355.5 kB / 0.6081 GB, free: 14.97 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002053/0.7293, allocations: 0.6645 MB / 0.6088 GB, free: 14.3 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002827/0.7296, allocations: 36 kB / 0.6088 GB, free: 14.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005828/0.7355, allocations: 3.909 MB / 0.6126 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.778e-06/0.7355, allocations: 15.92 kB / 0.6126 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01141/0.7469, allocations: 7.133 MB / 0.6196 GB, free: 2.949 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002046/0.749, allocations: 0.6498 MB / 0.6202 GB, free: 2.277 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008733/0.7499, allocations: 39.98 kB / 0.6203 GB, free: 2.238 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001661/0.7516, allocations: 146.1 kB / 0.6204 GB, free: 2.098 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004047/0.752, allocations: 129.1 kB / 0.6205 GB, free: 1.973 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001841/0.7522, allocations: 67.92 kB / 0.6206 GB, free: 1.906 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002613/0.7548, allocations: 1.648 MB / 0.6222 GB, free: 256 kB / 494.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.7548, allocations: 0 / 0.6222 GB, free: 256 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.004126/0.7589, allocations: 0.9474 MB / 0.6231 GB, free: 15.3 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * 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 (178): * Single equations (assignments): 171 * Array equations: 6 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004316/0.7594, allocations: 175.5 kB / 0.6233 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01297/0.7724, allocations: 8.704 MB / 0.6318 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.577e-06/0.7724, allocations: 5.812 kB / 0.6318 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002589/0.775, allocations: 2.031 MB / 0.6338 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001926/0.7769, allocations: 358.3 kB / 0.6341 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2234/1, allocations: 9.602 MB / 0.6435 GB, free: 162.8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006565/1.007, allocations: 3.228 MB / 0.6467 GB, free: 162.1 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.005331/1.012, allocations: 1.971 MB / 0.6486 GB, free: 162 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001/1.013, allocations: 206 kB / 0.6488 GB, free: 162 MB / 0.4981 GB Notification: Performance of SimCode: time 2.054e-06/1.013, allocations: 0 / 0.6488 GB, free: 162 MB / 0.4981 GB Notification: Performance of Templates: time 0.08/1.093, allocations: 31.03 MB / 0.6791 GB, free: 154 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1)