Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.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.Parts.Rotor1D.GearConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001236/0.001236, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.68/1.68, allocations: 205.4 MB / 222.1 MB, free: 5.516 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.3917/0.3917, allocations: 39.99 MB / 310.4 MB, free: 9.73 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.0005809/0.0005809, allocations: 19.98 kB / 378.8 MB, free: 12.33 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1388, allocations: 57.95 MB / 436.8 MB, free: 2.277 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.3475/0.4864, allocations: 60.12 MB / 496.9 MB, free: 15.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04829/0.5347, allocations: 14.02 MB / 0.4989 GB, free: 6.238 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01914/0.5539, allocations: 302.2 kB / 0.4992 GB, free: 6.191 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0134/0.5674, allocations: 3.004 MB / 0.5021 GB, free: 5.207 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03596/0.6034, allocations: 8.602 MB / 0.5106 GB, free: 1.094 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005447/0.6088, allocations: 0.7964 MB / 0.5113 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.04288/0.6517, allocations: 26.82 MB / 0.5375 GB, free: 348 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01047/0.6623, allocations: 6.581 MB / 0.5439 GB, free: 9.742 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003348/0.6656, allocations: 1.402 MB / 0.5453 GB, free: 8.336 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003016/0.6687, allocations: 1.842 MB / 0.5471 GB, free: 6.488 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007558/0.6695, allocations: 192 kB / 0.5473 GB, free: 6.301 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002208/0.6717, allocations: 0.9598 MB / 0.5482 GB, free: 5.34 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002525/0.6742, allocations: 2.092 MB / 0.5503 GB, free: 3.242 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002072/0.6763, allocations: 1.096 MB / 0.5514 GB, free: 2.137 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00941/0.6857, allocations: 7.548 MB / 0.5587 GB, free: 10.57 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.6858, allocations: 0 / 0.5587 GB, free: 10.57 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.769e-06/0.6858, allocations: 0 / 0.5587 GB, free: 10.57 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003234/0.6861, allocations: 7.875 kB / 0.5587 GB, free: 10.56 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: 1846 * Number of variables: 1846 Notification: Performance of Generate backend data structure: time 0.01385/0.7, allocations: 5.555 MB / 0.5642 GB, free: 4.93 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.7, allocations: 8.031 kB / 0.5642 GB, free: 4.922 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04352/0.7436, allocations: 8.036 MB / 0.572 GB, free: 12.87 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01093/0.7545, allocations: 4.261 MB / 0.5762 GB, free: 8.551 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003108/0.7549, allocations: 312.1 kB / 0.5765 GB, free: 8.242 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001906/0.7568, allocations: 455.5 kB / 0.5769 GB, free: 7.797 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02677/0.7836, allocations: 12.24 MB / 0.5889 GB, free: 10.79 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001741/0.7838, allocations: 59.44 kB / 0.5889 GB, free: 10.73 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005524/0.7844, allocations: 195.8 kB / 0.5891 GB, free: 10.54 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003747/0.7881, allocations: 2.203 MB / 0.5912 GB, free: 8.336 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02261/0.8107, allocations: 10.42 MB / 0.6014 GB, free: 13.89 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3169/1.128, allocations: 47.18 MB / 0.6475 GB, free: 114 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0113/1.139, allocations: 4.49 MB / 0.6519 GB, free: 113.3 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01898/1.158, allocations: 10.13 MB / 0.6618 GB, free: 110.2 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.705e-05/1.158, allocations: 54.19 kB / 0.6618 GB, free: 110.2 MB / 494.1 MB Notification: Performance of pre-optimization done (n=192): time 8.136e-06/1.158, allocations: 3.688 kB / 0.6618 GB, free: 110.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=218): time 0.05104/1.209, allocations: 19.84 MB / 0.6812 GB, free: 102.4 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.916e-05/1.209, allocations: 209 kB / 0.6814 GB, free: 102.2 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0106/1.22, allocations: 5.059 MB / 0.6863 GB, free: 100.4 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008088/1.221, allocations: 60.98 kB / 0.6864 GB, free: 100.3 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003265/1.224, allocations: 3.759 MB / 0.6901 GB, free: 97.45 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00129/1.226, allocations: 0.8344 MB / 0.6909 GB, free: 96.84 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003056/1.226, allocations: 126 kB / 0.691 GB, free: 96.74 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003862/1.226, allocations: 0.5845 MB / 0.6916 GB, free: 96.31 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004379/1.231, allocations: 2.341 MB / 0.6939 GB, free: 95.54 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005836/1.236, allocations: 6.27 MB / 0.7 GB, free: 89.48 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005139/1.242, allocations: 3.748 MB / 0.7036 GB, free: 88.07 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.404e-05/1.242, allocations: 41.28 kB / 0.7037 GB, free: 88.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=856) (initialization): time 0.0152/1.257, allocations: 9.203 MB / 0.7127 GB, free: 84.54 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001131/1.257, allocations: 70.81 kB / 0.7127 GB, free: 84.54 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002057/1.257, allocations: 136.3 kB / 0.7129 GB, free: 84.54 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002854/1.26, allocations: 1.093 MB / 0.7139 GB, free: 84.32 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004913/1.265, allocations: 1.518 MB / 0.7154 GB, free: 84.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008717/1.274, allocations: 8.393 MB / 0.7236 GB, free: 75.96 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006028/1.28, allocations: 363.4 kB / 0.724 GB, free: 75.61 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00129/1.281, allocations: 400 kB / 0.7243 GB, free: 75.22 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 634 * Number of states: 0 () * Number of discrete variables: 45 (fixed.color[3],fixed.color[2],fixed.color[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],cyl2.color[3],cyl2.color[2],cyl2.color[1],cyl2.body.sphereColor[3],cyl2.body.sphereColor[2],cyl2.body.sphereColor[1],cyl1.color[3],cyl1.color[2],cyl1.color[1],cyl1.body.sphereColor[3],cyl1.body.sphereColor[2],cyl1.body.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],gearConstraint.fixedTranslation2.color[3],gearConstraint.fixedTranslation2.color[2],gearConstraint.fixedTranslation2.color[1],gearConstraint.fixedTranslation1.color[3],gearConstraint.fixedTranslation1.color[2],gearConstraint.fixedTranslation1.color[1],gearConstraint.actuatedRevolute_b.cylinderColor[3],gearConstraint.actuatedRevolute_b.cylinderColor[2],gearConstraint.actuatedRevolute_b.cylinderColor[1],gearConstraint.actuatedRevolute_a.cylinderColor[3],gearConstraint.actuatedRevolute_a.cylinderColor[2],gearConstraint.actuatedRevolute_a.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (794): * Single equations (assignments): 789 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 33,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005478/1.287, allocations: 2.562 MB / 0.7268 GB, free: 72.64 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001138/1.288, allocations: 430.4 kB / 0.7273 GB, free: 72.22 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00628/1.294, allocations: 3.892 MB / 0.7311 GB, free: 68.3 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.716e-05/1.294, allocations: 23.12 kB / 0.7311 GB, free: 68.29 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.867e-05/1.294, allocations: 8 kB / 0.7311 GB, free: 68.28 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-05/1.294, allocations: 11.95 kB / 0.7311 GB, free: 68.27 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01899/1.313, allocations: 9.799 MB / 0.7407 GB, free: 58.45 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.751e-05/1.313, allocations: 4 kB / 0.7407 GB, free: 58.44 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001652/1.315, allocations: 339.5 kB / 0.741 GB, free: 58.11 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002468/1.318, allocations: 0.8507 MB / 0.7418 GB, free: 57.25 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001926/1.318, allocations: 39.98 kB / 0.7419 GB, free: 57.21 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007138/1.325, allocations: 7.538 MB / 0.7492 GB, free: 49.41 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.325, allocations: 3.953 kB / 0.7492 GB, free: 49.41 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008656/1.334, allocations: 6.768 MB / 0.7558 GB, free: 42.59 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002498/1.336, allocations: 0.7688 MB / 0.7566 GB, free: 41.79 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000708/1.337, allocations: 39.16 kB / 0.7566 GB, free: 41.76 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001611/1.339, allocations: 127.8 kB / 0.7567 GB, free: 41.63 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003253/1.339, allocations: 129.8 kB / 0.7569 GB, free: 41.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001279/1.339, allocations: 67.92 kB / 0.7569 GB, free: 41.44 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003995/1.343, allocations: 3.231 MB / 0.7601 GB, free: 38.21 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.9e-07/1.343, allocations: 0 / 0.7601 GB, free: 38.21 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005826/1.349, allocations: 1.22 MB / 0.7613 GB, free: 37 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (gearConstraint.actuatedRevolute_b.phi,gearConstraint.actuatedRevolute_b.w,inertia1.phi,inertia1.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 (169): * Single equations (assignments): 164 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 27,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005136/1.349, allocations: 198.7 kB / 0.7615 GB, free: 36.81 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007982/1.357, allocations: 5.917 MB / 0.7673 GB, free: 30.89 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/1.357, allocations: 0 / 0.7673 GB, free: 30.89 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002602/1.36, allocations: 2.074 MB / 0.7693 GB, free: 28.8 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002859/1.363, allocations: 0.5234 MB / 0.7698 GB, free: 28.29 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02153/1.384, allocations: 13.52 MB / 0.783 GB, free: 14.74 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00459/1.389, allocations: 4.112 MB / 0.787 GB, free: 10.59 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004688/1.394, allocations: 2.102 MB / 0.7891 GB, free: 8.488 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007257/1.395, allocations: 287.4 kB / 0.7893 GB, free: 8.207 MB / 494.1 MB Notification: Performance of SimCode: time 7.52e-07/1.395, allocations: 0 / 0.7893 GB, free: 8.207 MB / 494.1 MB Notification: Performance of Templates: time 0.2767/1.671, allocations: 43.15 MB / 0.8315 GB, free: 160.6 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe 2>&1) Environment - environmentSimulation: