Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR.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.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005237/0.005237, allocations: 101.5 kB / 15.73 MB, free: 6.492 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.001242/0.001242, allocations: 195.7 kB / 16.68 MB, free: 6.375 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.555/1.555, allocations: 205.1 MB / 222.5 MB, free: 4.508 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.3605/0.3605, allocations: 37.99 MB / 307.9 MB, free: 10.18 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.001546/0.001546, allocations: 71.84 kB / 433 MB, free: 5.414 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3529/0.3545, allocations: 56.46 MB / 489.5 MB, free: 19.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.01951/0.374, allocations: 17.78 MB / 0.4953 GB, free: 7.301 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01591/0.39, allocations: 5.661 MB / 0.5009 GB, free: 3.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006004/0.3961, allocations: 111.4 kB / 0.501 GB, free: 3.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009911/0.406, allocations: 4.588 MB / 0.5055 GB, free: 1.016 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01094/0.417, allocations: 3.023 MB / 0.5084 GB, free: 14.84 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005479/0.4225, allocations: 1.495 MB / 0.5099 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01879/0.4413, allocations: 8.608 MB / 0.5183 GB, free: 9.297 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01303/0.4544, allocations: 6.46 MB / 0.5246 GB, free: 3.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009261/0.4638, allocations: 3.026 MB / 0.5275 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008945/0.4728, allocations: 4.28 MB / 0.5317 GB, free: 12.33 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003565/0.4764, allocations: 0.6641 MB / 0.5324 GB, free: 11.67 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006726/0.4831, allocations: 1.849 MB / 0.5342 GB, free: 9.816 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006057/0.4892, allocations: 3.729 MB / 0.5378 GB, free: 6.078 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008893/0.4982, allocations: 4.218 MB / 0.5419 GB, free: 1.836 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02038/0.5186, allocations: 13.59 MB / 0.5552 GB, free: 4.199 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.5186, allocations: 0 / 0.5552 GB, free: 4.199 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.5186, allocations: 0 / 0.5552 GB, free: 4.199 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005974/0.5192, allocations: 0 / 0.5552 GB, free: 4.199 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2782 * Number of variables: 2782 Notification: Performance of Generate backend data structure: time 0.03069/0.5499, allocations: 9.041 MB / 0.564 GB, free: 11.07 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.855e-05/0.55, allocations: 11.89 kB / 0.5641 GB, free: 11.06 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01854/0.5686, allocations: 4.1 MB / 0.5681 GB, free: 6.941 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01294/0.5815, allocations: 5.377 MB / 0.5733 GB, free: 1.48 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004148/0.582, allocations: 434.9 kB / 0.5737 GB, free: 1.055 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002822/0.5848, allocations: 0.601 MB / 0.5743 GB, free: 464 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04651/0.6314, allocations: 20.62 MB / 0.5944 GB, free: 10.69 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000303/0.6317, allocations: 83.23 kB / 0.5945 GB, free: 10.61 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001979/0.6337, allocations: 267.7 kB / 0.5948 GB, free: 10.35 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00596/0.6397, allocations: 3.718 MB / 0.5984 GB, free: 6.621 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03983/0.6795, allocations: 18.2 MB / 0.6162 GB, free: 4.41 MB / 494.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4118/1.091, allocations: 74.29 MB / 0.6887 GB, free: 71.01 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0185/1.11, allocations: 7.462 MB / 0.696 GB, free: 67.99 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006252/1.116, allocations: 4.11 MB / 0.7 GB, free: 66.22 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02605/1.142, allocations: 18.21 MB / 0.7178 GB, free: 54.28 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.875e-05/1.142, allocations: 69.44 kB / 0.7179 GB, free: 54.21 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=335): time 6.432e-06/1.142, allocations: 0 / 0.7179 GB, free: 54.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=419): time 0.1114/1.254, allocations: 35.11 MB / 0.7522 GB, free: 23.74 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/1.254, allocations: 196.8 kB / 0.7524 GB, free: 23.51 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009256/1.263, allocations: 6.506 MB / 0.7587 GB, free: 17 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0009689/1.264, allocations: 88.91 kB / 0.7588 GB, free: 16.91 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002831/1.267, allocations: 5.372 MB / 0.7641 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001702/1.269, allocations: 1.546 MB / 0.7656 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002486/1.271, allocations: 2.135 MB / 0.7676 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.676e-05/1.271, allocations: 301.1 kB / 0.7679 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005352/1.277, allocations: 4.332 MB / 0.7722 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01155/1.288, allocations: 10.28 MB / 0.7822 GB, free: 6.004 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02068/1.309, allocations: 15.68 MB / 0.7975 GB, free: 3.402 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001698/1.309, allocations: 60 kB / 0.7976 GB, free: 3.344 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1417) (initialization): time 0.04038/1.35, allocations: 16.35 MB / 0.8135 GB, free: 2.965 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004242/1.35, allocations: 95.94 kB / 0.8136 GB, free: 2.871 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005475/1.351, allocations: 212 kB / 0.8138 GB, free: 2.664 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008765/1.359, allocations: 2.365 MB / 0.8161 GB, free: 304 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009556/1.369, allocations: 2.464 MB / 0.8185 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02311/1.392, allocations: 12.74 MB / 0.831 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01065/1.403, allocations: 0.5817 MB / 0.8316 GB, free: 348 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002875/1.406, allocations: 0.6016 MB / 0.8321 GB, free: 15.73 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 943 * Number of states: 0 () * Number of discrete variables: 49 (jointUSR.revolute.positiveBranch,Body3.sphereColor[3],Body3.sphereColor[2],Body3.sphereColor[1],Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],jointUSR.revoluteColor[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],b3.color[3],b3.color[2],b3.color[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[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 (1316): * Single equations (assignments): 1309 * 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 {(2,52,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01315/1.419, allocations: 3.781 MB / 0.8358 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002262/1.421, allocations: 0.59 MB / 0.8364 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02152/1.443, allocations: 8.334 MB / 0.8446 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001139/1.443, allocations: 63.92 kB / 0.8446 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.956e-05/1.443, allocations: 12 kB / 0.8446 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.397e-05/1.443, allocations: 15.94 kB / 0.8446 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4233/1.867, allocations: 18.86 MB / 0.8631 GB, free: 195.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.088e-05/1.867, allocations: 12.53 kB / 0.8631 GB, free: 195.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003982/1.871, allocations: 0.6242 MB / 0.8637 GB, free: 195.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008719/1.879, allocations: 1.805 MB / 0.8654 GB, free: 195.3 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001341/1.881, allocations: 78.27 kB / 0.8655 GB, free: 195.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02332/1.904, allocations: 10.83 MB / 0.8761 GB, free: 191.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.205e-05/1.904, allocations: 19.25 kB / 0.8761 GB, free: 191.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0258/1.93, allocations: 12.48 MB / 0.8883 GB, free: 187 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005251/1.935, allocations: 1.155 MB / 0.8894 GB, free: 186.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003126/1.938, allocations: 81.64 kB / 0.8895 GB, free: 186.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004915/1.943, allocations: 205.4 kB / 0.8897 GB, free: 186.6 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001362/1.945, allocations: 270.6 kB / 0.8899 GB, free: 186.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008766/1.946, allocations: 114.8 kB / 0.8901 GB, free: 186.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.01221/1.958, allocations: 4.051 MB / 0.894 GB, free: 185.2 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9.72e-07/1.958, allocations: 1.281 kB / 0.894 GB, free: 185.2 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01613/1.974, allocations: 1.956 MB / 0.8959 GB, free: 184.9 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 55 * Number of states: 2 (j2.s,j2.v) * 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 (331): * Single equations (assignments): 324 * 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 {(2,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001695/1.976, allocations: 281.4 kB / 0.8962 GB, free: 184.8 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01973/1.996, allocations: 10.17 MB / 0.9061 GB, free: 181.1 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-05/1.996, allocations: 3.688 kB / 0.9061 GB, free: 181.1 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.006181/2.002, allocations: 3.396 MB / 0.9094 GB, free: 179.8 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009183/2.011, allocations: 0.7962 MB / 0.9102 GB, free: 179.4 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03584/2.047, allocations: 17.71 MB / 0.9275 GB, free: 169.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007816/2.055, allocations: 5.6 MB / 0.933 GB, free: 164.1 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.008134/2.063, allocations: 3.319 MB / 0.9362 GB, free: 160.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001877/2.065, allocations: 423.4 kB / 0.9366 GB, free: 160.5 MB / 0.5919 GB Notification: Performance of SimCode: time 1.132e-06/2.065, allocations: 0 / 0.9366 GB, free: 160.5 MB / 0.5919 GB Notification: Performance of Templates: time 0.1185/2.183, allocations: 69.81 MB / 1.005 GB, free: 90.73 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1)