Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.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.GearConstraint3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000999/0.0009987, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008807/0.008807, allocations: 170.3 kB / 16.26 MB, free: 6.613 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.773/1.773, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.3779/0.3779, allocations: 40.01 MB / 310.7 MB, free: 9.922 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.0005502/0.0005503, allocations: 16 kB / 379.5 MB, free: 12.25 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1357, allocations: 57.96 MB / 437.4 MB, free: 2.191 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3): time 0.3132/0.449, allocations: 85.34 MB / 0.5105 GB, free: 12.99 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04788/0.497, allocations: 17.08 MB / 0.5272 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0246/0.5216, allocations: 382.8 kB / 0.5276 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00332/0.525, allocations: 0.6251 MB / 0.5282 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01188/0.5369, allocations: 2.543 MB / 0.5306 GB, free: 28 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005787/0.5427, allocations: 1.105 MB / 0.5317 GB, free: 15.53 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.02036/0.5631, allocations: 11.14 MB / 0.5426 GB, free: 11.68 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01692/0.5801, allocations: 9.351 MB / 0.5517 GB, free: 2.484 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005618/0.5858, allocations: 2.031 MB / 0.5537 GB, free: 456 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006544/0.5923, allocations: 3.395 MB / 0.557 GB, free: 13.04 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00198/0.5944, allocations: 240 kB / 0.5573 GB, free: 12.8 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004544/0.5989, allocations: 1.178 MB / 0.5584 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004994/0.6039, allocations: 2.922 MB / 0.5613 GB, free: 8.695 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007881/0.6119, allocations: 3.266 MB / 0.5645 GB, free: 5.402 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01731/0.6292, allocations: 10.86 MB / 0.5751 GB, free: 10.51 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.6293, allocations: 0 / 0.5751 GB, free: 10.51 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.6293, allocations: 0 / 0.5751 GB, free: 10.51 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005721/0.6299, allocations: 0 / 0.5751 GB, free: 10.51 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2235 * Number of variables: 2235 Notification: Performance of Generate backend data structure: time 0.02272/0.6526, allocations: 6.732 MB / 0.5816 GB, free: 3.691 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.943e-05/0.6527, allocations: 8.031 kB / 0.5816 GB, free: 3.684 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0404/0.6931, allocations: 4.243 MB / 0.5858 GB, free: 15.42 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01585/0.709, allocations: 5.138 MB / 0.5908 GB, free: 10.21 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005759/0.7096, allocations: 382.3 kB / 0.5912 GB, free: 9.836 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003181/0.7128, allocations: 0.5351 MB / 0.5917 GB, free: 9.301 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03967/0.7525, allocations: 15.88 MB / 0.6072 GB, free: 8.504 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004697/0.753, allocations: 67.42 kB / 0.6073 GB, free: 8.438 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00277/0.7558, allocations: 239.8 kB / 0.6075 GB, free: 8.203 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006016/0.7618, allocations: 2.907 MB / 0.6103 GB, free: 5.293 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03482/0.7967, allocations: 14.33 MB / 0.6243 GB, free: 6.938 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3646/1.161, allocations: 62.83 MB / 0.6857 GB, free: 101.4 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02092/1.182, allocations: 7.298 MB / 0.6928 GB, free: 98.86 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008021/1.19, allocations: 5.568 MB / 0.6983 GB, free: 96.57 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02611/1.217, allocations: 18.34 MB / 0.7162 GB, free: 88.18 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.709e-05/1.217, allocations: 74.45 kB / 0.7162 GB, free: 88.11 MB / 494.1 MB Notification: Performance of pre-optimization done (n=310): time 5.46e-06/1.217, allocations: 0 / 0.7162 GB, free: 88.11 MB / 494.1 MB Notification: Performance of matching and sorting (n=394): time 0.155/1.372, allocations: 60.26 MB / 0.7751 GB, free: 31.04 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/1.372, allocations: 325.3 kB / 0.7754 GB, free: 30.65 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007762/1.38, allocations: 5.896 MB / 0.7812 GB, free: 24.77 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001285/1.381, allocations: 89.7 kB / 0.7812 GB, free: 24.68 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002196/1.383, allocations: 4.334 MB / 0.7855 GB, free: 20.34 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001662/1.385, allocations: 1.437 MB / 0.7869 GB, free: 18.92 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001026/1.386, allocations: 0.7598 MB / 0.7876 GB, free: 18.15 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.124e-05/1.386, allocations: 301.1 kB / 0.7879 GB, free: 17.85 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00642/1.392, allocations: 5.194 MB / 0.793 GB, free: 12.65 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008697/1.401, allocations: 9.658 MB / 0.8024 GB, free: 0.832 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2669/1.668, allocations: 15.75 MB / 0.8178 GB, free: 141 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001478/1.668, allocations: 43.84 kB / 0.8178 GB, free: 141 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1151) (initialization): time 0.03846/1.707, allocations: 19.62 MB / 0.837 GB, free: 137.8 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.428e-05/1.707, allocations: 71.47 kB / 0.8371 GB, free: 137.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001585/1.707, allocations: 153.2 kB / 0.8372 GB, free: 137.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01534/1.722, allocations: 5.448 MB / 0.8425 GB, free: 137 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01035/1.733, allocations: 2.085 MB / 0.8446 GB, free: 136.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04014/1.773, allocations: 27.33 MB / 0.8713 GB, free: 124.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008568/1.782, allocations: 0.6381 MB / 0.8719 GB, free: 124.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001971/1.784, allocations: 0.4918 MB / 0.8724 GB, free: 124.1 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 690 * Number of states: 0 () * Number of discrete variables: 57 (torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[1],bodyBox3.color[3],bodyBox3.color[2],bodyBox3.color[1],bodyBox3.body.sphereColor[3],bodyBox3.body.sphereColor[2],bodyBox3.body.sphereColor[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[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],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 (1048): * Single equations (assignments): 1042 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,16,100.0%), (14,41,44.4%), (2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00635/1.79, allocations: 3.172 MB / 0.8755 GB, free: 122.7 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001295/1.791, allocations: 0.5376 MB / 0.876 GB, free: 122.7 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02633/1.818, allocations: 14 MB / 0.8897 GB, free: 115.2 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.915e-05/1.818, allocations: 40 kB / 0.8897 GB, free: 115.1 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.331e-05/1.818, allocations: 16 kB / 0.8897 GB, free: 115.1 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.75e-05/1.818, allocations: 27.86 kB / 0.8897 GB, free: 115.1 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04395/1.862, allocations: 24.26 MB / 0.9134 GB, free: 90.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-05/1.862, allocations: 0 / 0.9134 GB, free: 90.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003836/1.866, allocations: 0.6903 MB / 0.9141 GB, free: 90.22 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01407/1.88, allocations: 5.222 MB / 0.9192 GB, free: 84.99 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001/1.881, allocations: 67.98 kB / 0.9193 GB, free: 84.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03256/1.914, allocations: 26.67 MB / 0.9453 GB, free: 57.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/1.914, allocations: 0 / 0.9453 GB, free: 57.96 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03491/1.949, allocations: 20.73 MB / 0.9655 GB, free: 37.16 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004968/1.954, allocations: 1.497 MB / 0.967 GB, free: 35.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00208/1.956, allocations: 64 kB / 0.9671 GB, free: 35.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004853/1.96, allocations: 383.4 kB / 0.9674 GB, free: 35.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001178/1.962, allocations: 250.8 kB / 0.9677 GB, free: 34.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000353/1.962, allocations: 99.98 kB / 0.9678 GB, free: 34.86 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.005807/1.968, allocations: 3.779 MB / 0.9715 GB, free: 31.11 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.5e-07/1.968, allocations: 0 / 0.9715 GB, free: 31.11 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01333/1.981, allocations: 2.008 MB / 0.9734 GB, free: 29.11 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (gearConstraint.actuatedRevolute_a.phi,gearConstraint.actuatedRevolute_a.w,revolute1.phi,revolute1.w,revolute2.phi,revolute2.w,revolute3.phi,revolute3.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 (305): * Single equations (assignments): 299 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,12,100.0%), (14,41,43.9%), (2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002252/1.984, allocations: 217.4 kB / 0.9736 GB, free: 28.89 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.02633/2.01, allocations: 13.38 MB / 0.9867 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/2.01, allocations: 1.688 kB / 0.9867 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.01241/2.022, allocations: 6.443 MB / 0.993 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009102/2.032, allocations: 0.7067 MB / 0.9937 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2842/2.316, allocations: 21.54 MB / 1.015 GB, free: 147.7 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008479/2.324, allocations: 4.953 MB / 1.02 GB, free: 146.8 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.009173/2.333, allocations: 2.893 MB / 1.022 GB, free: 146.7 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002639/2.336, allocations: 397.1 kB / 1.023 GB, free: 146.7 MB / 0.5137 GB Notification: Performance of SimCode: time 2.224e-06/2.336, allocations: 2.812 kB / 1.023 GB, free: 146.7 MB / 0.5137 GB Notification: Performance of Templates: time 0.1524/2.489, allocations: 91.3 MB / 1.112 GB, free: 88.98 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.pipe 2>&1) Environment - environmentSimulation: