Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.Parts.Rotor1D.GearConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.007046/0.007046, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.0013/0.0013, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.656/1.656, allocations: 205.1 MB / 222.5 MB, free: 4.363 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.3571/0.3571, allocations: 38 MB / 307.9 MB, free: 10.39 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.001826/0.001826, allocations: 67.91 kB / 433 MB, free: 5.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3881/0.3899, allocations: 56.47 MB / 489.5 MB, free: 20.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.01583/0.4058, allocations: 14.27 MB / 0.4919 GB, free: 9.875 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01377/0.4197, allocations: 4.651 MB / 0.4965 GB, free: 6.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005183/0.4249, allocations: 91.5 kB / 0.4966 GB, free: 6.734 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009689/0.4347, allocations: 4.226 MB / 0.5007 GB, free: 4.758 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009132/0.4438, allocations: 2.266 MB / 0.5029 GB, free: 3.133 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003266/0.4471, allocations: 0.93 MB / 0.5038 GB, free: 2.488 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0111/0.4582, allocations: 5.874 MB / 0.5095 GB, free: 15.31 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01047/0.4687, allocations: 5.286 MB / 0.5147 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006166/0.475, allocations: 2.201 MB / 0.5169 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006387/0.4814, allocations: 2.925 MB / 0.5197 GB, free: 8.691 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002277/0.4837, allocations: 495.9 kB / 0.5202 GB, free: 8.207 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005327/0.4891, allocations: 1.362 MB / 0.5215 GB, free: 6.844 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00527/0.4944, allocations: 2.63 MB / 0.5241 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007278/0.5017, allocations: 2.995 MB / 0.527 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01795/0.5197, allocations: 9.555 MB / 0.5363 GB, free: 7.609 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.094e-05/0.5197, allocations: 0 / 0.5363 GB, free: 7.609 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.5198, allocations: 0 / 0.5363 GB, free: 7.609 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005415/0.5203, allocations: 0 / 0.5363 GB, free: 7.609 MB / 414.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.0219/0.5422, allocations: 6.342 MB / 0.5425 GB, free: 1.188 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.89e-05/0.5423, allocations: 11.89 kB / 0.5425 GB, free: 1.176 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01382/0.5561, allocations: 2.595 MB / 0.5451 GB, free: 14.57 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01176/0.5679, allocations: 4.047 MB / 0.549 GB, free: 10.46 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004314/0.5684, allocations: 312.5 kB / 0.5493 GB, free: 10.16 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002499/0.5709, allocations: 419.9 kB / 0.5497 GB, free: 9.746 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0307/0.6016, allocations: 11.99 MB / 0.5614 GB, free: 12.98 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003648/0.6021, allocations: 67.42 kB / 0.5615 GB, free: 12.92 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002155/0.6042, allocations: 195.8 kB / 0.5617 GB, free: 12.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005011/0.6093, allocations: 2.199 MB / 0.5638 GB, free: 10.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02509/0.6344, allocations: 10.13 MB / 0.5737 GB, free: 384 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07329/0.7077, allocations: 46.88 MB / 0.6195 GB, free: 104 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0114/0.7191, allocations: 4.356 MB / 0.6238 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003747/0.7229, allocations: 2.518 MB / 0.6262 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3648/1.088, allocations: 9.972 MB / 0.636 GB, free: 124.9 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.466e-05/1.088, allocations: 56.02 kB / 0.636 GB, free: 124.9 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=191): time 7.495e-06/1.088, allocations: 0 / 0.636 GB, free: 124.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=218): time 0.06874/1.157, allocations: 21.41 MB / 0.6569 GB, free: 118.2 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/1.157, allocations: 210.2 kB / 0.6571 GB, free: 118 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008759/1.166, allocations: 4.823 MB / 0.6618 GB, free: 116.2 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006558/1.166, allocations: 61.09 kB / 0.6619 GB, free: 116.2 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00289/1.169, allocations: 3.73 MB / 0.6655 GB, free: 113.3 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001405/1.171, allocations: 0.8312 MB / 0.6663 GB, free: 112.7 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002247/1.173, allocations: 1.399 MB / 0.6677 GB, free: 112.1 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.411e-05/1.173, allocations: 310.1 kB / 0.668 GB, free: 111.8 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004041/1.177, allocations: 2.563 MB / 0.6705 GB, free: 110.9 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006236/1.183, allocations: 6.556 MB / 0.6769 GB, free: 104.6 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01115/1.194, allocations: 9.789 MB / 0.6865 GB, free: 96.36 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001886/1.195, allocations: 42.61 kB / 0.6865 GB, free: 96.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=897) (initialization): time 0.02221/1.217, allocations: 10.23 MB / 0.6965 GB, free: 88.42 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002612/1.217, allocations: 64 kB / 0.6966 GB, free: 88.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002814/1.218, allocations: 141.1 kB / 0.6967 GB, free: 88.22 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004624/1.222, allocations: 1.622 MB / 0.6983 GB, free: 86.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005373/1.228, allocations: 1.571 MB / 0.6998 GB, free: 85.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01174/1.239, allocations: 10.26 MB / 0.7098 GB, free: 74.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007534/1.247, allocations: 383.5 kB / 0.7102 GB, free: 74.11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001742/1.249, allocations: 400 kB / 0.7106 GB, free: 73.72 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 635 * 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 (835): * Single equations (assignments): 830 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,31,77.8%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006241/1.255, allocations: 2.579 MB / 0.7131 GB, free: 71.13 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001751/1.257, allocations: 426.5 kB / 0.7135 GB, free: 70.71 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00978/1.267, allocations: 4.598 MB / 0.718 GB, free: 66.09 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-05/1.267, allocations: 27.94 kB / 0.718 GB, free: 66.06 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.842e-05/1.267, allocations: 8 kB / 0.718 GB, free: 66.05 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.334e-05/1.267, allocations: 7.969 kB / 0.718 GB, free: 66.05 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02565/1.292, allocations: 10.4 MB / 0.7282 GB, free: 55.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.69e-05/1.292, allocations: 0 / 0.7282 GB, free: 55.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001876/1.294, allocations: 347.5 kB / 0.7285 GB, free: 55.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003951/1.298, allocations: 1.348 MB / 0.7298 GB, free: 53.93 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004155/1.299, allocations: 40 kB / 0.7299 GB, free: 53.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01053/1.309, allocations: 9.392 MB / 0.739 GB, free: 44.22 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/1.309, allocations: 4 kB / 0.739 GB, free: 44.22 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0123/1.322, allocations: 7.514 MB / 0.7464 GB, free: 36.67 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002977/1.325, allocations: 0.7767 MB / 0.7471 GB, free: 35.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00103/1.326, allocations: 39.92 kB / 0.7472 GB, free: 35.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001944/1.328, allocations: 131.8 kB / 0.7473 GB, free: 35.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004324/1.328, allocations: 133.8 kB / 0.7474 GB, free: 35.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001408/1.328, allocations: 55.98 kB / 0.7475 GB, free: 35.52 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004011/1.332, allocations: 3.045 MB / 0.7505 GB, free: 32.48 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.3e-07/1.332, allocations: 480 / 0.7505 GB, free: 32.48 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006762/1.339, allocations: 1.274 MB / 0.7517 GB, free: 31.21 MB / 0.4981 GB 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,27,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004989/1.34, allocations: 165.1 kB / 0.7519 GB, free: 31.05 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008958/1.349, allocations: 6.364 MB / 0.7581 GB, free: 24.68 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/1.349, allocations: 4.062 kB / 0.7581 GB, free: 24.68 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002939/1.352, allocations: 2.177 MB / 0.7602 GB, free: 22.49 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003684/1.355, allocations: 0.5539 MB / 0.7608 GB, free: 21.95 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0193/1.375, allocations: 11.72 MB / 0.7722 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004271/1.379, allocations: 4.003 MB / 0.7761 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004418/1.383, allocations: 2.092 MB / 0.7782 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008148/1.384, allocations: 283.4 kB / 0.7784 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of SimCode: time 1.142e-06/1.384, allocations: 4 kB / 0.7784 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of Templates: time 0.08642/1.471, allocations: 44.02 MB / 0.8214 GB, free: 7.84 MB / 0.545 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe 2>&1)