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.001222/0.001222, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001184/0.001184, allocations: 195.9 kB / 16.14 MB, free: 6.711 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.671/1.671, allocations: 205.1 MB / 222 MB, free: 4.805 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.4055/0.4055, allocations: 39.93 MB / 309.3 MB, free: 9.242 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.001606/0.001606, allocations: 59.91 kB / 376.9 MB, free: 13.11 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1701, allocations: 56.89 MB / 433.8 MB, free: 4.125 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.3571/0.5272, allocations: 70.22 MB / 0.4922 GB, free: 9.375 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03935/0.5666, allocations: 14.04 MB / 0.5059 GB, free: 4 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01933/0.586, allocations: 305.8 kB / 0.5062 GB, free: 15.95 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008713/0.5948, allocations: 4.233 MB / 0.5104 GB, free: 13.98 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008085/0.603, allocations: 2.13 MB / 0.5124 GB, free: 13.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003075/0.6061, allocations: 0.8459 MB / 0.5133 GB, free: 12.65 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01458/0.6207, allocations: 8.533 MB / 0.5216 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009436/0.6302, allocations: 5.184 MB / 0.5267 GB, free: 8.012 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006303/0.6365, allocations: 1.954 MB / 0.5286 GB, free: 6.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008607/0.6452, allocations: 3.125 MB / 0.5316 GB, free: 4.816 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003036/0.6483, allocations: 348 kB / 0.5319 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005484/0.6538, allocations: 1.28 MB / 0.5332 GB, free: 3.195 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004615/0.6585, allocations: 2.529 MB / 0.5357 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006393/0.6649, allocations: 2.862 MB / 0.5385 GB, free: 13.78 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01322/0.6781, allocations: 9.171 MB / 0.5474 GB, free: 4.582 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.06e-05/0.6782, allocations: 3.938 kB / 0.5474 GB, free: 4.578 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.6782, allocations: 0 / 0.5474 GB, free: 4.578 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004194/0.6787, allocations: 0 / 0.5474 GB, free: 4.578 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.02013/0.6988, allocations: 6.35 MB / 0.5536 GB, free: 14.15 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.087e-05/0.6989, allocations: 16.02 kB / 0.5536 GB, free: 14.13 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01208/0.711, allocations: 2.602 MB / 0.5562 GB, free: 11.52 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00996/0.721, allocations: 3.984 MB / 0.5601 GB, free: 7.477 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003098/0.7213, allocations: 312.5 kB / 0.5604 GB, free: 7.168 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001783/0.7231, allocations: 440 kB / 0.5608 GB, free: 6.738 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03129/0.7544, allocations: 12.25 MB / 0.5727 GB, free: 9.715 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004968/0.755, allocations: 47.59 kB / 0.5728 GB, free: 9.668 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002429/0.7575, allocations: 195.8 kB / 0.573 GB, free: 9.477 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003968/0.7614, allocations: 2.203 MB / 0.5751 GB, free: 7.273 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02583/0.7873, allocations: 10.54 MB / 0.5854 GB, free: 12.71 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3937/1.181, allocations: 47.58 MB / 0.6319 GB, free: 117.1 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01015/1.191, allocations: 4.594 MB / 0.6364 GB, free: 116.5 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003134/1.194, allocations: 2.644 MB / 0.639 GB, free: 116.4 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01482/1.209, allocations: 10.45 MB / 0.6492 GB, free: 112.7 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.631e-05/1.209, allocations: 56.84 kB / 0.6492 GB, free: 112.6 MB / 494.1 MB Notification: Performance of pre-optimization done (n=192): time 5.581e-06/1.209, allocations: 2.25 kB / 0.6492 GB, free: 112.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=218): time 0.05594/1.265, allocations: 20.98 MB / 0.6697 GB, free: 104.9 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.258e-05/1.266, allocations: 201.8 kB / 0.6699 GB, free: 104.7 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009642/1.275, allocations: 4.828 MB / 0.6746 GB, free: 103 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007601/1.276, allocations: 56.92 kB / 0.6747 GB, free: 102.9 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003153/1.279, allocations: 3.726 MB / 0.6783 GB, free: 100.1 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001733/1.281, allocations: 0.8359 MB / 0.6791 GB, free: 99.46 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002251/1.283, allocations: 1.393 MB / 0.6805 GB, free: 98.79 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.549e-05/1.283, allocations: 307.1 kB / 0.6808 GB, free: 98.49 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004053/1.287, allocations: 2.576 MB / 0.6833 GB, free: 97.63 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005465/1.293, allocations: 6.552 MB / 0.6897 GB, free: 91.49 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01011/1.303, allocations: 9.813 MB / 0.6993 GB, free: 83.82 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001365/1.303, allocations: 42.25 kB / 0.6993 GB, free: 83.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.0201/1.323, allocations: 10.26 MB / 0.7093 GB, free: 78.38 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001409/1.323, allocations: 64 kB / 0.7094 GB, free: 78.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002048/1.324, allocations: 140 kB / 0.7095 GB, free: 78.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004119/1.328, allocations: 1.619 MB / 0.7111 GB, free: 77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005477/1.333, allocations: 1.571 MB / 0.7126 GB, free: 75.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01238/1.346, allocations: 9.551 MB / 0.722 GB, free: 66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007275/1.353, allocations: 379.4 kB / 0.7223 GB, free: 65.62 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001648/1.355, allocations: 408 kB / 0.7227 GB, free: 65.23 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 (834): * Single equations (assignments): 829 * 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.005783/1.36, allocations: 2.571 MB / 0.7252 GB, free: 62.64 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00152/1.362, allocations: 426.5 kB / 0.7256 GB, free: 62.22 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008902/1.371, allocations: 4.621 MB / 0.7302 GB, free: 57.58 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.571e-05/1.371, allocations: 24.66 kB / 0.7302 GB, free: 57.56 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.264e-05/1.371, allocations: 8 kB / 0.7302 GB, free: 57.55 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-05/1.371, allocations: 19.83 kB / 0.7302 GB, free: 57.54 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02385/1.395, allocations: 10.49 MB / 0.7404 GB, free: 47.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.278e-05/1.395, allocations: 4 kB / 0.7405 GB, free: 47.01 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001685/1.397, allocations: 355.1 kB / 0.7408 GB, free: 46.67 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003712/1.4, allocations: 1.358 MB / 0.7421 GB, free: 45.3 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003241/1.401, allocations: 36.66 kB / 0.7422 GB, free: 45.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009322/1.41, allocations: 8.727 MB / 0.7507 GB, free: 36.28 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.662e-05/1.41, allocations: 0 / 0.7507 GB, free: 36.28 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01185/1.422, allocations: 7.555 MB / 0.7581 GB, free: 28.69 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004259/1.426, allocations: 0.7806 MB / 0.7588 GB, free: 27.89 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002168/1.429, allocations: 40 kB / 0.7589 GB, free: 27.85 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003344/1.432, allocations: 127.8 kB / 0.759 GB, free: 27.72 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006883/1.433, allocations: 138.6 kB / 0.7591 GB, free: 27.59 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002893/1.433, allocations: 59.17 kB / 0.7592 GB, free: 27.53 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.007069/1.44, allocations: 3.045 MB / 0.7621 GB, free: 24.49 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.7e-07/1.44, allocations: 0 / 0.7621 GB, free: 24.49 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01101/1.451, allocations: 1.271 MB / 0.7634 GB, free: 23.23 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 (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.0009671/1.452, allocations: 172 kB / 0.7635 GB, free: 23.06 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01196/1.464, allocations: 6.377 MB / 0.7698 GB, free: 16.69 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.207e-06/1.464, allocations: 0.5 kB / 0.7698 GB, free: 16.69 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00372/1.468, allocations: 2.201 MB / 0.7719 GB, free: 14.47 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006153/1.474, allocations: 0.5141 MB / 0.7724 GB, free: 13.97 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02598/1.5, allocations: 14.39 MB / 0.7865 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00839/1.509, allocations: 4.01 MB / 0.7904 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.007198/1.516, allocations: 2.078 MB / 0.7924 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001864/1.518, allocations: 287.4 kB / 0.7927 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of SimCode: time 2.255e-06/1.518, allocations: 0 / 0.7927 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of Templates: time 0.3411/1.859, allocations: 45.68 MB / 0.8373 GB, free: 172.2 MB / 0.5294 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.makefile (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)